On Tue, Dec 17, 2024 at 1:14 PM Richard Purdie <[email protected]> wrote: > > On Tue, 2024-12-17 at 09:20 -0800, Khem Raj via lists.openembedded.org wrote: > > On Tue, Dec 17, 2024 at 2:47 AM Bin Lan via lists.openembedded.org > > <[email protected]> wrote: > > > > > > There is the following warning when building linux-yocto with > > > default configuration on x86-64 with gcc-14.2: > > > AR built-in.a > > > AR vmlinux.a > > > LD vmlinux.o > > > vmlinux.o: warning: objtool: .export_symbol+0x332a0: data relocation to > > > !ENDBR: stpcpy+0x0 > > > > > > This change set removes the warning. > > > > > > PR target/116174 [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116174] > > > > > > Signed-off-by: Bin Lan <[email protected]> > > > --- > > > meta/recipes-devtools/gcc/gcc-14.2.inc | 1 + > > > ...ch-to-fix-data-relocation-to-ENDBR-s.patch | 447 ++++++++++++++++++ > > > 2 files changed, 448 insertions(+) > > > create mode 100644 > > > meta/recipes-devtools/gcc/gcc/0027-gcc-backport-patch-to-fix-data-relocation-to-ENDBR-s.patch > > > > > > diff --git a/meta/recipes-devtools/gcc/gcc-14.2.inc > > > b/meta/recipes-devtools/gcc/gcc-14.2.inc > > > index 4f505bef68..a25bc019e5 100644 > > > --- a/meta/recipes-devtools/gcc/gcc-14.2.inc > > > +++ b/meta/recipes-devtools/gcc/gcc-14.2.inc > > > @@ -69,6 +69,7 @@ SRC_URI = "${BASEURI} \ > > > file://0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch > > > \ > > > file://0025-gcc-testsuite-tweaks-for-mips-OE.patch \ > > > file://0026-gcc-Fix-c-tweak-for-Wrange-loop-construct.patch \ > > > + > > > file://0027-gcc-backport-patch-to-fix-data-relocation-to-ENDBR-s.patch \ > > > > tiny nit. > > is this tab vs spaces ? can you fix this. > > Looks to be in the original file rather than an addition by this patch :/.
sadly yes. > > Cheers, > > Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#208857): https://lists.openembedded.org/g/openembedded-core/message/208857 Mute This Topic: https://lists.openembedded.org/mt/110160747/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
