new objtool warnings with gcc-14.2
Hi,
When building linux-yocto-6.6.y with defconfig on x86-64 with gcc-14.2 , I got the following error:
AR built-in.a
AR vmlinux.a
LD vmlinux.o
vmlinux.o: warning: objtool: .export_symbol+0x332a0: data relocation to !ENDBR: stpcpy+0x0 OBJCOPY modules.builtin.modinfo
GEN modules.builtin
MODPOST vmlinux.symvers
This is caused by gcc. Refer to https://lore.kernel.org/lkml/[email protected]/T/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116174#c6
The issue is fixed in GCC14.3 and GCC15.
Can we upgrade yocto gcc to 14.3? Thank you.
B.R.
Bin Lan
Quoted 16 lines · Bin Lan
Hi,
When building linux-yocto-6.6.y with defconfig on x86-64 with gcc-14.2 , I got the following error:
AR built-in.a AR vmlinux.a LD vmlinux.o vmlinux.o: warning: objtool: .export_symbol+0x332a0: datarelocation to !ENDBR:
stpcpy+0x0
OBJCOPY modules.builtin.modinfo
GEN modules.builtin
MODPOST vmlinux.symversThis is caused by gcc. Refer to
Quoted 8 lines
https://lore.kernel.org/lkml/[email protected]/T/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116174#c6
The issue is fixed in GCC14.3 and GCC15.
Can we upgrade yocto gcc to 14.3? Thank you.
Thanks for report. GCC 14.3 is not yet released however we can certainly cherry pick the patch into our patches for 14.2 until we upgrade to 14.3
Quoted 6 lines
B.R.
Bin Lan