https://sourceware.org/bugzilla/show_bug.cgi?id=34165

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
Another bug

[hjl@gnu-tgl-3 pr34165]$ cat bug.c
extern __thread int x
__attribute__((visibility("hidden")))
__attribute__((weak));

int
main (void)
{
  return x > 30;
}
[hjl@gnu-tgl-3 pr34165]$ make bug
/export/build/gnu/tools-build/glibc-many/install-GCC-14/compilers/alpha-linux-gnu/bin/alpha-glibc-linux-gnu-gcc-14.2.1
-O2 bug.c -o bug
/export/build/gnu/tools-build/glibc-many/install-GCC-14/compilers/alpha-linux-gnu/bin/../lib/gcc/alpha-glibc-linux-gnu/14.2.1/../../../../alpha-glibc-linux-gnu/bin/ld:
BFD (GNU Binutils) 2.43.50.20241219 assertion fail
/export/build/gnu/tools-build/glibc-many/src/binutils/bfd/elf64-alpha.c:3018
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core
dumped
compilation terminated.
make: *** [Makefile:29: bug] Error 1
[hjl@gnu-tgl-3 pr34165]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to