Created attachment 777338 [details] build.log Reliably reproduces with stable gcc-10 and gcc-11: /var/tmp/portage/dev-lang/php-8.0.16-r1/work/sapis-build/cli/ext/fileinfo/libmagic/apprentice.c:190:1: internal compiler error: Segmentation fault 190 | struct type_tbl_s { | ^~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.gentoo.org/> for instructions. make: *** [Makefile:664: ext/fileinfo/libmagic/apprentice.lo] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: dev-lang/php-8.0.16-r1::gentoo failed (compile phase): * emake failed
Internal compiler errors (ICEs) are always compiler bugs, not package bugs. Please do a memtest first (ICEs are often the result of bad memory). If that passes, please proceed to following https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide. We can help as needed.
(please also include emerge --info)