http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54612
Bug #: 54612 Summary: [4.8 Regression] Many failures in ext/random testsuite Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: ubiz...@gmail.com Target: alphaev68-pc-linux-gnu There are many testsuite failures in libstdc++ ext/random testsuite: Running target unix FAIL: ext/random/beta_distribution/cons/default.cc (test for excess errors) UNRESOLVED: ext/random/beta_distribution/cons/default.cc compilation failed to produce executable FAIL: ext/random/beta_distribution/cons/parms.cc (test for excess errors) UNRESOLVED: ext/random/beta_distribution/cons/parms.cc compilation failed to produce executable FAIL: ext/random/beta_distribution/operators/equal.cc (test for excess errors) UNRESOLVED: ext/random/beta_distribution/operators/equal.cc compilation failed to produce executable FAIL: ext/random/beta_distribution/operators/inequal.cc (test for excess errors) UNRESOLVED: ext/random/beta_distribution/operators/inequal.cc compilation failed to produce executable FAIL: ext/random/beta_distribution/operators/serialize.cc (test for excess errors) UNRESOLVED: ext/random/beta_distribution/operators/serialize.cc compilation failed to produce executable FAIL: ext/random/beta_distribution/requirements/explicit_instantiation/1.cc (test for excess errors) FAIL: ext/random/beta_distribution/requirements/typedefs.cc (test for excess errors) FAIL: ext/random/normal_mv_distribution/cons/default.cc (test for excess errors) UNRESOLVED: ext/random/normal_mv_distribution/cons/default.cc compilation failed to produce executable FAIL: ext/random/normal_mv_distribution/cons/parms.cc (test for excess errors) UNRESOLVED: ext/random/normal_mv_distribution/cons/parms.cc compilation failed to produce executable FAIL: ext/random/normal_mv_distribution/operators/equal.cc (test for excess errors) UNRESOLVED: ext/random/normal_mv_distribution/operators/equal.cc compilation failed to produce executable FAIL: ext/random/normal_mv_distribution/operators/inequal.cc (test for excess errors) UNRESOLVED: ext/random/normal_mv_distribution/operators/inequal.cc compilation failed to produce executable FAIL: ext/random/normal_mv_distribution/operators/serialize.cc (test for excess errors) UNRESOLVED: ext/random/normal_mv_distribution/operators/serialize.cc compilation failed to produce executable FAIL: ext/random/normal_mv_distribution/requirements/explicit_instantiation/1.cc (test for excess errors) FAIL: ext/random/normal_mv_distribution/requirements/typedefs.cc (test for excess errors) FAIL: ext/random/rice_distribution/cons/default.cc (test for excess errors) UNRESOLVED: ext/random/rice_distribution/cons/default.cc compilation failed to produce executable FAIL: ext/random/rice_distribution/cons/parms.cc (test for excess errors) UNRESOLVED: ext/random/rice_distribution/cons/parms.cc compilation failed to produce executable FAIL: ext/random/rice_distribution/operators/equal.cc (test for excess errors) UNRESOLVED: ext/random/rice_distribution/operators/equal.cc compilation failed to produce executable FAIL: ext/random/rice_distribution/operators/inequal.cc (test for excess errors) UNRESOLVED: ext/random/rice_distribution/operators/inequal.cc compilation failed to produce executable FAIL: ext/random/rice_distribution/operators/serialize.cc (test for excess errors) UNRESOLVED: ext/random/rice_distribution/operators/serialize.cc compilation failed to produce executable FAIL: ext/random/rice_distribution/requirements/explicit_instantiation/1.cc (test for excess errors) FAIL: ext/random/rice_distribution/requirements/typedefs.cc (test for excess errors) FAIL: ext/random/simd_fast_mersenne_twister_engine/cons/copy.cc (test for excess errors) UNRESOLVED: ext/random/simd_fast_mersenne_twister_engine/cons/copy.cc compilation failed to produce executable FAIL: ext/random/simd_fast_mersenne_twister_engine/cons/default.cc (test for excess errors) UNRESOLVED: ext/random/simd_fast_mersenne_twister_engine/cons/default.cc compilation failed to produce executable FAIL: ext/random/simd_fast_mersenne_twister_engine/cons/seed1.cc (test for excess errors) UNRESOLVED: ext/random/simd_fast_mersenne_twister_engine/cons/seed1.cc compilation failed to produce executable FAIL: ext/random/simd_fast_mersenne_twister_engine/cons/seed2.cc (test for excess errors) UNRESOLVED: ext/random/simd_fast_mersenne_twister_engine/cons/seed2.cc compilation failed to produce executable FAIL: ext/random/simd_fast_mersenne_twister_engine/cons/seed_seq.cc (test for excess errors) UNRESOLVED: ext/random/simd_fast_mersenne_twister_engine/cons/seed_seq.cc compilation failed to produce executable FAIL: ext/random/simd_fast_mersenne_twister_engine/operators/equal.cc (test for excess errors) UNRESOLVED: ext/random/simd_fast_mersenne_twister_engine/operators/equal.cc compilation failed to produce executable FAIL: ext/random/simd_fast_mersenne_twister_engine/operators/inequal.cc (test for excess errors) UNRESOLVED: ext/random/simd_fast_mersenne_twister_engine/operators/inequal.cc compilation failed to produce executable FAIL: ext/random/simd_fast_mersenne_twister_engine/operators/serialize.cc (test for excess errors) UNRESOLVED: ext/random/simd_fast_mersenne_twister_engine/operators/serialize.cc compilation failed to produce executable All of these are: Executing on host: /home/uros/gcc-build/./gcc/g++ -shared-libgcc -B/home/uros/gcc-build/./gcc -nostdinc++ -L/home/uros/gcc-build/alphaev68-unknown-linux-gnu/libstdc++-v3/src -L/home/uros/gcc-build/alphaev68-unknown-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/alphaev68-unknown-linux-gnu/bin/ -B/usr/local/alphaev68-unknown-linux-gnu/lib/ -isystem /usr/local/alphaev68-unknown-linux-gnu/include -isystem /usr/local/alphaev68-unknown-linux-gnu/sys-include -B/home/uros/gcc-build/alphaev68-unknown-linux-gnu/./libstdc++-v3/src/.libs -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -mieee -g -O2 -D_GNU_SOURCE -mieee -DLOCALEDIR="." -nostdinc++ -I/home/uros/gcc-build/alphaev68-unknown-linux-gnu/libstdc++-v3/include/alphaev68-unknown-linux-gnu -I/home/uros/gcc-build/alphaev68-unknown-linux-gnu/libstdc++-v3/include -I/home/uros/gcc-svn/trunk/libstdc++-v3/libsupc++ -I/home/uros/gcc-svn/trunk/libstdc++-v3/include/backward -I/home/uros/gcc-svn/trunk/libstdc++-v3/testsuite/util /home/uros/gcc-svn/trunk/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc -std=c++0x ./libtestc++.a -Wl,--gc-sections -lm -o ./default.exe (timeout = 600) spawn /home/uros/gcc-build/./gcc/g++ -shared-libgcc -B/home/uros/gcc-build/./gcc -nostdinc++ -L/home/uros/gcc-build/alphaev68-unknown-linux-gnu/libstdc++-v3/src -L/home/uros/gcc-build/alphaev68-unknown-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/alphaev68-unknown-linux-gnu/bin/ -B/usr/local/alphaev68-unknown-linux-gnu/lib/ -isystem /usr/local/alphaev68-unknown-linux-gnu/include -isystem /usr/local/alphaev68-unknown-linux-gnu/sys-include -B/home/uros/gcc-build/alphaev68-unknown-linux-gnu/./libstdc++-v3/src/.libs -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -mieee -g -O2 -D_GNU_SOURCE -mieee -DLOCALEDIR="." -nostdinc++ -I/home/uros/gcc-build/alphaev68-unknown-linux-gnu/libstdc++-v3/include/alphaev68-unknown-linux-gnu -I/home/uros/gcc-build/alphaev68-unknown-linux-gnu/libstdc++-v3/include -I/home/uros/gcc-svn/trunk/libstdc++-v3/libsupc++ -I/home/uros/gcc-svn/trunk/libstdc++-v3/include/backward -I/home/uros/gcc-svn/trunk/libstdc++-v3/testsuite/util /home/uros/gcc-svn/trunk/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc -std=c++0x ./libtestc++.a -Wl,--gc-sections -lm -o ./default.exe^M In file included from /home/uros/gcc-build/alphaev68-unknown-linux-gnu/libstdc++-v3/include/ext/random:1146:0,^M from /home/uros/gcc-svn/trunk/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc:24:^M /space/uros/gcc-svn/trunk/libstdc++-v3/include/ext/random.tcc: In function 'bool __gnu_cxx::operator==(const __gnu_cxx::simd_fast_mersenne_twister_engine<_UIntType, __m, __pos1, __sl1, __sl2, __sr1, __sr2, __msk1, __msk2, __msk3, __msk4, __parity1, __parity2, __parity3, __parity4>&, const __gnu_cxx::simd_fast_mersenne_twister_engine<_UIntType, __m, __pos1, __sl1, __sl2, __sr1, __sr2, __msk1, __msk2, __msk3, __msk4, __parity1, __parity2, __parity3, __parity4>&)':^M /space/uros/gcc-svn/trunk/libstdc++-v3/include/ext/random.tcc:331:61: error: 'state_size' was not declared in this scope^M return (std::equal(__lhs._M_stateT, __lhs._M_stateT + state_size,^M ^^M The offending code is protected with: #ifndef _GLIBCXX_OPT_HAVE_RANDOM_SFMT_OPERATOREQUAL Obviously, this is not defined on alpha.