Mickaël Bucas wrote: > > It seems that the command line to compile "genautomata" contains useful > information to understand the cause. > Can you find it in the GCC compile logs ?
I think the command which triggers the error is "build/genautomata ...": make[3]: Entering directory '/var/tmp/portage/sys-devel/gcc-11.3.0/work/build/gcc' build/genautomata /var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc/common.md /var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc/config/i386/i386.md \ insn-conditions.md > tmp-automata.c make[3]: *** [Makefile:2456: s-automata] Error 139 make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-11.3.0/work/build/gcc' make[3]: *** Waiting for unfinished jobs.... dmesg: [10789.040085] genautomata[5619]: segfault at bfa80ffc ip b775f23b sp bfa81000 error 6 in genautomata[b7755000+44000] Former lines in "build.log" containing "genautomata" are just these two: i686-pc-linux-gnu-g++ -std=c++11 -c -DEXTRA_OPTIONS -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc -I/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc/build -I/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc/../include -I/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc/../libcpp/include \ -o build/genautomata.o /var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc/genautomata.c and, a bit later i686-pc-linux-gnu-g++ -std=c++11 -DEXTRA_OPTIONS -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc -Wl,-O1 -Wl,--as-needed -o build/genautomata \ build/genautomata.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/sort.o build/read-md.o build/errors.o ../build-i686-pc-linux-gnu/libiberty/libiberty.a -lm which both just look normal, IMHO (no error or other message around them). Meanwhile, I have updated several other Gentoo systems (32 and 64 bit) which all worked well. It's just that one system which brings that error. I have also found https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79827 and made "ulimit -s 32768" (instead of 8192), but to no avail. The only difference is the kernel (4.0.5 on the old system; all others have 4.14.83 oder even some 5.x kernel). On the other hand: the difference between gcc 11.2.1 (which works fine) and 11.3.0 shouldn't be that big?! -Matt