[Bug ld/30698] ld test 'Run pr23169b' fails
https://sourceware.org/bugzilla/show_bug.cgi?id=30698 --- Comment #9 from Sourceware Commits --- The binutils-2_41-branch branch has been updated by Sam James : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=34d8c9d5b4e4fc62bea212b6bd046f26a177df4c commit 34d8c9d5b4e4fc62bea212b6bd046f26a177df4c Author: H.J. Lu Date: Mon Aug 7 10:23:16 2023 -0700 ld: Build libpr23169a.so with -z lazy pr23169b test only works with lazy binding. To work with linker which disables lazy binding by default, build pr23169b binaries with -z lazy. PR ld/30698 * ld-ifunc/ifunc.exp: Build pr23169b binaries with -z lazy. (cherry picked from commit 51dd9e7c4cab13748f31f6575aed0672f03d6710) -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30698] ld test 'Run pr23169b' fails
https://sourceware.org/bugzilla/show_bug.cgi?id=30698 Sam James changed: What|Removed |Added Target Milestone|--- |2.42 Resolution|--- |FIXED Status|WAITING |RESOLVED --- Comment #8 from Sam James --- Thank you! -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30698] ld test 'Run pr23169b' fails
https://sourceware.org/bugzilla/show_bug.cgi?id=30698 --- Comment #7 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=51dd9e7c4cab13748f31f6575aed0672f03d6710 commit 51dd9e7c4cab13748f31f6575aed0672f03d6710 Author: H.J. Lu Date: Mon Aug 7 10:23:16 2023 -0700 ld: Build libpr23169a.so with -z lazy pr23169b test only works with lazy binding. To work with linker which disables lazy binding by default, build pr23169b binaries with -z lazy. PR ld/30698 * ld-ifunc/ifunc.exp: Build pr23169b binaries with -z lazy. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30698] ld test 'Run pr23169b' fails
https://sourceware.org/bugzilla/show_bug.cgi?id=30698 --- Comment #6 from Sam James --- (In reply to H.J. Lu from comment #5) > Created attachment 15039 [details] > A patch > > Try this one. That works, thank you! I've also filed PR30722 for the remaining test failures I hit. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30698] ld test 'Run pr23169b' fails
https://sourceware.org/bugzilla/show_bug.cgi?id=30698 H.J. Lu changed: What|Removed |Added Attachment #15036|0 |1 is obsolete|| --- Comment #5 from H.J. Lu --- Created attachment 15039 --> https://sourceware.org/bugzilla/attachment.cgi?id=15039&action=edit A patch Try this one. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30698] ld test 'Run pr23169b' fails
https://sourceware.org/bugzilla/show_bug.cgi?id=30698 --- Comment #4 from Sam James --- Created attachment 15037 --> https://sourceware.org/bugzilla/attachment.cgi?id=15037&action=edit ld.log.xz (with patch) Huh. Surprisingly, no? spawn [open ...] Running: tmpdir/pr23169b > tmpdir/pr23169b.out tmpdir/pr23169b: IFUNC symbol 'func' referenced in 'tmpdir/libpr23169a.so' is defined in the executable and creates an unsatisfiable circular dependency. FAIL: Run pr23169b x86_64-pc-linux-gnu-gcc -B/var/tmp/portage/sys-devel/binutils-2.41/work/build/ld/tmpdir/ld/ -I/var/tmp/portage/sys-devel/binutils-2.41/work/binutils-2.41/ld/testsuite/ld-ifunc -g -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type -ggdb3 -c -fno-lto -fPIE -O2 -g -c /var/tmp/portage/sys-devel/binutils-2.41/work/binutils-2.41/ld/testsuite/ld-ifunc/pr23169b.c -o tmpdir/pr23169b.o Executing on host: sh -c {x86_64-pc-linux-gnu-gcc -B/var/tmp/portage/sys-devel/binutils-2.41/work/build/ld/tmpdir/ld/ -I/var/tmp/portage/sys-devel/binutils-2.41/work/binutils-2.41/ld/testsuite/ld-ifunc -g -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type -ggdb3 -c -fno-lto -fPIE -O2 -g -c /var/tmp/portage/sys-devel/binutils-2.41/work/binutils-2.41/ld/testsuite/ld-ifunc/pr23169b.c -o tmpdir/pr23169b.o 2>&1} /dev/null ld.tmp (timeout = 300) Attached the full ld.log. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30698] ld test 'Run pr23169b' fails
https://sourceware.org/bugzilla/show_bug.cgi?id=30698 --- Comment #3 from H.J. Lu --- Created attachment 15036 --> https://sourceware.org/bugzilla/attachment.cgi?id=15036&action=edit A patch Try this. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30698] ld test 'Run pr23169b' fails
https://sourceware.org/bugzilla/show_bug.cgi?id=30698 --- Comment #2 from Sam James --- Ah, yes, we're using -z now by default. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30698] ld test 'Run pr23169b' fails
https://sourceware.org/bugzilla/show_bug.cgi?id=30698 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING --- Comment #1 from H.J. Lu --- Is lazy binding disabled by default? -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30698] ld test 'Run pr23169b' fails
https://sourceware.org/bugzilla/show_bug.cgi?id=30698 Sam James changed: What|Removed |Added CC||hjl.tools at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30698] ld test 'Run pr23169b' fails
https://sourceware.org/bugzilla/show_bug.cgi?id=30698 Sam James changed: What|Removed |Added See Also||https://sourceware.org/bugz ||illa/show_bug.cgi?id=23169 CC||toolchain at gentoo dot org -- You are receiving this mail because: You are on the CC list for the bug.