[distcc] Re: Cross-platform corruption problems?

Kris Kennaway kris at obsecurity.org
Mon Jan 13 08:05:00 GMT 2003

On Sun, Jan 12, 2003 at 10:48:06PM -0800, Kris Kennaway wrote:
> I am trying to use distcc 0.15 with a cross-compiler to compile code
> for a different architecture (FreeBSD/sparc64 cross-compiler on
> FreeBSD/i386 distccd host).  The gcc 3.2.1 cross-compiler suite is set
> up and works locally, but I am seeing problems when distcc submits the
> .i file to the server: it appears to be received badly corrupted.
> Using DISTCC_SAVE_TEMPS and comparing with an .i file generated
> locally by gcc, the two .i files are the same length, but the one
> saved on the server is mostly full of binary garbage.  I've attached
> the two (compressed) files for comparison.
> Any ideas?

Disabling HAVE_SENDFILE on the sparc64 client "fixes" this problem.
I've also seen it on FreeBSD/alpha, so I suspect something is wrong
with the distcc code.


More information about the distcc mailing list