[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1237576568.4667.34.camel@laptop>
Date: Fri, 20 Mar 2009 20:16:08 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Sam Ravnborg <sam@...nborg.org>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: [PATCH] kbuild: work around distcc/icecc madness
On Fri, 2009-03-20 at 17:00 +0100, Thomas Gleixner wrote:
> On Fri, 20 Mar 2009, Peter Zijlstra wrote:
> > Yes, this makes it mostly work again... however,
> >
> > On -linus I can do:
> >
> > # cat distmake
> >
> > #!/bin/bash
> >
> > ARCH=$1; shift
> >
> > export LD="nice -n19 ${ARCH}-linux-ld"
> > export AS="distcc ${ARCH}-linux-as"
> > export CC="distcc ${ARCH}-linux-gcc"
> >
> > make LD="$LD" AS="$AS" CC="$CC" -j $DISTCC_SLOTS "$@"
> >
> > # distmake x86_64 bzImage
> >
> > to build the tree, and then use:
> >
> > # make install
> >
> > to install the resulting image. Note how the second make will use the
> > system gcc and not the distcc with cross arch toolchain.
> >
> > This will still start a full rebuild on -tip. When I change my script to
> > use distmake x86_64 install, things work again after this patch.
>
> Changing from distcc to gcc will start a full rebuild on linus tree as
> well.
I just tried:
root@...ns:/mnt/build/linux-2.6# /mnt/md0/cross/bin/x86_64-linux-gcc --version
x86_64-linux-gcc (GCC) 4.3.1 20080510 (prerelease)
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@...ns:/mnt/build/linux-2.6# gcc --version
gcc (Ubuntu 4.3.2-1ubuntu12) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The build with the distcc x86_64-linux-gcc compiler and the install
using the host compiler works just fine on Linus' tree.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists