Bug #59342
qa/workunits/kernel_untar_build.sh failed when compiling the Linux source
0%
Description
It failed when compiling the linux kernel on Ubuntu 22.04:
2023-04-05T19:13:03.514 INFO:tasks.workunit.client.1.smithi112.stdout: AS arch/x86/entry/vdso/vdso32/note.o 2023-04-05T19:13:03.564 INFO:tasks.workunit.client.1.smithi112.stdout: AS arch/x86/entry/vdso/vdso32/system_call.o 2023-04-05T19:13:03.684 INFO:tasks.workunit.client.1.smithi112.stdout: AS arch/x86/entry/thunk_64.o 2023-04-05T19:13:03.709 INFO:tasks.workunit.client.1.smithi112.stdout: AS arch/x86/entry/vdso/vdso32/sigreturn.o 2023-04-05T19:13:03.827 INFO:tasks.workunit.client.1.smithi112.stdout: AS certs/system_certificates.o 2023-04-05T19:13:03.850 INFO:tasks.workunit.client.1.smithi112.stdout: AR kernel/bpf/built-in.a 2023-04-05T19:13:03.864 INFO:tasks.workunit.client.1.smithi112.stderr:arch/x86/entry/thunk_64.o: warning: objtool: missing symbol table 2023-04-05T19:13:03.893 INFO:tasks.workunit.client.1.smithi112.stdout: VDSO arch/x86/entry/vdso/vdso64.so.dbg 2023-04-05T19:13:03.897 INFO:tasks.workunit.client.1.smithi112.stderr:make[2]: *** [scripts/Makefile.build:357: arch/x86/entry/thunk_64.o] Error 1 2023-04-05T19:13:03.897 INFO:tasks.workunit.client.1.smithi112.stderr:make[2]: *** Deleting file 'arch/x86/entry/thunk_64.o' 2023-04-05T19:13:03.901 INFO:tasks.workunit.client.1.smithi112.stderr:make[2]: *** Waiting for unfinished jobs.... 2023-04-05T19:13:03.930 INFO:tasks.workunit.client.1.smithi112.stdout: CC kernel/cgroup/namespace.o 2023-04-05T19:13:03.934 INFO:tasks.workunit.client.1.smithi112.stdout: AR certs/built-in.a 2023-04-05T19:13:03.980 INFO:tasks.workunit.client.1.smithi112.stdout: CC kernel/events/core.o 2023-04-05T19:13:03.983 INFO:tasks.workunit.client.1.smithi112.stdout: CC kernel/dma/mapping.o
This is a known bug in binutils package: https://lkml.org/lkml/2021/1/28/339
History
#2 Updated by Venky Shankar 12 months ago
The lkml link says:
Sure, but I'll hold that request for a while. I updated to binutils-2.36 on Monday and I'm pretty sure that is a feature
of this build fail. I've reverted binutils to 2.35.1, and the build succeeds. Updated to 2.36 again and, surprise,
surprise, the kernel build fails again.
Possible to switch to the version of binutils that works for the kernel build?
#3 Updated by Xiubo Li 12 months ago
Venky Shankar wrote:
The lkml link says:
Sure, but I'll hold that request for a while. I updated to binutils-2.36 on Monday and I'm pretty sure that is a feature
of this build fail. I've reverted binutils to 2.35.1, and the build succeeds. Updated to 2.36 again and, surprise,
surprise, the kernel build fails again.Possible to switch to the version of binutils that works for the kernel build?
Not sure this will work. I have hit a similar issue on Fedora last month, which I need to install a lower version of one package, but this package will be dependent by some other packages and this will prevent me to continue.
I need to install one Ubuntu OS to try this.
#5 Updated by Kotresh Hiremath Ravishankar 10 months ago
- Status changed from New to Duplicate
This is the duplicate of https://tracker.ceph.com/issues/57655 Hence closing this.