|
From: | hjl.tools at gmail dot com |
Subject: | [Bug ld/16498] assertion fail at bfd/elf.c:4122 |
Date: | Wed, 22 Jan 2014 19:02:07 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16498 --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- Another testcase: address@hidden bad]$ cat x.c __thread int bar [20] __attribute__ ((__section__ ("tls_data_init"))) = { 1 }; __thread int foo; int data[30] = { 1 }; address@hidden bad]$ cat tbss.t SECTIONS { tls_data_init : { *(.tdata .tdata.* .gnu.linkonce.td.*) } .data : { *(.data .data.* .gnu.linkonce.d.*) } /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) } } address@hidden bad]$ make gcc -fPIC -c -o x.o x.c ./ld -shared -T tbss.t -o tls.so x.o ./ld: BFD (GNU Binutils) 2.24.51.20140122 assertion fail /export/gnu/import/git/sources/binutils-gdb/bfd/elf.c:4122 ./ld: BFD (GNU Binutils) 2.24.51.20140122 assertion fail /export/gnu/import/git/sources/binutils-gdb/bfd/elf.c:4122 make: *** [tls.so] Error 1 address@hidden bad]$ -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |