[distcc] Yet another compile failure

Martin Pool mbp at sourcefrog.net
Sat Sep 13 05:56:56 GMT 2003


On Fri 2003-09-12, Russel Hill wrote:

> Here's the first:
> ==============================================================
> m68k-elf-g++ -m5307 -DCONFIG_COLDFIRE -isystem \
> /home/xp/uClinux/lib/uClibc/include/bits -c  -O1 -g  -Dlinux \
> -D__linux__  -Dunix -D__uClinux__ -DEMBED \
> I/home/xp/uClinux/lib/uClibc/include -I/home/xp/uClinux/lib/libm \
> -I/home/xp/uClinux -fno-builtin -msep-data \
> -I/home/xp/uClinux/linux-2.4.x/include   -DCOLDFIRE -Wa,-m5307 \
> -g -Wall -I.. driver.cpp -o coldfire/driver.o
[...]
> distcc[3930] exec on localhost: m68k-elf-g++ -m5307 -DCONFIG_COLDFIRE 
> -isystem /home/xp/uClinux/lib/uClibc/include/bits -c -O1 -g -Dlinux 
> -D__linux__ -Dunix -D__uClinux__ -DEMBED 
> -I/home/xp/uClinux/lib/uClibc/include -I/home/xp/uClinux/lib/libm 
> -I/home/xp/uClinux -fno-builtin -msep-data 
> -I/home/xp/uClinux/linux-2.4.x/include -DCOLDFIRE -Wa,-m5307 -g -Wall 
> -I.. driver.cpp -o coldfire/driver.o

This seems to show that distcc just ran this command directly on
localhost.  Can you try running this by hand to see if it works?  Please
make sure there is not more than one version of m68k-elf-g++ installed
on the machine.  distcc might be using one from a directory that you
didn't expect.

> The second failing compile is strange:
> ==============================================================
> g++ -c  -g -Wall -I.. -DDESKTOP -I/usr/include/stlport \
> -ftemplate-depth-31 CameraSimTest.cpp -o desktop/CameraSimTest.o
> 
> It's output
> ==============================================================
> g++: Internal error: Killed (program cc1plus)
> Please submit a full bug report.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> For Debian GNU/Linux specific bugs,
> please see /usr/share/doc/debian/bug-reporting.txt.
> 
> make[2]: *** [desktop/CameraSimTest.o] Error 1
> make[1]: *** [all] Error 1
> make: *** [camera] Error 2

This is a gcc bug, not distcc.  There should be nothing (within reason)
that distcc can do to gcc that will make it fail this way.  Please go
ahead and follow their bug-reporting instructions.

-- mbp



More information about the distcc mailing list