too long lines were shrinked: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -m64 -Icpus/x86_64 -g find_dl_platform.c -o 64/find_dl_platform x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -m64 -Icpus/x86_64 -g find_environ.c -o 64/find_environ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -m64 -S dl-var.c -o 64/dl-var.s.s /bin/sh asm.make.sh < 64/dl-var.s.s > 64/dl-var.s || { rm --force 64/dl-var.s; exit 1; } x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -m64 -c -o 64/dl-var.o -nostdinc -I/var/tmp/portage/dev-util/statifier-1.7.4-r2/work/statifier-1.7.4/src -I/var/tmp/portage/dev-util/statifier-1.7.4-r2/work/statifier-1.7.4/src/64 -include cpus/x86_64/processor.h -include ./star x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -m64 -o 64/dl-var 64/dl-var.o -Wl,--oformat,binary,--entry=0x0 -nostdlib collect2: fatal error: ld terminated with signal 11 [Segmentation fault] compilation terminated. make[4]: *** [Makefile:213: 64/dl-var] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_no_multilib_systemd-20240806-101508 UNMASKED: Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense. <sys-devel/gcc-15.0.9999:15 Requested by sam ~dev-libs/icu-75.1 ~dev-libs/icu-layoutex-75.1 Requested by sam >=sys-libs/ncurses-6.5 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-15 * clang/llvm (if any): clang version 18.1.8 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.8 Python 3.12.5 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby32 (with Rubygems) [3] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.79.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21] 3) Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 [3] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.22.6 linux/amd64 HEAD of ::gentoo commit 5e510bd687bff4b32b9a6ce12128b0e32964e6c4 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Aug 9 03:33:58 2024 +0000 2024-08-09 03:33:58 UTC emerge -qpvO =dev-util/statifier-1.7.4-r2 [ebuild N ] dev-util/statifier-1.7.4-r2
Created attachment 899682 [details] emerge-info.txt
Created attachment 899683 [details] dev-util:statifier-1.7.4-r2:20240809-045008.log
Created attachment 899684 [details] emerge-history.txt
Created attachment 899685 [details] environment
Created attachment 899686 [details] etc.clang.tar.xz
Created attachment 899687 [details] etc.portage.tar.xz
Created attachment 899688 [details] qlist-info.txt.xz
Created attachment 899689 [details] temp.tar.xz
Likely a binutils bug. I'll look.
Thread 3.1 "ld" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff74f8740 (LWP 3092614)] 0x00007ffff793aec0 in _bfd_elf_link_keep_memory (info=0x555555842e80 <link_info>) at /usr/src/debug/sys-devel/binutils-9999/binutils/bfd/elflink.c:67 67 if (bed->use_mmap) (gdb) bt #0 0x00007ffff793aec0 in _bfd_elf_link_keep_memory (info=0x555555842e80 <link_info>) at /usr/src/debug/sys-devel/binutils-9999/binutils/bfd/elflink.c:67 #1 elf_link_add_object_symbols (abfd=<optimized out>, info=<optimized out>) at /usr/src/debug/sys-devel/binutils-9999/binutils/bfd/elflink.c:5727 #2 bfd_elf_link_add_symbols (abfd=<optimized out>, info=<optimized out>) at /usr/src/debug/sys-devel/binutils-9999/binutils/bfd/elflink.c:6363 #3 0x0000555555692ad5 in load_symbols (entry=entry@entry=0x555555848740, place=place@entry=0x7fffffffdc30) at /usr/src/debug/sys-devel/binutils-9999/binutils/ld/ldlang.c:3130 #4 0x00005555556847fd in open_input_bfds (s=0x555555848740, os=0x555555849cc0, mode=OPEN_BFD_NORMAL) at /usr/src/debug/sys-devel/binutils-9999/binutils/ld/ldlang.c:3622 #5 0x0000555555682209 in lang_process () at /usr/src/debug/sys-devel/binutils-9999/binutils/ld/ldlang.c:8194 #6 0x000055555568c234 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/sys-devel/binutils-9999/binutils/ld/ldmain.c:529 (gdb)
Reported upstream, thanks! https://sourceware.org/bugzilla/show_bug.cgi?id=32067
commit 7b419ca7ec1415c5ba0e48be6b80336ef03f2183 Author: Andreas K. Hüttel <dilfridge@gentoo.org> Date: Tue Aug 20 22:27:50 2024 +0200 sys-devel/binutils: add 2.43-r1 (patchlevel 2, identical to upstream 2.43.1) Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>