https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106172
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 Last reconfirmed| |2022-07-03 --- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > make[2]: *** [Makefile:20255: all-stage2-target-libgcc] Error 2 > make[2]: Leaving directory '/home/chris/rpm/BUILD/gcc-obj-x86_64-pc-linux-gnu' > make[1]: *** [Makefile:25739: stage2-bubble] Error 2 > make[1]: Leaving directory '/home/chris/rpm/BUILD/gcc-obj-x86_64-pc-linux-gnu' > make: *** [Makefile:1072: all] Error 2 Did you set any CFLAGS or STAGE1_CFLAGS (or CXXFLAGS) env? What the above means is stage1 is being miscompiled. I Noticed you used --disable-checking, these days the default for releases is --enable-checking=release rather than --disable-checking (slightly different though).