https://archives.gentoo.org/gentoo-releng-autobuilds/message/49e7c8da9be86b7a0615437778624bdb make[3]: Entering directory '/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/build/gcc' alpha-unknown-linux-gnu-g++ -std=c++11 -fno-PIE -c -fno-PIE -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-12-20220625/gcc -I/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-12-20220625/gcc/. -I/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-12-20220625/gcc/../include -I/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-12-20220625/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-12-20220625/gcc/../libcody -I/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-12-20220625/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-12-20220625/gcc/../libdecnumber/dpd -I../libdecnumber -I/var/tmp/portage/sys-devel/gcc-12 .1.1_p20220625/work/gcc-12-20220625/gcc/../libbacktrace -o dwarf2out.o -MT dwarf2out.o -MMD -MP -MF ./.deps/dwarf2out.TPo /var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-12-20220625/gcc/dwarf2out.cc /var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/temp/ccSmvMs6.s: Assembler messages: /var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/temp/ccSmvMs6.s: Internal error (Segmentation fault). Please report this bug. alpha-unknown-linux-gnu-g++: internal compiler error: Segmentation fault signal terminated program as Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.gentoo.org/> for instructions. make[3]: *** [Makefile:1144: dwarf2out.o] Error 4
1. Full build.log and emerge --info :) 2. We want to get the exact command which causes the segfault, then we can use gcc -v and such to get the command used to invoke the assembler. We can then report a bug with the bad .s & command.
This disappeared on its own again...