https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123193

--- Comment #2 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
This has started to fail for cris-elf too, just with different error messages.
Not completely sure whether I should tag along in this PR or open a new one,
but since the former is easiest...

Last known working: r17-1455-g811cc466193d7e
First known failing: r17-1813-gc2ea08d913db44

In g++.log (with cut-n-pasto line-terminations):
spawn -ignore SIGHUP /gccobj/gcc/testsuite/g++/../../xg++
-B/gccobj/gcc/testsuite/g++/../../ /gccsrc/gcc/testsuite/g++.\
dg/modules/compile-std1.C -fdiagnostics-plain-output -nostdinc++
-I/gccobj/cris-elf/libstdc++-v3/include/cris-elf -I/gc\
cobj/cris-elf/libstdc++-v3/include -I/gccsrc/libstdc++-v3/libsupc++
-I/gccsrc/libstdc++-v3/include/backward -I/gccsrc/l\
ibstdc++-v3/testsuite/util -fmessage-length=0 -std=c++29 -pedantic-errors
-Wno-long-long -fmodules --compile-std-module\
 -g -O -flang-info-include-translate -S -isystem
/gccobj/cris-elf/./newlib/targ-include -isystem /gccsrc/newlib/libc/in\
clude -o compile-std1.s
cc1plus: fatal error: bits/std.cc: No such file or directory
compilation terminated.
cc1plus: fatal error: bits/std.compat.cc: No such file or directory
compilation terminated.
/gccsrc/gcc/testsuite/g++.dg/modules/compile-std1.C:10:10: note: include
'/gccobj/cris-elf/libstdc++-v3/include/cris-el\
f/bits/stdc++.h' translated to import
In module imported at /gccsrc/gcc/testsuite/g++.dg/modules/compile-std1.C:8:1:
std: error: failed to read compiled module: No such file or directory
std: note: compiled module file is 'gcm.cache/std.gcm'
std: note: imports must be built before being imported
std: fatal error: returning to the gate for a mechanical issue
compilation terminated.
compiler exited with status 1
PASS: g++.dg/modules/compile-std1.C -std=c++29  (test for warnings, line 10)
FAIL: g++.dg/modules/compile-std1.C -std=c++29 (test for excess errors)
Excess errors:
cc1plus: fatal error: bits/std.cc: No such file or directory
compilation terminated.
cc1plus: fatal error: bits/std.compat.cc: No such file or directory
compilation terminated.
std: error: failed to read compiled module: No such file or directory
std: fatal error: returning to the gate for a mechanical issue
compilation terminated.

The notes are expected, the errors are new.

Reply via email to