Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937627 - dev-util/statifier-1.7.4-r2 - [ncurses-6.5] [icu-75.1] [gcc-15] collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
Summary: dev-util/statifier-1.7.4-r2 - [ncurses-6.5] [icu-75.1] [gcc-15] collect2: fat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 937781
  Show dependency tree
 
Reported: 2024-08-09 15:38 UTC by Toralf Förster
Modified: 2024-08-24 15:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.98 KB, text/plain)
2024-08-09 15:38 UTC, Toralf Förster
Details
dev-util:statifier-1.7.4-r2:20240809-045008.log (dev-util:statifier-1.7.4-r2:20240809-045008.log,6.62 KB, text/plain)
2024-08-09 15:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,189.91 KB, text/plain)
2024-08-09 15:38 UTC, Toralf Förster
Details
environment (environment,89.91 KB, text/plain)
2024-08-09 15:38 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1020 bytes, application/x-xz)
2024-08-09 15:38 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,48.77 KB, application/x-xz)
2024-08-09 15:39 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,51.08 KB, application/x-xz)
2024-08-09 15:39 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,20.75 KB, application/x-xz)
2024-08-09 15:39 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-08-09 15:38:53 UTC
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
Comment 1 Toralf Förster gentoo-dev 2024-08-09 15:38:54 UTC
Created attachment 899682 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-09 15:38:55 UTC
Created attachment 899683 [details]
dev-util:statifier-1.7.4-r2:20240809-045008.log
Comment 3 Toralf Förster gentoo-dev 2024-08-09 15:38:57 UTC
Created attachment 899684 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-08-09 15:38:58 UTC
Created attachment 899685 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-08-09 15:38:59 UTC
Created attachment 899686 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-09 15:39:00 UTC
Created attachment 899687 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-09 15:39:01 UTC
Created attachment 899688 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-09 15:39:02 UTC
Created attachment 899689 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-09 15:45:56 UTC
Likely a binutils bug. I'll look.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-09 15:52:33 UTC
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)
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-09 15:55:32 UTC
Reported upstream, thanks!

https://sourceware.org/bugzilla/show_bug.cgi?id=32067
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-24 15:47:57 UTC
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>