I tried to run the bootstrap-prefix.sh script (commit 10296d4b, 2023-09-11 12:37:44 +0200) with RAP support disabled. During stage3, I met the following error: configure: error: *** A compiler with support for C++11 language features is required. * ERROR: sys-devel/gcc-12.1.0::gentoo_prefix failed (configure phase): I tried to add export CC="$(tc-getCC)" to the first line of multilib_src_configure function in sys-devel/gcc-12.1.0's ebuild file, but it doesn't help. Reproducible: Always
Created attachment 870904 [details] build.log for sys-devel/gcc-12.1.0
Created attachment 870905 [details] stage3 log file when bootstrapping gentoo-prefix
Could you try find config.log in the build dir and upload it here? It should help with figuring out why the configure test fails.
Created attachment 870934 [details] config.log for sys-devel/gcc-12.1.0
configure:6795: result: no configure:6488: checking whether x86_64-pc-linux-gnu-g++ -lgcc_s supports C++11 features with -h std=c++0x configure:6786: x86_64-pc-linux-gnu-g++ -lgcc_s -h std=c++0x -c conftest.cpp >&5 /ocean/projects/sys890003p/xiaoy/gentoo_34fe8e37/var/tmp/portage/sys-devel/gcc-12.1.0/work/gcc-12.1.0/configure: line 1843: x86_64-pc-linux-gnu-g++: command not found configure:6786: $? = 127 configure: failed program was:
I ran the latest script (commit 3fedadeb 2023-09-16 15:47:06 +0200). It successfully installed sys-devel/gcc-12.1.0 and completed without any other errors.
ok, nice, thanks!