This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/53895] [4.7/4.8 Regression][lto] symbol 'std::__once_callable' used as both __thread and non-__thread
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 09 Jul 2012 13:15:34 +0000
- Subject: [Bug lto/53895] [4.7/4.8 Regression][lto] symbol 'std::__once_callable' used as both __thread and non-__thread
- Auto-submitted: auto-generated
- References: <bug-53895-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53895
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-07-09 13:15:34 UTC ---
(In reply to comment #2)
> yes it does
> ld -v
> GNU ld version 2.22.52.0.1-10.fc17 20120131
> [innocent@pcphsftkepler bugs48]$ c++ thread.cpp -pthread -std=gnu++0x -O2 -flto
> -Wl,-v
It sounds like a gold bug.