bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/13359] New: gold internal error in relocate_tls, at gold/x86_6


From: belyshev at depni dot sinp.msu.ru
Subject: [Bug gold/13359] New: gold internal error in relocate_tls, at gold/x86_64.cc:3187
Date: Fri, 28 Oct 2011 22:10:21 +0000

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

             Bug #: 13359
           Summary: gold internal error in relocate_tls, at
                    gold/x86_64.cc:3187
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: address@hidden
        ReportedBy: address@hidden
                CC: address@hidden
    Classification: Unclassified


Created attachment 6038
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6038
preprocessed and reduced testcase (compile with -O0 -std=gnu++0x -fPIC)

gold crashes if this testcase is compiled with g++ -std=gnu++0x -fPIC:

#include <future>

int main()
{
  std::promise<int&> p1;
  int i1 = 0;
  p1.set_value(i1);
  return 0;
}

/usr/bin/ld: internal error in relocate_tls, at ../../gold/x86_64.cc:3187
or with -m32:
/usr/bin/ld: internal error in relocate_tls, at ../../gold/i386.cc:2715

Tested on gold 2.21.90.20111025 and current trunk with g++ 4.6 and 4.7, fails
everywhere.

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