On Wed, Nov 7, 2012 at 12:57 PM, <zooey@xxxxxxxxxxxxxxx> wrote: > ############################################################################ > > Revision: hrev44803 > Commit: 29468041f9a2dcc863ceb6c52007fff769d8fd97 > URL: http://cgit.haiku-os.org/haiku/commit/?id=2946804 > Author: Oliver Tappe <zooey@xxxxxxxxxxxxxxx> > Date: Wed Nov 7 20:56:20 2012 UTC > > Explicitly use -j1 when building gcc2 > > * specifying -j1 guards against potential multi-job arguments in > MAKEFLAGS > > ---------------------------------------------------------------------------- > > diff --git a/build/scripts/build_cross_tools b/build/scripts/build_cross_tools > index 218a825..cc7c63d 100755 > --- a/build/scripts/build_cross_tools > +++ b/build/scripts/build_cross_tools > @@ -97,7 +97,7 @@ cd $binutilsObjDir > CFLAGS="-O2" CXXFLAGS="-O2" $buildToolsDir/binutils/configure \ > --prefix=$installDir --target=i586-pc-haiku --disable-nls \ > --enable-shared=yes --disable-werror || exit 1 > -make $additionalMakeArgs || exit 1 > +make -j1 $additionalMakeArgs || exit 1 > make $additionalMakeArgs install || exit 1 > > PATH=$PATH:$installDir/bin > @@ -157,7 +157,7 @@ eval "sed $sedExpr Makefile.bak > Makefile" || exit 1 > rm Makefile.bak > > # make gcc > -make cross || { > +make -j1 cross || { > echo "ERROR: Building gcc failed." >&2 > exit 1 > } Apparently this change causes gcc2 buildtools creation to fail on freebsd. It was only discovered recently, and git bisect led me back to this change. To see the failure results, you can check here: http://mmadia.dyndns.org:8010/builders/buildtools_mmadia-fbsd/builds/30/steps/x86gcc2-build-cross-tools/logs/stdio - Urias