[distcc] pump mode & compile linux kernel: possible?

Fergus Henderson fergus.henderson at gmail.com
Wed Jul 1 02:40:22 GMT 2009


On Sat, Jun 27, 2009 at 2:28 AM, Joey Korkames
<joey+lists at kidfixit.com<joey%2Blists at kidfixit.com>
> 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 <fergus.henderson at gmail.com>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the distcc mailing list