[distcc] Problems building packages on gentoo with distcc
Robert Ågren
robert at profecta.se
Tue Jan 6 18:52:23 GMT 2004
I hope somebody could help me with this, i've searched everywhere for a
solution but haven't found one.
I'm using distcc (Gentoo Ebuild v. 2.11.1 & ccache (Gentoo Ebuild v. 2.3
) when compiling with GCC (Gentoo Ebuild v. 3.2.3).
My platform is Gentoo with a Linux 2.4.22 Alan Cox patched kernel.
The error only accurs when I use distcc and occurs regardless of package
emerging. I've also tried just using distcc on only my localhost (and
not my cygwin host) but I get the same error.
When emerging I get following errormessage:
Code:
g++ -shared -nostdlib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crti.o /usr/lib/gcc
-lib/i686-pc-linux-gnu/3.2.3/crtbeginS.o .libs/myview.o
.libs/kwifimanager_kickerapplet.o
.libs/kwifimanager_kickerapplet.moc.o
.libs/libkwifimanager_kickerapplet_la_meta_unload.o
-Wl,--rpath -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
-L/usr/i686-pc-linux-gnu/lib -L/u
sr/i686-pc-linux-gnu/bin -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
-L/usr/lib/gcc-lib/i686
-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/lib
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/
3.2.3/../../.. /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.so -lm
-lc -lgcc_s -lc /u
sr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/crtendS.o
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/.
./../../crtn.o -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe
-fno-exceptions -fno-check-ne
w -Wl,-soname -Wl,libkwifimanager_kickerapplet.so.1 -o
.libs/libkwifimanager_kickerapplet.s
o.1.0.0
.libs/myview.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[3]: *** [libkwifimanager_kickerapplet.la] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kwifimanager-1.0.1/work/kwifimanager-1.0.1/kwi
fimanager/kickerapplet'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kwifimanager-1.0.1/work/kwifimanager-1.0.1/kwi
fimanager'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kwifimanager-1.0.1/work/kwifimanager-1.0.1'
make: *** [all] Error 2
!!! ERROR: net-wireless/kwifimanager-1.0.1 failed.
!!! Function kde_src_compile, Line 123, Exitcode 2
!!! died running emake, kde_src_compile:make
And the distcc log says
Code:
distcc[626] (dcc_trace_version) distcc 2.11.1 i686-pc-linux-gnu; built
Nov 4 2003 16:42:49
distcc[626] (dcc_recursion_safeguard) safeguard level=0
distcc[626] (dcc_set_path) setting
PATH=/sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin
distcc[626] (dcc_scan_args) scanning arguments: g++ -shared -nostdlib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crti.o
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/crtbeginS.o .libs/myview.o
.libs/kwifimanager_kickerapplet.o .libs/kwifimanager_kickerapplet.moc.o
.libs/libkwifimanager_kickerapplet_la_meta_unload.o -Wl,--rpath
-Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
-L/usr/i686-pc-linux-gnu/lib -L/usr/i686-pc-linux-gnu/bin
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../.. /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.so -lm -lc -lgcc_s -lc /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/crtendS.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crtn.o -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -Wl,-soname -Wl,libkwifimanager_kickerapplet.so.1 -o .libs/libkwifimanager_kickerapplet.so.1.0.0
distcc[626] (dcc_scan_args) found object/output file
"/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crti.o"
distcc[626] (dcc_scan_args) found object/output file
"/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/crtbeginS.o"
distcc[626] (dcc_scan_args) called for link? i give up
distcc[626] (dcc_lock_host) got cpu lock on localhost slot 0 as fd6
distcc[626] exec on localhost: g++ -shared -nostdlib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crti.o
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/crtbeginS.o .libs/myview.o
.libs/kwifimanager_kickerapplet.o .libs/kwifimanager_kickerapplet.moc.o
.libs/libkwifimanager_kickerapplet_la_meta_unload.o -Wl,--rpath
-Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
-L/usr/i686-pc-linux-gnu/lib -L/usr/i686-pc-linux-gnu/bin
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../.. /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.so -lm -lc -lgcc_s -lc /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/crtendS.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crtn.o -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -Wl,-soname -Wl,libkwifimanager_kickerapplet.so.1 -o .libs/libkwifimanager_kickerapplet.so.1.0.0
distcc[626] (dcc_note_state) note state 5, file "(NULL)", host
"localhost"
distcc[626] (dcc_spawn_child) forking to execute: g++ -shared -nostdlib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crti.o
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/crtbeginS.o .libs/myview.o
.libs/kwifimanager_kickerapplet.o .libs/kwifimanager_kickerapplet.moc.o
.libs/libkwifimanager_kickerapplet_la_meta_unload.o -Wl,--rpath
-Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
-L/usr/i686-pc-linux-gnu/lib -L/usr/i686-pc-linux-gnu/bin
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../.. /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.so -lm -lc -lgcc_s -lc /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/crtendS.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crtn.o -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -Wl,-soname -Wl,libkwifimanager_kickerapplet.so.1 -o .libs/libkwifimanager_kickerapplet.so.1.0.0
distcc[626] (dcc_spawn_child) child started as pid627
distcc[627] (dcc_increment_safeguard) setting safeguard:
_DISTCC_SAFEGUARD=1
distcc[626] (dcc_collect_child) cc child 627 terminated with status
0x100
distcc[626] (dcc_collect_child) cc times: user 0.000000s, system
0.010000s, 888 minflt, 707 majflt
distcc[626] ERROR: compile on localhost failed
distcc[626] elapsed compilation time 0.018923s
distcc[626] (dcc_exit) exit: code 1; self: 0.010000 user 0.000000 sys;
children: 0.000000 user 0.010000 sys
distcc[626] (dcc_cleanup_tempfiles) deleted 0 temporary files
distcc[626] (dcc_trace_version) distcc 2.11.1 i686-pc-linux-gnu; built
Nov 4 2003 16:42:49
distcc[626] (dcc_recursion_safeguard) safeguard level=0
distcc[626] (dcc_set_path) setting
PATH=/sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin
distcc[626] (dcc_scan_args) scanning arguments: g++ -shared -nostdlib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crti.o
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/crtbeginS.o .libs/myview.o
.libs/kwifimanager_kickerapplet.o .libs/kwifimanager_kickerapplet.moc.o
.libs/libkwifimanager_kickerapplet_la_meta_unload.o -Wl,--rpath
-Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
-L/usr/i686-pc-linux-gnu/lib -L/usr/i686-pc-linux-gnu/bin
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../.. /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.so -lm -lc -lgcc_s -lc /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/crtendS.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crtn.o -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -Wl,-soname -Wl,libkwifimanager_kickerapplet.so.1 -o .libs/libkwifimanager_kickerapplet.so.1.0.0
distcc[626] (dcc_scan_args) found object/output file
"/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crti.o"
distcc[626] (dcc_scan_args) found object/output file
"/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/crtbeginS.o"
distcc[626] (dcc_scan_args) called for link? i give up
distcc[626] (dcc_lock_host) got cpu lock on localhost slot 0 as fd6
distcc[626] exec on localhost: g++ -shared -nostdlib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crti.o
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/crtbeginS.o .libs/myview.o
.libs/kwifimanager_kickerapplet.o .libs/kwifimanager_kickerapplet.moc.o
.libs/libkwifimanager_kickerapplet_la_meta_unload.o -Wl,--rpath
-Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
-L/usr/i686-pc-linux-gnu/lib -L/usr/i686-pc-linux-gnu/bin
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../.. /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.so -lm -lc -lgcc_s -lc /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/crtendS.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crtn.o -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -Wl,-soname -Wl,libkwifimanager_kickerapplet.so.1 -o .libs/libkwifimanager_kickerapplet.so.1.0.0
distcc[626] (dcc_note_state) note state 5, file "(NULL)", host
"localhost"
distcc[626] (dcc_spawn_child) forking to execute: g++ -shared -nostdlib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crti.o
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/crtbeginS.o .libs/myview.o
.libs/kwifimanager_kickerapplet.o .libs/kwifimanager_kickerapplet.moc.o
.libs/libkwifimanager_kickerapplet_la_meta_unload.o -Wl,--rpath
-Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
-L/usr/i686-pc-linux-gnu/lib -L/usr/i686-pc-linux-gnu/bin
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../.. /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.so -lm -lc -lgcc_s -lc /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/crtendS.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crtn.o -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -Wl,-soname -Wl,libkwifimanager_kickerapplet.so.1 -o .libs/libkwifimanager_kickerapplet.so.1.0.0
distcc[626] (dcc_spawn_child) child started as pid627
distcc[627] (dcc_increment_safeguard) setting safeguard:
_DISTCC_SAFEGUARD=1
distcc[626] (dcc_collect_child) cc child 627 terminated with status
0x100
distcc[626] (dcc_collect_child) cc times: user 0.000000s, system
0.010000s, 888 minflt, 707 majflt
distcc[626] ERROR: compile on localhost failed
distcc[626] elapsed compilation time 0.018923s
distcc[626] (dcc_exit) exit: code 1; self: 0.010000 user 0.000000 sys;
children: 0.000000 user 0.010000 sys
distcc[626] (dcc_cleanup_tempfiles) deleted 0 temporary files
Anybody have a clue?
Robert Ågren
More information about the distcc
mailing list