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


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#114101): 
https://lists.openembedded.org/g/openembedded-devel/message/114101
Mute This Topic: https://lists.openembedded.org/mt/109817494/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to