pump mode & compile linux kernel: possible?

View: New views
2 Messages — Rating Filter:   Alert me  

pump mode & compile linux kernel: possible?

by Joey Korkames-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

Thanks
joey
__
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/distcc

Re: pump mode & compile linux kernel: possible?

by Fergus Henderson-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Jun 27, 2009 at 2:28 AM, Joey Korkames <joey%2Blists@...> 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@...>

__
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/distcc