[testsuite, rfa] Add gthreads dependency to some failing libstdc++ tests

Sandra Loosemore sandra@codesourcery.com
Wed Jan 23 19:51:00 GMT 2019


I ran libstdc++ tests on nios2-elf target.  I observed several new tests 
failing with

error: 'mutex' in namespace 'std' does not name a type

The definition of class mutex in include/bits/std_mutex.h is guarded 
with "#ifdef _GLIBCXX_HAS_GTHREADS" so I assume these tests are not 
supposed to work on this target.  This patch adds the equivalent 
dependency to the failing tests.

OK to commit?  (I guess it is possible that this is actually a bug in 
the code instead, and the tests are supposed to pass....)

-Sandra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libstdc++.log
Type: text/x-log
Size: 770 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20190123/e4761550/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libstdc++.patch
Type: text/x-patch
Size: 6079 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20190123/e4761550/attachment-0001.bin>


More information about the Libstdc++ mailing list