Skip to content

cs-10: ppc64le builds fail #1470

@joe-lawrence

Description

@joe-lawrence

The latest CentOS-Stream 10 kernels fail kpatch-build builds:

$ ./kpatch-build/kpatch-build -d examples/cmdline-string.patch

[ ... snip ... ]

Extracting new and modified ELF sections
arch/powerpc/tools/vmlinux.arch.o'
create-diff-object: ERROR: fs/proc/cmdline.o: kpatch_create_ftrace_callsite_sections: 3860: cmdline_proc_show: unexpected instruction in patch sect

fs/proc/cmdline.o: changed function: cmdline_proc_show
doing "deep find" for parent object
ERROR: invalid ancestor arch/powerpc/tools/vmlinux.arch.o for arch/powerpc/tools/vmlinux.arch.o. Check /root/.kpatch/build.log for more details.

$ tree ~/.kpatch/tmp/{orig,patched}
/root/.kpatch/tmp/orig
├── arch
│   └── powerpc
│       └── tools
│           └── vmlinux.arch.o
└── fs
    └── proc
        └── cmdline.o
/root/.kpatch/tmp/patched
├── arch
│   └── powerpc
│       └── tools
│           └── vmlinux.arch.o
└── fs
    └── proc
        └── cmdline.o

12 directories, 4 files

config-6.12.0-113.el10.ppc64le.txt

repro-unexpected-instruction.tar.gz

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions