[patch] libstdc++/70503 Ensure std::thread helpers have internal linkage

Jonathan Wakely jwakely@redhat.com
Tue Apr 5 17:23:00 GMT 2016


On 05/04/16 14:37 +0100, Jonathan Wakely wrote:
>    Ensure std::thread helpers have internal linkage
>    
>    	PR libstdc++/70503
>    	* src/c++11/thread.cc (execute_native_thread_routine,
>    	execute_native_thread_routine_compat): Give internal linkage.
>    	* testsuite/30_threads/thread/70503.cc: New test.

This small tweak to the new test checks that -static works before
trying to run it.

Tested x86_64-linux, with and without static glibc installed.

Committed to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 707 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20160405/274524e8/attachment.bin>


More information about the Libstdc++ mailing list