--enable-intermodule is trying to building libbackend.o on stage1. Error message: gcc: cannot specify -o with -c or -S and multiple compilations make[4]: *** [libbackend.o] Error 1 make[4]: Leaving directory `/home/pinskia/src/onetest/gcc/objdir/gcc' make[3]: *** [extra] Error 2 make[3]: Leaving directory `/home/pinskia/src/onetest/gcc/objdir/gcc' make[2]: *** [stmp-multilib] Error 2 make[2]: Leaving directory `/home/pinskia/src/onetest/gcc/objdir/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/home/pinskia/src/onetest/gcc/objdir/gcc' make: *** [bootstrap] Error 2 gcc_build: error: Could not bootstrap the compiler
configure options: --prefix=${HOME}/onetest --enable-languages=objc,obj-c++,java,f95 --disable- multilib --enable-intermodule --disable-werror Hmm, IIRC this is not a regression after all and just never worked in the first place.
I think OBJS-onestep is not being passed to make when building libgcc.
Confirmed by other people on IRC.
This is fixed with the toplevel bootstrap but I am waiting for the regressions associated with the toplevel bootstrap to close this bug.
Fixed for 4.2.0 by enabling of toplevel bootstrap.