I'm trying to do a Prefix bootstrap on a Starfive VisionFive 2 (RISC-V), and during the 2nd stage the build of sys-devel/gcc-12.2.1_p20221231 fails due to: In file included from /nvme/gentoo/tmp/var/tmp/portage/sys-devel/gcc-12.2.1_p20221231/work/gcc-12-20221231/libgcc/../gcc/tsystem.h:87, from /nvme/gentoo/tmp/var/tmp/portage/sys-devel/gcc-12.2.1_p20221231/work/gcc-12-20221231/libgcc/libgcc2.c:27: /usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory 27 | #include <bits/libc-header-start.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. The file is available (on the host, at least; I don't know if it should be somewhere in the Prefix build dir?) in: /usr/include/riscv64-linux-gnu/bits/libc-header-start.h Reproducible: Always
Created attachment 848348 [details] GCC build logs