bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/12279] New: GOLD produces bad executable when mixing TLS and n


From: d.g.gorbachev at gmail dot com
Subject: [Bug gold/12279] New: GOLD produces bad executable when mixing TLS and non-TLS symbols
Date: Wed, 1 Dec 2010 18:04:40 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12279

           Summary: GOLD produces bad executable when mixing TLS and
                    non-TLS symbols
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: address@hidden
        ReportedBy: address@hidden
              Host: i686-pc-linux-gnu
            Target: i686-pc-linux-gnu
             Build: i686-pc-linux-gnu


GNU gold (GNU Binutils 2.21.51.20101123) 1.10

===== 1.c =====
__thread int n;
===============

===== 2.c =====
extern int n;

int main(void)
{
  return n;
}
===============

$ gcc -c 1.c 2.c
$ ld.gold 1.o 2.o
$ ./a.out
Segmentation fault

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]