Re: pump mode & compile linux kernel: possible?

Fergus Henderson <[email protected]>
Newsgroups gmane.comp.compilers.distcc
Message-ID <[email protected]>
On Sat, Jun 27, 2009 at 2:28 AM, Joey Korkames
<[email protected]<joey%[email protected]>
> wrote:

> As has been noted elsewhere...
>
> http://blog.electric-cloud.com/2009/01/26/building-linux-26-with-electricaccelerator-and-distcc/#comment-122
> ...pump-mode and a linux-kernel build do not get along - distcc quickly
> degrades to standard mode. Is anybody currently using pump mode to compile
> linux that could share any hints?
> The manapage's notes are out-of-date and do not resolve the problem - I can
> provide build logs if needed.


>From the "bench/ProjectDefs.py" file in the distcc sources:

Project(url='
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.25.tar.bz2',
        md5='db95a49a656a3247d4995a797d333153 *linux-2.6.25.tar.bz2',
        configure_cmd="make V=1 HOSTCC='$(CC)' defconfig",
        build_cmd="make V=1 HOSTCC='$(CC)' bzImage",

include_server_args='--stat_reset_triggers=include/linux/compile.h:include/asm/asm-offsets.h'
        ).register()

So, try setting the INCLUDE_SERVER_ARGS environment variable to
--stat_reset_triggers=include/linux/compile.h:include/asm/asm-offsets.h, and
use the commands listed above (configure_cmd and build_cmd) to configure and
build, e.g.

export
INCLUDE_SERVER_ARGS=--stat_reset_triggers=include/linux/compile.h:include/asm/asm-offsets.h
make V=1 HOSTCC='$(CC)' defconfig
pump make V=1 HOSTCC='$(CC)' bzImage

Does that solve the problem?

-- 
Fergus Henderson <[email protected]>

__ 
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options: 
https://lists.samba.org/mailman/listinfo/distcc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.