https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79827
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |build Target| |x86_64-linux Host| |x86_64-linux Build| |x86_64-linux --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- So I assume this is x86_64-linux. Can you try without --with-boot-ldflags=" -static -static-libgcc " as that is pretty non-standard? Did you make sure to set LD_LIBRARY_PATH in a way that picks up the runtime libraries for the compiler you built on Ubuntu (and are using to build gcc on NI RT Linux)? Doing > ldd gcc/build/genautomata should tell you if there are any odd pickups. You can debug genautomata with > cd gcc > gdb --args build/genautomata /Flash/gcc/build/gcc-6.3.0/gcc/common.md > /Flash/gcc/build/gcc-6.3.0/gcc/config/i386/i386.md insn-conditions.md (gdb) run <crash> (gdb) bt which should give you a backtrace. Of course you need gdb (can use the NI one).