bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/16498] New: assertion fail at bfd/elf.c:4122


From: hjl.tools at gmail dot com
Subject: [Bug ld/16498] New: assertion fail at bfd/elf.c:4122
Date: Wed, 22 Jan 2014 17:39:52 +0000

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

            Bug ID: 16498
           Summary: assertion fail at bfd/elf.c:4122
           Product: binutils
           Version: 2.25 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com

address@hidden tbss]$ cat x.c
__thread int bar [20] = { 1 };
__thread int foo;
int data[30] = { 1 };
address@hidden tbss]$ cat tbss.t
SECTIONS
{
  . = SIZEOF_HEADERS;
  /* Thread Local Storage sections  */
  .tdata      : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
/*
  .tbss          : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
*/
  .data           :
  {
    *(.data .data.* .gnu.linkonce.d.*)
  }
  /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
}
address@hidden tbss]$ 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 tbss]$

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]