[distcc] Compiling kernel

Michal Nazarewicz mina86 at mina86.com
Thu Apr 14 08:24:37 MDT 2011

Hello everyone,

I've recently tried to configure distcc with ccache to speed-up
compilation of the Linux kernel.  The end result is that distcc
refuses to distribute the work with message like so:

	distcc[27269] (dcc_scan_args) scanning arguments: cc -D__KERNEL__
		-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
		-fno-strict-aliasing -fno-common
		-Werror-implicit-function-declaration -Wno-format-security
		-fno-delete-null-pointer-checks -Os -m64 -mtune=generic
		-mno-red-zone -mcmodel=kernel -funit-at-a-time
		-maccumulate-outgoing-args -fstack-protector
		-pipe -Wno-sign-compare -fno-asynchronous-unwind-tables
		-mno-sse -mno-mmx -mno-sse2 -mno-3dnow
		-Wframe-larger-than=2048 -fno-omit-frame-pointer
		-fno-optimize-sibling-calls -g -femit-struct-debug-baseonly
		-c -xc /dev/null -o .27268.tmp
	(dcc_scan_args) gcc's -x handling is complex; running locally

This happens both when using ccache or not.

I'm wondering whether I am doing something wrong? Or did Linux recently
added the -x option to compilation command?

I could not find any implication on the Internet that distcc won't work
compiling the Linux kernel (and in fact found implications that it will).

Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michal "mina86" Nazarewicz    (o o)
ooo +-----<email/xmpp: mnazarewicz at google.com>-----ooO--(_)--Ooo--

More information about the distcc mailing list