[Bug binutils/30840] libiberty build produces errors with CC=clang, unsupported option '-print-multi-os-directory'
https://sourceware.org/bugzilla/show_bug.cgi?id=30840 Andreas K. Huettel changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill ||a/show_bug.cgi?id=111406 -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/30840] libiberty build produces errors with CC=clang, unsupported option '-print-multi-os-directory'
https://sourceware.org/bugzilla/show_bug.cgi?id=30840 Andreas K. Huettel changed: What|Removed |Added CC||toolchain at gentoo dot org -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/30840] libiberty build produces errors with CC=clang, unsupported option '-print-multi-os-directory'
https://sourceware.org/bugzilla/show_bug.cgi?id=30840 Andreas K. Huettel changed: What|Removed |Added See Also||https://bugs.gentoo.org/sho ||w_bug.cgi?id=913750 -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/30840] New: libiberty build produces errors with CC=clang, unsupported option '-print-multi-os-directory'
https://sourceware.org/bugzilla/show_bug.cgi?id=30840 Bug ID: 30840 Summary: libiberty build produces errors with CC=clang, unsupported option '-print-multi-os-directory' Product: binutils Version: 2.39 Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: dilfridge at gentoo dot org Target Milestone: --- This is a clone of https://bugs.gentoo.org/913750 With CC=clang, the build of libiberty produces errors clang-16: error: unsupported option '-print-multi-os-directory' clang-16: error: no input files However, the build continues apparently fine... This stems from libiberty/Makefile.am: 385 # This is tricky. Even though CC in the Makefile contains 386 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the 387 # default multilib, so we have to take CFLAGS into account as well, 388 # since it will be passed the multilib flags. 389 MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory` -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/30285] objdump heap-buffer-overflow in _bfd_elf_print_private_bfd_data() at /binutils-gdb/bfd/elf.c:1844 (SIGSEGV)
https://sourceware.org/bugzilla/show_bug.cgi?id=30285 Andreas K. Huettel changed: What|Removed |Added CC||dilfridge at gentoo dot org --- Comment #5 from Andreas K. Huettel --- Fixed in 2.41 -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30358] bfd very slow (> 4 minutes) to link busybox with -Wl,--sort-section,alignment (regression in binutils-2.40) since af31506c31a59a6edbb13498d6075fa704b801cd
https://sourceware.org/bugzilla/show_bug.cgi?id=30358 --- Comment #18 from Andreas K. Huettel --- https://gitweb.gentoo.org/fork/binutils-gdb.git/log/?h=gentoo/binutils-2.40 -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/30358] bfd very slow (> 4 minutes) to link busybox with -Wl,--sort-section,alignment (regression in binutils-2.40) since af31506c31a59a6edbb13498d6075fa704b801cd
https://sourceware.org/bugzilla/show_bug.cgi?id=30358 Andreas K. Huettel changed: What|Removed |Added CC||dilfridge at gentoo dot org --- Comment #17 from Andreas K. Huettel --- (In reply to Michael Matz from comment #16) > Yes, the hacky patch is fine for you to use, it won't introduce further > problems > (knock on wood! :) ). Michael: I just added after some tests that patch to Gentoo testing (i.e. Gentoo binutils-2.40-r5). It'll get a lot of usage now. If nothing pops up over the next 2-3 weeks, I could bring the upstream 2.40 backports branch to the same level, if that's OK with you. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/29042] [2.38 regression] opcodes libtool regression (relinks libopcodes during install, picks up wrong libiberty from system)
https://sourceware.org/bugzilla/show_bug.cgi?id=29042 Andreas K. Huettel changed: What|Removed |Added CC||dilfridge at gentoo dot org --- Comment #6 from Andreas K. Huettel --- Created attachment 14709 --> https://sourceware.org/bugzilla/attachment.cgi?id=14709=edit experimental patch Please test this experimental patch. It tries to apply a similar hack as was previously done to libctf to libopcodes and libgprofng. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29843] binutils-2.40 ld test failures "ld-aarch64/tls-relax-gdesc-le-now", "BTI PLT with only GNU PROP"
https://sourceware.org/bugzilla/show_bug.cgi?id=29843 --- Comment #11 from Andreas K. Huettel --- Created attachment 14553 --> https://sourceware.org/bugzilla/attachment.cgi?id=14553=edit git patch relaxing the regexps Here's a git patch that makes the two tests pass here. It should also work elsewhere (but of course double-checking is better). -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29843] binutils-2.40 ld test failures "ld-aarch64/tls-relax-gdesc-le-now", "BTI PLT with only GNU PROP"
https://sourceware.org/bugzilla/show_bug.cgi?id=29843 --- Comment #10 from Andreas K. Huettel --- > > My main suspicion lies on our gcc hardening patchset, I'm setting up a > chroot with a less-hardened gcc right now. > OK, so it's *not* the gcc hardening patchset. Also, same fails with gcc-12. > > Either way, it is obvious that the tests need to relax their regexps > slightly, so would you like to propose a patch to do this ? If not, then I > will make one myself. > On it. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29843] binutils-2.40 ld test failures "ld-aarch64/tls-relax-gdesc-le-now", "BTI PLT with only GNU PROP"
https://sourceware.org/bugzilla/show_bug.cgi?id=29843 --- Comment #8 from Andreas K. Huettel --- > > We apply a small patchset but I dont immediately see how it could be > > relevant. > > https://gitweb.gentoo.org/proj/toolchain/binutils-patches.git/tree/ > > > > FAIL: ld-aarch64/tls-relax-gdesc-le-now > > FAIL: BTI PLT with only GNU PROP > > I agree that at first glance that patch set does not look like it would cause > these problems. But it would be nice to have it confirmed. ie, if you > build > a toolchain without any patches applied, do the failures still occur ? Same result with the patchset disabled. > I suspect that the issue might be cross-builds vs native. I was running the > tests on an x86_64 Fedora box. Are you running the tests on native hardware > ? Yes, this is on native hardware. My main suspicion lies on our gcc hardening patchset, I'm setting up a chroot with a less-hardened gcc right now. jiji /var/db/repos/gentoo/sys-devel/binutils # uname -a Linux jiji 5.15.64-gentoo-dist #1 SMP Wed Aug 31 17:57:10 -00 2022 aarch64 GNU/Linux jiji /var/db/repos/gentoo/sys-devel/binutils # ld.so --version ld.so (Gentoo 2.36-r5 p5) stable release version 2.36. Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. jiji /var/db/repos/gentoo/sys-devel/binutils # ld --version GNU ld (Gentoo 2.39 p5) 2.39.0 Copyright (C) 2022 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. jiji /var/db/repos/gentoo/sys-devel/binutils # gcc --version gcc (Gentoo Hardened 11.3.1_p20221209 p3) 11.3.1 20221209 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. jiji /var/db/repos/gentoo/sys-devel/binutils # lscpu Architecture: aarch64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 80 On-line CPU(s) list: 0-79 Vendor ID: ARM BIOS Vendor ID: Ampere(R) Model name: Neoverse-N1 BIOS Model name:Ampere(R) Altra(R) Processor Q80-30 CPU @ 2.8GHz BIOS CPU family:257 Model: 1 Thread(s) per core: 1 Core(s) per socket: 80 Socket(s): 1 Stepping: r3p1 Frequency boost:disabled CPU(s) scaling MHz: 54% CPU max MHz:3000. CPU min MHz:1000. BogoMIPS: 50.08 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs Caches (sum of all): L1d: 5 MiB (80 instances) L1i: 5 MiB (80 instances) L2: 80 MiB (80 instances) NUMA: NUMA node(s): 1 NUMA node0 CPU(s):0-79 Vulnerabilities: Itlb multihit:Not affected L1tf: Not affected Mds: Not affected Meltdown: Not affected Mmio stale data: Not affected Retbleed: Not affected Spec store bypass:Mitigation; Speculative Store Bypass disabled via prctl Spectre v1: Mitigation; __user pointer sanitization Spectre v2: Mitigation; CSV2, BHB Srbds:Not affected Tsx async abort: Not affected jiji /var/db/repos/gentoo/sys-devel/binutils # -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29843] binutils-2.40 ld test failures "ld-aarch64/tls-relax-gdesc-le-now", "BTI PLT with only GNU PROP"
https://sourceware.org/bugzilla/show_bug.cgi?id=29843 --- Comment #6 from Andreas K. Huettel --- Created attachment 14550 --> https://sourceware.org/bugzilla/attachment.cgi?id=14550=edit build log -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29843] binutils-2.40 ld test failures "ld-aarch64/tls-relax-gdesc-le-now", "BTI PLT with only GNU PROP"
https://sourceware.org/bugzilla/show_bug.cgi?id=29843 Andreas K. Huettel changed: What|Removed |Added Summary|binutils-2.39 ld test |binutils-2.40 ld test |failures|failures |"ld-aarch64/tls-relax-gdesc |"ld-aarch64/tls-relax-gdesc |-le-now", "BTI PLT with |-le-now", "BTI PLT with |only GNU PROP" |only GNU PROP" Version|2.39|2.40 --- Comment #5 from Andreas K. Huettel --- I just tried with current master (5aea5eca6c873334deb41f996dec255786a6f84d) and still get the same failures. Full build log upload following. We apply a small patchset but I dont immediately see how it could be relevant. https://gitweb.gentoo.org/proj/toolchain/binutils-patches.git/tree/ FAIL: ld-aarch64/tls-relax-gdesc-le-now FAIL: BTI PLT with only GNU PROP PASS: ld-aarch64/tls-relax-gdesc-le /var/tmp/portage/sys-devel/binutils-/work/build/ld/../gas/as-new -o tmpdir/tls-relax-gdesc-le.o /var/tmp/portage/sys-devel/binutils-/work/binutils/ld/testsuite/ld-aarch64/tls-relax- gdesc-le.s Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-/work/build/ld/../gas/as-new -o tmpdir/tls-relax-gdesc-le.o /var/tmp/portage/sys-devel/binutils-/work/binutils/ld/tests uite/ld-aarch64/tls-relax-gdesc-le.s 2>&1} /dev/null dump.tmp (timeout = 300) spawn [open ...] ./ld-new --hash-style=sysv -z norelro -L/var/tmp/portage/sys-devel/binutils-/work/binutils/ld/testsuite/ld-aarch64 -shared -z now -o tmpdir/dump tmpdir/tls-relax-gdesc-le.o Executing on host: sh -c {./ld-new --hash-style=sysv -z norelro -L/var/tmp/portage/sys-devel/binutils-/work/binutils/ld/testsuite/ld-aarch64 -shared -z now -o tmpdir/dump tmpdir/tls-relax -gdesc-le.o 2>&1} /dev/null dump.tmp (timeout = 300) spawn [open ...] /var/tmp/portage/sys-devel/binutils-/work/build/ld/../binutils/readelf -dr tmpdir/dump > tmpdir/dump.out Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-/work/build/ld/../binutils/readelf -dr tmpdir/dump > tmpdir/dump.out 2>dump.tmp} /dev/null (timeout = 300) spawn [open ...] regexp_diff match failure regexp "^ 0x.+ \(BIND_NOW\) \s+$" line " 0x001e (FLAGS) BIND_NOW" FAIL: ld-aarch64/tls-relax-gdesc-le-now PASS: Check -z force-bti emits BTI feature (exec) /var/tmp/portage/sys-devel/binutils-/work/build/ld/../gas/as-new -mabi=lp64 -defsym __property_bti__=1 -o tmpdir/property-bti-pac1.o /var/tmp/portage/sys-devel/binutils-/work/binutils /ld/testsuite/ld-aarch64/property-bti-pac1.s Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-/work/build/ld/../gas/as-new -mabi=lp64 -defsym __property_bti__=1 -o tmpdir/property-bti-pac1.o /var/tmp/portage/sys-devel/b inutils-/work/binutils/ld/testsuite/ld-aarch64/property-bti-pac1.s 2>&1} /dev/null dump.tmp (timeout = 300) spawn [open ...] ./ld-new --hash-style=sysv -z norelro -L/var/tmp/portage/sys-devel/binutils-/work/binutils/ld/testsuite/ld-aarch64 -e _start -L./tmpdir -lbti-plt-so -o tmpdir/dump tmpdir/property-bti-pac 1.o Executing on host: sh -c {./ld-new --hash-style=sysv -z norelro -L/var/tmp/portage/sys-devel/binutils-/work/binutils/ld/testsuite/ld-aarch64 -e _start -L./tmpdir -lbti-plt-so -o tmpdir/du mp tmpdir/property-bti-pac1.o 2>&1} /dev/null dump.tmp (timeout = 300) spawn [open ...] /var/tmp/portage/sys-devel/binutils-/work/build/ld/../binutils/objdump -dr -j .plt tmpdir/dump > tmpdir/dump.out Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-/work/build/ld/../binutils/objdump -dr -j .plt tmpdir/dump > tmpdir/dump.out 2>dump.tmp} /dev/null (timeout = 300) spawn [open ...] regexp_diff match failure regexp "^.*:f9421611ldr x17, \[x16, #1064\]$" line " 40028c: f941fe11ldr x17, [x16, #1016]" regexp_diff match failure regexp "^.*:9110a210add x16, x16, #0x428$" line " 400290: 910fe210add x16, x16, #0x3f8" regexp_diff match failure regexp "^.*:f9421a11ldr x17, \[x16, #1072\]$" line " 4002a8: f9420211ldr x17, [x16, #1024]" regexp_diff match failure regexp "^.*:9110c210add x16, x16, #0x430$" line " 4002ac: 91100210add x16, x16, #0x400" FAIL: BTI PLT with only GNU PROP -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29843] binutils-2.39 ld test failures "ld-aarch64/tls-relax-gdesc-le-now", "BTI PLT with only GNU PROP"
https://sourceware.org/bugzilla/show_bug.cgi?id=29843 --- Comment #3 from Andreas K. Huettel --- > > FAIL: BTI PLT with only GNU PROP > Tried to find a commit where it started to fail (by building from git), but could not find one (fails all the way back to the introduction of the test). Assuming it worked in the beginning, the cause for the failure must lie outside binutils. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29843] binutils-2.39 ld test failures "ld-aarch64/tls-relax-gdesc-le-now", "BTI PLT with only GNU PROP"
https://sourceware.org/bugzilla/show_bug.cgi?id=29843 Andreas K. Huettel changed: What|Removed |Added CC||sudi at gcc dot gnu.org --- Comment #2 from Andreas K. Huettel --- > spawn [open ...] > regexp_diff match failure > regexp "^.*:f9421611ldr x17, \[x16, #1064\]$" > line " 40028c: f941fe11ldr x17, [x16, #1016]" > regexp_diff match failure > regexp "^.*:9110a210add x16, x16, #0x428$" > line " 400290: 910fe210add x16, x16, #0x3f8" > regexp_diff match failure > regexp "^.*:f9421a11ldr x17, \[x16, #1072\]$" > line " 4002a8: f9420211ldr x17, [x16, #1024]" > regexp_diff match failure > regexp "^.*:9110c210add x16, x16, #0x430$" > line " 4002ac: 91100210add x16, x16, #0x400" > FAIL: BTI PLT with only GNU PROP CC'ing test author -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29843] binutils-2.39 ld test failures "ld-aarch64/tls-relax-gdesc-le-now", "BTI PLT with only GNU PROP"
https://sourceware.org/bugzilla/show_bug.cgi?id=29843 --- Comment #1 from Andreas K. Huettel --- > FAIL: ld-aarch64/tls-relax-gdesc-le-now > regexp_diff match failure > regexp "^ 0x.+ \(BIND_NOW\) \s+$" > line " 0x001e (FLAGS) BIND_NOW" > FAIL: ld-aarch64/tls-relax-gdesc-le-now This should be harmless (but why it causes a test failure is a mystery to me). As far as I understand it right now, marking something with DT_BIND_NOW (which the regexp checks for) is an older way, and nowadays binaries are marked with DF_BIND_NOW (which is the value that fails the regexp). Did the test never work? Or did the code at some point change (i.e. something was unified between arches and aarch switched to the common variant)? -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29843] binutils-2.39 ld test failures "ld-aarch64/tls-relax-gdesc-le-now", "BTI PLT with only GNU PROP"
https://sourceware.org/bugzilla/show_bug.cgi?id=29843 Andreas K. Huettel changed: What|Removed |Added CC||toolchain at gentoo dot org -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29843] binutils-2.39 ld test failures "ld-aarch64/tls-relax-gdesc-le-now", "BTI PLT with only GNU PROP"
https://sourceware.org/bugzilla/show_bug.cgi?id=29843 Andreas K. Huettel changed: What|Removed |Added See Also||https://bugs.gentoo.org/sho ||w_bug.cgi?id=883607 -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29843] New: binutils-2.39 ld test failures "ld-aarch64/tls-relax-gdesc-le-now", "BTI PLT with only GNU PROP"
https://sourceware.org/bugzilla/show_bug.cgi?id=29843 Bug ID: 29843 Summary: binutils-2.39 ld test failures "ld-aarch64/tls-relax-gdesc-le-now", "BTI PLT with only GNU PROP" Product: binutils Version: 2.39 Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: dilfridge at gentoo dot org Target Milestone: --- On binutils 2.39 (~ release branch as of now), running on aarch64 Gentoo, we get two ld test failures: FAIL: ld-aarch64/tls-relax-gdesc-le-now FAIL: BTI PLT with only GNU PROP Any ideas what's going on? More info on request. Test log snippets follow: /var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../gas/as-new -o tmpdir/tls-relax-gdesc-le.o /var/tmp/portage/sys-devel/binutils-2.39-r4/work/binutils-2.39/ld/testsuite/ ld-aarch64/tls-relax-gdesc-le.s Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../gas/as-new -o tmpdir/tls-relax-gdesc-le.o /var/tmp/portage/sys-devel/binutils-2.39-r4/work/b inutils-2.39/ld/testsuite/ld-aarch64/tls-relax-gdesc-le.s 2>&1} /dev/null dump.tmp (timeout = 300) spawn [open ...] ./ld-new --hash-style=sysv -z norelro -L/var/tmp/portage/sys-devel/binutils-2.39-r4/work/binutils-2.39/ld/testsuite/ld-aarch64 -shared -z now -o tmpdir/dump tmpdir/tls-relax-gdesc-l e.o Executing on host: sh -c {./ld-new --hash-style=sysv -z norelro -L/var/tmp/portage/sys-devel/binutils-2.39-r4/work/binutils-2.39/ld/testsuite/ld-aarch64 -shared -z now -o tmpdir/dum p tmpdir/tls-relax-gdesc-le.o 2>&1} /dev/null dump.tmp (timeout = 300) spawn [open ...] /var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../binutils/readelf -dr tmpdir/dump > tmpdir/dump.out Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../binutils/readelf -dr tmpdir/dump > tmpdir/dump.out 2>dump.tmp} /dev/null (timeout = 300) spawn [open ...] regexp_diff match failure regexp "^ 0x.+ \(BIND_NOW\) \s+$" line " 0x001e (FLAGS) BIND_NOW" FAIL: ld-aarch64/tls-relax-gdesc-le-now /var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../gas/as-new -mabi=lp64 -defsym __property_bti__=1 -o tmpdir/property-bti-pac1.o /var/tmp/portage/sys-devel/binutils-2.39- r4/work/binutils-2.39/ld/testsuite/ld-aarch64/property-bti-pac1.s Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../gas/as-new -mabi=lp64 -defsym __property_bti__=1 -o tmpdir/property-bti-pac1.o /var/tmp/portag e/sys-devel/binutils-2.39-r4/work/binutils-2.39/ld/testsuite/ld-aarch64/property-bti-pac1.s 2>&1} /dev/null dump.tmp (timeout = 300) spawn [open ...] ./ld-new --hash-style=sysv -z norelro -L/var/tmp/portage/sys-devel/binutils-2.39-r4/work/binutils-2.39/ld/testsuite/ld-aarch64 -e _start -L./tmpdir -lbti-plt-so -o tmpdir/dump tmpdi r/property-bti-pac1.o Executing on host: sh -c {./ld-new --hash-style=sysv -z norelro -L/var/tmp/portage/sys-devel/binutils-2.39-r4/work/binutils-2.39/ld/testsuite/ld-aarch64 -e _start -L./tmpdir -lbti-p lt-so -o tmpdir/dump tmpdir/property-bti-pac1.o 2>&1} /dev/null dump.tmp (timeout = 300) spawn [open ...] /var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../binutils/objdump -dr -j .plt tmpdir/dump > tmpdir/dump.out Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../binutils/objdump -dr -j .plt tmpdir/dump > tmpdir/dump.out 2>dump.tmp} /dev/null (timeout = 3 00) spawn [open ...] regexp_diff match failure regexp "^.*:f9421611ldr x17, \[x16, #1064\]$" line " 40028c: f941fe11ldr x17, [x16, #1016]" regexp_diff match failure regexp "^.*:9110a210add x16, x16, #0x428$" line " 400290: 910fe210add x16, x16, #0x3f8" regexp_diff match failure regexp "^.*:f9421a11ldr x17, \[x16, #1072\]$" line " 4002a8: f9420211ldr x17, [x16, #1024]" regexp_diff match failure regexp "^.*:9110c210add x16, x16, #0x430$" line " 4002ac: 91100210add x16, x16, #0x400" FAIL: BTI PLT with only GNU PROP -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gas/29487] all/gas.exp test failure (new in 2.39): FAIL: .equ redefinitions (3)
https://sourceware.org/bugzilla/show_bug.cgi?id=29487 Andreas K. Huettel changed: What|Removed |Added CC||toolchain at gentoo dot org -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gas/29487] New: all/gas.exp test failure (new in 2.39): FAIL: .equ redefinitions (3)
https://sourceware.org/bugzilla/show_bug.cgi?id=29487 Bug ID: 29487 Summary: all/gas.exp test failure (new in 2.39): FAIL: .equ redefinitions (3) Product: binutils Version: 2.39 Status: NEW Severity: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: dilfridge at gentoo dot org Target Milestone: --- Gentoo Linux, installed: gcc 11.3, binutils 2.38; building binutils 2.39 Running /tmp/portage/sys-devel/binutils-2.39/work/binutils-2.39/gas/testsuite/gas/all/gas.exp ... FAIL: .equ redefinitions (3) [...] === gas Summary === # of expected passes1603 # of unexpected failures1 # of unsupported tests 1 /tmp/portage/sys-devel/binutils-2.39/work/build/gas/as-new 2.39.0 >From the log: PASS: .equ redefinitions (2) ../as-new -o tmpdir/redef3.o /tmp/portage/sys-devel/binutils-2.39/work/binutils-2.39/gas/testsuite/gas/all/redef3.s Executing on host: sh -c {../as-new -o tmpdir/redef3.o /tmp/portage/sys-devel/binutils-2.39/work/binutils-2.39/gas/testsuite/gas/all/redef3.s 2>&1} /dev/null dump.t mp (timeout = 300) spawn [open ...] /tmp/portage/sys-devel/binutils-2.39/work/build/gas/testsuite/../../binutils/objdump -rsj .data tmpdir/redef3.o > tmpdir/dump.out Executing on host: sh -c {/tmp/portage/sys-devel/binutils-2.39/work/build/gas/testsuite/../../binutils/objdump -rsj .data tmpdir/redef3.o > tmpdir/dump.out 2>dump.tmp} /dev/null (timeout = 300) spawn [open ...] exited abnormally with 1, output:/tmp/portage/sys-devel/binutils-2.39/work/build/binutils/.libs/objdump: error while loading shared libraries: /tmp/portage/sys-devel/binutils-2.39/work/build/opcodes/.libs/libopcodes-2.39.0.gentoo-sys-devel-binutils-st.so: file too short FAIL: .equ redefinitions (3) huettel@noumea /tmp/portage/sys-devel/binutils-2.39/work/build/gas/testsuite $ ls -la /tmp/portage/sys-devel/binutils-2.39/work/build/opcodes/.libs/libopcodes-2.39.0.gentoo-sys-devel-binutils-st.so -rwxr-xr-x 1 huettel huettel 1242864 15. Aug 00:45 /tmp/portage/sys-devel/binutils-2.39/work/build/opcodes/.libs/libopcodes-2.39.0.gentoo-sys-devel-binutils-st.so -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/28844] ld (bfd) segfaults on building efivar-38 with -flto
https://sourceware.org/bugzilla/show_bug.cgi?id=28844 Andreas K. Huettel changed: What|Removed |Added CC||dilfridge at gentoo dot org --- Comment #5 from Andreas K. Huettel --- Sam asked me to reproduce this; here's the resulting backtrace: huettel@pinacolada ~ $ coredumpctl debug 1001324 PID: 1001324 (ld) UID: 1000 (huettel) GID: 1000 (huettel) Signal: 11 (SEGV) Timestamp: Mon 2022-01-31 02:40:33 CET (2min 42s ago) Command Line: /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld -plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/11.2.0/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-pc-linux-gnu/11.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/portage/sys-libs/efivar-38/temp/ccGm7cTv.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -shared --no-undefined-version --no-allow-shlib-undefined --add-needed -z now --build-id -z relro --no-undefined-version --no-allow-shlib-undefined --add-needed -z now --build-id -z relro --no-undefined-version --no-allow-shlib-undefined --add-needed -z now --build-id -z relro -o libefivar.so /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/crtbeginS.o -L. -L. -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../.. -O1 --as-needed --add-needed --build-id --no-allow-shlib-undefined --no-undefined-version -z now -z muldefs -z relro --fatal-warnings --add-needed --build-id --no-allow-shlib-undefined --no-undefined-version -z now -z muldefs -z relro --fatal-warnings -soname libefivar.so.1 --version-script=libefivar.map crc32.o dp.o dp-acpi.o dp-hw.o dp-media.o dp-message.o efivarfs.o error.o export.o guid.o guid-symbols.o lib.o vars.o time.o -ldl -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../lib64/crtn.o -T guids.lds Executable: /usr/x86_64-pc-linux-gnu/binutils-bin/2.37_p1/ld Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.konsole\x20\x281\x29-396082e66f1f4eebad232d9b0f7e0414.scope Unit: user@1000.service User Unit: app-org.kde.konsole\x20\x281\x29-396082e66f1f4eebad232d9b0f7e0414.scope Slice: user-1000.slice Owner UID: 1000 (huettel) Boot ID: 09285116397b43cf8efdfe10efc785a7 Machine ID: 7c495b4863a12cc008574dfa604a257d Hostname: pinacolada Storage: /var/lib/systemd/coredump/core.ld.1000.09285116397b43cf8efdfe10efc785a7.1001324.164359323300.zst (present) Disk Size: 240.1K Message: Process 1001324 (ld) of user 1000 dumped core. GNU gdb (Gentoo 11.1 vanilla) 11.1 Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/x86_64-pc-linux-gnu/binutils-bin/2.37_p1/ld... Reading symbols from /usr/lib/debug//usr/x86_64-pc-linux-gnu/binutils-bin/2.37_p1/ld.bfd.debug... [New LWP 1001324] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld'. Program terminated with signal SIGSEGV, Segmentation fault. #0 __strcmp_avx2_rtm () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:106 106 VPCMPEQ (%rsi), %ymm1, %ymm0 (gdb) bt #0 __strcmp_avx2_rtm () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:106 #1 0x7f1b63cd57fe in _bfd_generic_link_add_one_symbol (info=info@entry=0x55ec85623c80 , abfd=0x55ec86e76c90, name=0x55ec8708626d "_efi_set_variable", flags=, section=0x55ec87074d88, value=3376, string=0x0, copy=false, collect=false, hashp=0x55ec870822a8) at /tmp/portage/sys-devel
[Bug gold/25159] internal error in define_default_version
https://sourceware.org/bugzilla/show_bug.cgi?id=25159 Andreas K. Huettel changed: What|Removed |Added CC||dilfridge at gentoo dot org --- Comment #2 from Andreas K. Huettel --- See also: https://bugs.gentoo.org/764332 (elogind) https://bugs.gentoo.org/669754 (samba) -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gold/22755] gold test suite failures (gentoo, 2.31)
https://sourceware.org/bugzilla/show_bug.cgi?id=22755 --- Comment #3 from Andreas K. Huettel --- Created attachment 11105 --> https://sourceware.org/bugzilla/attachment.cgi?id=11105=edit gold/config.log -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/22755] gold test suite failures (gentoo, 2.31)
https://sourceware.org/bugzilla/show_bug.cgi?id=22755 Andreas K. Huettel changed: What|Removed |Added Version|2.30|2.31 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/22755] gold test suite failures (gentoo, 2.31)
https://sourceware.org/bugzilla/show_bug.cgi?id=22755 Andreas K. Huettel changed: What|Removed |Added Summary|gold test suite failures|gold test suite failures |(gentoo, 2.30) |(gentoo, 2.31) --- Comment #2 from Andreas K. Huettel --- Sorry, I somehow did not notice your comment. Updated information for 2.31 (current tip of release branch) follows; looks pretty similar. gcc-7.3.0, glibc-2.26-r7, 4.14.51-gentoo x86_64 gold 0.1: testsuite/test-suite.log # TOTAL: 275 # PASS: 257 # SKIP: 0 # XFAIL: 0 # FAIL: 18 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: strong_ref_weak_def.sh pattern ".* FUNC.* GLOBAL.* UND.* weak_def" not found in file strong_ref_weak_def.stdout. FAIL strong_ref_weak_def.sh (exit status: 1) FAIL: dyn_weak_ref.sh = pattern ".* WEAK .* UND.* weak_ref" not found in file dyn_weak_ref.stdout. FAIL dyn_weak_ref.sh (exit status: 1) FAIL: large_symbol_alignment FAIL large_symbol_alignment (exit status: 1) FAIL: exception_separate_shared_12_test === ./exception_separate_shared_12_test: symbol lookup error: ./exception_shared_1.so: undefined symbol: _Z2f1v FAIL exception_separate_shared_12_test (exit status: 127) FAIL: exception_separate_shared_21_test === ./exception_separate_shared_21_test: symbol lookup error: ./exception_shared_1.so: undefined symbol: _Z2f1v FAIL exception_separate_shared_21_test (exit status: 127) FAIL: weak_undef_test = FAILED weak undef test 4: _such_symbol_ is not NULL FAIL weak_undef_test (exit status: 1) FAIL: initpri3a === initpri3a: /var/tmp/portage/sys-devel/binutils-2.31./work/binutils/gold/testsuite/initpri3.c:40: ctor2: Assertion `i == 2' failed. FAIL initpri3a (exit status: 134) FAIL: script_test_1 === script_test_1: /var/tmp/portage/sys-devel/binutils-2.31./work/binutils/gold/testsuite/script_test_1b.cc:31: void check_int(intptr_t, intptr_t): Assertion `i == j' failed. FAIL script_test_1 (exit status: 134) FAIL: script_test_2 === script_test_2: /var/tmp/portage/sys-devel/binutils-2.31./work/binutils/gold/testsuite/script_test_2.cc:44: int main(int, char**): Assertion `reinterpret_cast(start_test_area) == 0x2001' failed. FAIL script_test_2 (exit status: 134) FAIL: justsyms == justsyms: /var/tmp/portage/sys-devel/binutils-2.31./work/binutils/gold/testsuite/justsyms_1.cc:47: int main(int, char**): Assertion `reinterpret_cast(justsyms_string) == 0x100' failed. FAIL justsyms (exit status: 134) FAIL: justsyms_exec === _func is 0x55df339b8200, expected 01000200 _data is 0x55df349b8000, expected 0200 FAIL justsyms_exec (exit status: 2) FAIL: binary_test = binary_test: /var/tmp/portage/sys-devel/binutils-2.31./work/binutils/gold/testsuite/binary_test.cc:39: int main(int, char**): Assertion `size == _binary_binary_txt_end - _binary_binary_txt_start' failed. FAIL binary_test (exit status: 134) FAIL: script_test_3 === FAIL script_test_3 (exit status: 139) FAIL: tls_phdrs_script_test === FAIL tls_phdrs_script_test (exit status: 139) FAIL: script_test_12i = FAIL script_test_12i (exit status: 1) FAIL: dynamic_list_2 FAIL dynamic_list_2 (exit status: 1) FAIL: incremental_test_2 incremental_test_2: /var/tmp/portage/sys-devel/binutils-2.31./work/binutils/gold/testsuite/two_file_test_main.cc:50: int main(): Assertion `t12()' failed. FAIL incremental_test_2 (exit status: 134) FAIL: incremental_test_5 incremental_test_5: /var/tmp/portage/sys-devel/binutils-2.31./work/binutils/gold/testsuite/two_file_test_main.cc:50: int main(): Assertion `t12()' failed. FAIL incremental_test_5 (exit status: 134) -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23333] 2.30 (~ tip of release branch) ld test failures on powerpc-unknown-linux-gnu
https://sourceware.org/bugzilla/show_bug.cgi?id=2 Andreas K. Huettel changed: What|Removed |Added See Also||https://bugs.gentoo.org/sho ||w_bug.cgi?id=655834 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23333] New: 2.30 (~ tip of release branch) ld test failures on powerpc-unknown-linux-gnu
https://sourceware.org/bugzilla/show_bug.cgi?id=2 Bug ID: 2 Summary: 2.30 (~ tip of release branch) ld test failures on powerpc-unknown-linux-gnu Product: binutils Version: 2.30 Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: dilfridge at gentoo dot org Target Milestone: --- This is a clone of https://bugs.gentoo.org/655834#2 - please check there for more information. FAIL: Run with pr11138-2.c libpr11138-1.so FAIL: Run with libpr11138-1.so pr11138-2.c FAIL: Check --gc-section FAIL: Check --gc-section/-q FAIL: Check --gc-section/-r/-e FAIL: Check --gc-section/-r/-u -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/22755] gold test suite failures (gentoo, 2.30)
https://sourceware.org/bugzilla/show_bug.cgi?id=22755 Andreas K. Huettel changed: What|Removed |Added Version|unspecified |2.30 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/22755] New: gold test suite failures (gentoo, 2.30)
https://sourceware.org/bugzilla/show_bug.cgi?id=22755 Bug ID: 22755 Summary: gold test suite failures (gentoo, 2.30) Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: dilfridge at gentoo dot org CC: ian at airs dot com Target Milestone: --- Here's the test suite log. Happy to help debugging. binutils 2.30, gcc 7.3.0, glibc 2.25, x86-64 gold 0.1: testsuite/test-suite.log 18 of 263 tests failed. .. contents:: :depth: 2 FAIL: strong_ref_weak_def.sh (exit: 1) == pattern ".* FUNC.* GLOBAL.* UND.* weak_def" not found in file strong_ref_weak_def.stdout. FAIL: dyn_weak_ref.sh (exit: 1) === pattern ".* WEAK .* UND.* weak_ref" not found in file dyn_weak_ref.stdout. FAIL: large_symbol_alignment (exit: 1) == FAIL: exception_separate_shared_12_test (exit: 127) === ./exception_separate_shared_12_test: symbol lookup error: ./exception_shared_1.so: undefined symbol: _Z2f1v FAIL: exception_separate_shared_21_test (exit: 127) === ./exception_separate_shared_21_test: symbol lookup error: ./exception_shared_1.so: undefined symbol: _Z2f1v FAIL: weak_undef_test (exit: 1) === FAILED weak undef test 4: _such_symbol_ is not NULL FAIL: initpri3a (exit: 134) === initpri3a: /var/tmp/portage/sys-devel/binutils-2.30/work/binutils-2.30/gold/testsuite/initpri3.c:40: ctor2: Assertion `i == 2' failed. FAIL: script_test_1 (exit: 134) === script_test_1: /var/tmp/portage/sys-devel/binutils-2.30/work/binutils-2.30/gold/testsuite/script_test_1b.cc:31: void check_int(intptr_t, intptr_t): Assertion `i == j' failed. FAIL: script_test_2 (exit: 134) === script_test_2: /var/tmp/portage/sys-devel/binutils-2.30/work/binutils-2.30/gold/testsuite/script_test_2.cc:44: int main(int, char**): Assertion `reinterpret_cast(start_test_area) == 0x2001' failed. FAIL: justsyms (exit: 134) == justsyms: /var/tmp/portage/sys-devel/binutils-2.30/work/binutils-2.30/gold/testsuite/justsyms_1.cc:47: int main(int, char**): Assertion `reinterpret_cast(justsyms_string) == 0x100' failed. FAIL: justsyms_exec (exit: 2) = _func is 0x55664cbeb200, expected 01000200 _data is 0x55664dbeb000, expected 0200 FAIL: binary_test (exit: 134) = binary_test: /var/tmp/portage/sys-devel/binutils-2.30/work/binutils-2.30/gold/testsuite/binary_test.cc:39: int main(int, char**): Assertion `size == _binary_binary_txt_end - _binary_binary_txt_start' failed. FAIL: script_test_3 (exit: 139) === FAIL: tls_phdrs_script_test (exit: 139) === FAIL: script_test_12i (exit: 1) === FAIL: dynamic_list_2 (exit: 1) == FAIL: incremental_test_2 (exit: 134) incremental_test_2: /var/tmp/portage/sys-devel/binutils-2.30/work/binutils-2.30/gold/testsuite/two_file_test_main.cc:50: int main(): Assertion `t12()' failed. FAIL: incremental_test_5 (exit: 134) incremental_test_5: /var/tmp/portage/sys-devel/binutils-2.30/work/binutils-2.30/gold/testsuite/two_file_test_main.cc:50: int main(): Assertion `t12()' failed. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/22009] Excessive memory allocation resulting from memory leakge due to incorrect handling of input file
https://sourceware.org/bugzilla/show_bug.cgi?id=22009 Andreas K. Huettel changed: What|Removed |Added CC||dilfridge at gentoo dot org --- Comment #5 from Andreas K. Huettel --- Could you add a link to the bug please? -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/21090] gcc compiled with --enable-default-pie show errors in binutils testsuite
https://sourceware.org/bugzilla/show_bug.cgi?id=21090 Andreas K. Huettel changed: What|Removed |Added CC||dilfridge at gentoo dot org --- Comment #32 from Andreas K. Huettel --- The ld failures seem to be all fixed in 2.29.1. However I do as well see several occurrences of the gold error, gcctestdir/ld: internal error in relocate, at /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/gold/x86_64.cc:4300 (gcc-6.4.0 with default pie) -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils