|
From: | vincenzo.innocente at cern dot ch |
Subject: | [Bug gold/14342] New: [gold] symbol 'std::__once_callable' used as both __thread and non-__thread |
Date: | Mon, 09 Jul 2012 23:37:25 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=14342 Bug #: 14342 Summary: [gold] symbol 'std::__once_callable' used as both __thread and non-__thread Product: binutils Version: 2.22 Status: NEW Severity: normal Priority: P2 Component: gold AssignedTo: address@hidden ReportedBy: address@hidden CC: address@hidden Classification: Unclassified crospost from gcc http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53895 with GNU gold (GNU Binutils 2.22.52.20120515) 1.11 and a recent gcc gcc version 4.7.2 20120629 (prerelease) [gcc-4_7-branch revision 189081] (GCC) gcc version 4.8.0 20120708 (experimental) [trunk revision 189362] (GCC) I get c++ thread.cpp -pthread -std=gnu++0x -O2 -flto /afs/cern.ch/user/i/innocent/w3/gcc47slc5/bin/ld: error: /afs/cern.ch/user/i/innocent/w3/gcc47slc5/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib64/libstdc++.so: symbol 'std::__once_call' used as both __thread and non-__thread /afs/cern.ch/user/i/innocent/w3/gcc47slc5/bin/ld: /tmp/innocent/ccd0XlxC.o: previous definition here /afs/cern.ch/user/i/innocent/w3/gcc47slc5/bin/ld: error: /afs/cern.ch/user/i/innocent/w3/gcc47slc5/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib64/libstdc++.so: symbol 'std::__once_callable' used as both __thread and non-__thread /afs/cern.ch/user/i/innocent/w3/gcc47slc5/bin/ld: /tmp/innocent/ccd0XlxC.o: previous definition here collect2: error: ld returned 1 exit status works w/o lto or with BFD linker. Please refers to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53895 for details and code example -- 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.
[Prev in Thread] | Current Thread | [Next in Thread] |