https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103907
Bug ID: 103907
Summary: many C++ test failures with --target_board=unix/-m32
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: msebor at gcc dot gnu.org
Target Milestone: ---
I see a large number of C++ tests fail on x86_64-linux with
--target_board=unix/-m32 (but not with -m64). I don't recall having those
failures before with the same invocation. For example:
$ nice time make -C /build/gcc-master/gcc check-c++ CFLAGS='-O0 -g3'
CXXFLAGS='-O0 -g3' STAGE1_CFLAGS='-O0 -g3' STAGE1_CXXFLAGS='-O0 -g3'
RUNTESTFLAGS="dg.exp=*array*.C --target_board=unix/-m32"
...
Running /src/gcc/master/gcc/testsuite/g++.dg/dg.exp ...
FAIL: g++.dg/init/array4.C -std=c++98 (test for excess errors)
FAIL: g++.dg/init/array4.C -std=c++14 (test for excess errors)
FAIL: g++.dg/init/array4.C -std=c++17 (test for excess errors)
FAIL: g++.dg/init/array4.C -std=c++2a (test for excess errors)
FAIL: g++.dg/init/array54.C -std=c++2a (test for excess errors)
=== g++ Summary ===
# of expected passes 2805
# of unexpected failures 5
# of expected failures 60
# of unresolved testcases 1
# of unsupported tests 146
/build/gcc-master/gcc/xg++ version 12.0.0 20220104 (experimental) (GCC)
The excess errors are all the same:
/build/gcc-master/x86_64-pc-linux-gnu/32/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/c++allocator.h:33:10:
fatal error: bits/new_allocator.h: No such file or directory
compilation terminated.