[distcc] distcc fails when building linux kernel on gentoo

Martin Pool mbp at sourcefrog.net
Thu Feb 24 09:31:44 GMT 2005


On 24 Feb 2005, Michelasso <qzerty at gmail.com> wrote:
> On Thu, 24 Feb 2005 20:01:59 +1100, Martin Pool <mbp at sourcefrog.net> wrote:
> 
> > > I don't think this is the problem since gcc is newer in the pc where
> > > the distributed compilation fails (3.3.5 vs 3.3.4). Moreover the flag
> > > declaration-after-statement is present in both Makefiles in the two
> > > pc's, and since it does not cause any problem when building locally, I
> > > am starting to suspect this is a bug of the distcc implementation on
> > > Gentoo.
> > 
> > Please try compiling a file with that option on both machines.
> 
> Building the linux kernel locally on both machines isn't enough (since
> this operation uses the Makefile, and in both Makefiles* that option
> is present)?
> 
> *the line in the Makefile is:
> # warn about C99 declaration after statement
> CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)

No, because that line only switches on if the compiler supports the
option.  That's what the cc-option macro does.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20050224/144885ae/attachment-0001.bin


More information about the distcc mailing list