[Bug gprofng/29116] gprofng fails to build on i686-linux-gnu, aarch64-linux-gnu
https://sourceware.org/bugzilla/show_bug.cgi?id=29116 --- Comment #11 from Vladimir Mezentsev --- The build was configured with --target=i686-linux-gnu. Does this means that all binaries will be the 32-bit ? I see that gprofng/libcollector/synctrace.c was built on x86_64 without -m32 option: % file .libs/synctrace.o .libs/synctrace.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), with debug_info, not stripped and synctrace.o is linked against the target (32-bit) library. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29086] -Wl,--wrap=foo with LTO leads to undefined symbol
https://sourceware.org/bugzilla/show_bug.cgi?id=29086 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=da422fa49d508e33b8f1b2bd9b8f719b831b199b commit da422fa49d508e33b8f1b2bd9b8f719b831b199b Author: H.J. Lu Date: Mon Apr 25 10:51:39 2022 -0700 LTO: Handle __real_SYM reference in IR When an IR symbol SYM is referenced in IR via __real_SYM, its resolution should be LDPR_PREVAILING_DEF, not PREVAILING_DEF_IRONLY, since LTO doesn't know that __real_SYM should be resolved by SYM. bfd/ PR ld/29086 * linker.c (bfd_wrapped_link_hash_lookup): Mark SYM is referenced via __real_SYM. include/ PR ld/29086 * bfdlink.h (bfd_link_hash_entry): Add ref_real. ld/ PR ld/29086 * plugin.c (get_symbols): Resolve SYM definition to LDPR_PREVAILING_DEF for __real_SYM reference. * testsuite/ld-plugin/lto.exp: Run PR ld/29086 test. * testsuite/ld-plugin/pr29086.c: New file. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29086] -Wl,--wrap=foo with LTO leads to undefined symbol
https://sourceware.org/bugzilla/show_bug.cgi?id=29086 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.39 --- Comment #5 from H.J. Lu --- Fixed for 2.39. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29086] -Wl,--wrap=foo with LTO leads to undefined symbol
https://sourceware.org/bugzilla/show_bug.cgi?id=29086 --- Comment #6 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=18e60f7c8a3a1c250c7eda31c0b9e84fc452829e commit 18e60f7c8a3a1c250c7eda31c0b9e84fc452829e Author: H.J. Lu Date: Wed May 4 17:00:15 2022 -0700 bfd: Check NULL pointer before setting ref_real PR ld/29086 * linker.c (bfd_wrapped_link_hash_lookup): Check NULL pointer before setting ref_real. -- You are receiving this mail because: You are on the CC list for the bug.