This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/51504] Data race hunting instructions in manual do not work
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Dec 2011 22:09:10 +0000
- Subject: [Bug libstdc++/51504] Data race hunting instructions in manual do not work
- Auto-submitted: auto-generated
- References: <bug-51504-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51504
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-23 22:09:10 UTC ---
N.B. you don't have to rebuild the whole .so you can rebuild just thread.cc and
link thread.o into your program. The dynamic linker will do symbol
interposition and use the std::thread::_M_start_thread symbol from your program
instead of the one from libstdc++.so