https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117184
Bug ID: 117184 Summary: m2 fails with "terminate called after throwing an instance of 'unsigned int'" with LRA on alpha Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de CC: macro at orcam dot me.uk, mcree at orcon dot net.nz, ubizjak at gmail dot com Target Milestone: --- Host: alpha-*-* Trying to bootstrap GCC with LRA enabled on alpha with --with-cpu=ev56 fails while building m2 with: m2/pge -k -l ../../gcc/m2/gm2-compiler/P2Build.bnf -o m2/gm2-compiler-boot/P2Build.mod m2/pge -k -l ../../gcc/m2/gm2-compiler/P3Build.bnf -o m2/gm2-compiler-boot/P3Build.mod m2/pge -k -l ../../gcc/m2/gm2-compiler/PHBuild.bnf -o m2/gm2-compiler-boot/PHBuild.mod m2/pge -k -l ../../gcc/m2/gm2-compiler/PCBuild.bnf -o m2/gm2-compiler-boot/PCBuild.mod m2/pge -k -l ../../gcc/m2/gm2-compiler/P1Build.bnf -o m2/gm2-compiler-boot/P1Build.mod m2/pge -k -l ../../gcc/m2/gm2-compiler/P0SyntaxCheck.bnf -o m2/gm2-compiler-boot/P0SyntaxCheck.mod terminate called after throwing an instance of 'unsigned int' make[3]: *** [../../gcc/m2/Make-lang.in:1778: m2/gm2-compiler-boot/P2Build.mod] Aborted make[3]: *** Deleting file 'm2/gm2-compiler-boot/P2Build.mod' make[3]: *** Waiting for unfinished jobs.... terminate called after throwing an instance of 'unsigned int' make[3]: *** [../../gcc/m2/Make-lang.in:1778: m2/gm2-compiler-boot/P0SyntaxCheck.mod] Aborted make[3]: *** Deleting file 'm2/gm2-compiler-boot/P0SyntaxCheck.mod' terminate called after throwing an instance of 'unsigned int' make[3]: *** [../../gcc/m2/Make-lang.in:1778: m2/gm2-compiler-boot/P1Build.mod] Aborted make[3]: *** Deleting file 'm2/gm2-compiler-boot/P1Build.mod' terminate called after throwing an instance of 'unsigned int' make[3]: *** [../../gcc/m2/Make-lang.in:1778: m2/gm2-compiler-boot/P3Build.mod] Aborted make[3]: *** Deleting file 'm2/gm2-compiler-boot/P3Build.mod' terminate called after throwing an instance of 'unsigned int' make[3]: *** [../../gcc/m2/Make-lang.in:1778: m2/gm2-compiler-boot/PHBuild.mod] Aborted make[3]: *** Deleting file 'm2/gm2-compiler-boot/PHBuild.mod' terminate called after throwing an instance of 'unsigned int' make[3]: *** [../../gcc/m2/Make-lang.in:1778: m2/gm2-compiler-boot/PCBuild.mod] Aborted make[3]: *** Deleting file 'm2/gm2-compiler-boot/PCBuild.mod' rm gfdl.pod gcc.pod gfortran.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod gpl.pod cpp.pod gcov.pod lto-dump.pod make[3]: Leaving directory '/home/glaubitz/gcc.git/build/gcc' make[2]: *** [Makefile:5100: all-stage2-gcc] Error 2 make[2]: Leaving directory '/home/glaubitz/gcc.git/build' make[1]: *** [Makefile:26844: stage2-bubble] Error 2 make[1]: Leaving directory '/home/glaubitz/gcc.git/build' make: *** [Makefile:1105: all] Error 2 Disabling m2 makes the bootstrap build succeed with LRA enabled.