bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/15984] New: Segfault when using static __thread function varia


From: richardg.work at gmail dot com
Subject: [Bug gold/15984] New: Segfault when using static __thread function variables with intel compiler
Date: Fri, 27 Sep 2013 22:27:53 +0000

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

            Bug ID: 15984
           Summary: Segfault when using static __thread function variables
                    with intel compiler
           Product: binutils
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ian at airs dot com
          Reporter: richardg.work at gmail dot com
                CC: ccoutant at google dot com

static __thread function variables cause Segfault at runtime when compiled with
the intel compiler.

Build command :
icc14 goldcrash.cpp -o goldcrash -B <path to gold ld> && ./goldcrash

(replace <path to gold ld> with the installation of binutils 2.23.2

goldcrash.cpp :

int main(int argc, const char **argv)
{
 static __thread int lastID = -1;
 lastId = 0;
 return 0;
}

Also reported to intel: http://software.intel.com/en-us/forums/topic/475114

-- 
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]