http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51018
Bug #: 51018 Summary: Test failures on NetBSD Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: r...@gcc.gnu.org Host: x86_64-unknown-netbsd5.1 Target: x86_64-unknown-netbsd5.1 Build: x86_64-unknown-netbsd5.1 pthread_t is an opaque pointer, dereferencing it is not valid: In file included from /home/jwakely/src/gcc/libstdc++-v3/testsuite/30_threads/thread/native_handle/typesizes.cc:26:0:^M /home/jwakely/src/gcc/libstdc++-v3/testsuite/util/thread/all.h: In instantiation of 'void __gnu_test::compare_type_to_native_type() [with _Tp = std::thread]':^M /home/jwakely/src/gcc/libstdc++-v3/testsuite/30_threads/thread/native_handle/typesizes.cc:31:54: required from here^M /home/jwakely/src/gcc/libstdc++-v3/testsuite/util/thread/all.h:45:35: error: invalid application of 'sizeof' to incomplete type 'native_type {aka __pthread_st}' ^M /home/jwakely/src/gcc/libstdc++-v3/testsuite/util/thread/all.h:47:40: error: invalid application of '__alignof__' to incomplete type 'native_type {aka __pthread_st}' ^M FAIL: 30_threads/thread/native_handle/typesizes.cc (test for excess errors) this one should be easy to fix: FAIL: ext/profile/mutex_extensions_neg.cc (test for excess errors) Excess errors: /home/jwakely/build/x86_64-unknown-netbsd5.1/libstdc++-v3/include/profile/impl/profiler_node.h:105:7: error: '__UINTPTR_TYPE__' was not declared in this scope WARNING: program timed out. FAIL: 20_util/hash/chi2_quality.cc execution test assertion "gctype.scan_is((std::ctype_base::xdigit), (ca), (ca) + traits_type::length(ca)) == (ca)" failed: file "/home/jwakely/src/gcc/libstdc++-v3/testsuite/22_locale/ctype/scan/wchar_t/1.cc", line 71, function "void test01()" FAIL: 22_locale/ctype/scan/wchar_t/1.cc execution test