distcc compilation problem in kernel 3.16.0 (Debian)[SOLVED]

Discussion about U-Boot and the kernel.

distcc compilation problem in kernel 3.16.0 (Debian)[SOLVED]

Postby bodhi » Sun Aug 17, 2014 12:07 am

Hi guys,

I'm using this combo for all server and client nodes, all run Debian kernel 3.16.0:
$this->bbcode_second_pass_code('', 'distcc 3.1 arm-unknown-linux-gnueabi
gcc version 4.6.3 (Debian 4.6.3-14) ')

I've noticed my kernel build lately has a lot of distcc COMPILE_ERROR in the remote nodes. The same files were compiled OK on the main server after it fell back. But it does not fail all the time, perhaps about 40% of the jobs were compiled OK on remote nodes.

Anybody seeing this? I thought it might be helpful to double check Arch to see if it's my tool chains problem!

Thanks,
bodhi
Last edited by bodhi on Wed Sep 10, 2014 5:10 am, edited 3 times in total.
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: distcc compilation problem in kernel 3.16.0

Postby moonman » Sun Aug 17, 2014 12:12 am

Are the toolchains the same version? I.E. remote and local versions?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: distcc compilation problem in kernel 3.16.0

Postby WarheadsSE » Sun Aug 17, 2014 12:54 am

Definitely sounds like something is out of sync
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: distcc compilation problem in kernel 3.16.0

Postby bodhi » Sun Aug 17, 2014 1:08 am

Gcc and distcc are the same. Anything else needs to be the same? I did apt-get uprade for all nodes about the same time. What other tools should I verify? Thanks!
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: distcc compilation problem in kernel 3.16.0

Postby bodhi » Wed Aug 20, 2014 3:32 am

I've made sure the same kernel, distcc, and gcc versions are the same. Still seeing this error once in a while :( . Would install kernel headers help in anyway (I never did on remote nodes)? I have also looked at package list with egrep -i '(gcc|libc)') and made sure they matched.

The strange thing is only perhaps 30% to %40 of files failed to compile remotely, but compile OK locally. Are you guys compiling Kirkwood kernel 3.16+ natively with distcc?

Thanks,
-bodhi
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: distcc compilation problem in kernel 3.16.0

Postby kmihelich » Wed Aug 20, 2014 4:17 am

Zero errors on any kernel, all built from ARM devices, distcc to x86. The distcc logs on the x86 machine may be more enlightening, perhaps with --verbose given to distccd.

Also, Debian people would probably be more helpful when you're debugging things on Debian with a Debian toolchain. This thread's subject is misleading, as if you're using our tools or distribution.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: distcc compilation problem in kernel 3.16.0

Postby bodhi » Wed Aug 20, 2014 5:10 am

$this->bbcode_second_pass_quote('kmihelich', 'A')lso, Debian people would probably be more helpful when you're debugging things on Debian with a Debian toolchain. This thread's subject is misleading, as if you're using our tools or distribution.


Sorry kmihelich! I've updated the posts to clarify that.
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: distcc compilation problem in kernel 3.16.0

Postby bodhi » Thu Aug 28, 2014 6:38 am

Thanks to all those who replied! I did what kmihelich suggested, turning --verbose on (both client and server). Still not apparent what the problem was, it just failed with internal error 0x100.

So I downgraded the kernel on the distccd boxes (client and server) to 3.14.0. And everything is working fine again.

-bodhi
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: distcc compilation problem in kernel 3.16.0 (Debian)

Postby moonman » Thu Aug 28, 2014 7:40 am

What kernel were you running previously? It could be related to the problem people are having with 3.16
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: distcc compilation problem in kernel 3.16.0 (Debian)

Postby bodhi » Thu Aug 28, 2014 7:59 am

moonman,

Yes it could be, I was running Debian kernel 3.16.0 on all these nodes, trying to compile the next version of 3.16.0.xx. All remote distcc nodes are booting from an NFS root which resides on the compiling node SATA HDD (GoFlex Net). The protocol is NFS v3. All of them are connecting to the same Gb switch. However, the distcc remote nodes only write to their /tmp (i.e. does not use NFS to read/write temp files or log).
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Next

Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 10 guests