buildworld fails with distcc, buildkernel works fine though

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Thu Oct 14 15:39:01 PDT 2004


On 14.10.2004, at 23:21, Daimao wrote:
===> usr.bin/cc34/libbackend
/usr/local/bin/distcc -O -pipe
-I/usr/obj/usr/src/gnu/usr.bin/cc34/libbackend//../cc_prep
-I/usr/src/gnu/usr.bin/cc34/libbackend//../cc_prep
-I/usr/src/gnu/usr.bin/cc34/libbackend//../../../../contrib/gcc-3.4/gcc
-I/usr/src/gnu/usr.bin/cc34/libbackend//../../../../contrib/gcc-3.4/ 
gcc/config
-I/usr/src/gnu/usr.bin/cc34/libbackend//../../../../contrib/gcc-3.4/ 
include
-DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -DPREFIX1=\"/usr\"
-DPREFIX2=\"/usr\" -DSTACK_PROTECTOR
-I/usr/src/gnu/usr.bin/cc34/libbackend/../config -I.
-DTARGET_NAME=\"i386-just-dragonflybsd\"
-I/usr/obj/usr/src/gnu/usr.bin/cc34/libbackend//../cc_prep
-I/usr/src/gnu/usr.bin/cc34/libbackend//../cc_prep
-I/usr/src/gnu/usr.bin/cc34/libbackend//../../../../contrib/gcc-3.4/gcc
-I/usr/src/gnu/usr.bin/cc34/libbackend//../../../../contrib/gcc-3.4/ 
gcc/config
-I/usr/src/gnu/usr.bin/cc34/libbackend//../../../../contrib/gcc-3.4/ 
include
-DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -DPREFIX1=\"/usr\"
-DPREFIX2=\"/usr\" -DSTACK_PROTECTOR  -c
/usr/src/gnu/usr.bin/cc34/libbackend//../cc_prep/protector.c -o
protector.o
/usr/src/gnu/usr.bin/cc34/libbackend//../cc_prep/protector.c: In
function `prepare_stack_protection':
/usr/src/gnu/usr.bin/cc34/libbackend//../cc_prep/protector.c:161:
`flag_stack_protection' undeclared (first use in this function)
/usr/src/gnu/usr.bin/cc34/libbackend//../cc_prep/protector.c:161:
(Each undeclared identifier is reported only once
/usr/src/gnu/usr.bin/cc34/libbackend//../cc_prep/protector.c:161: for
each function it appears in.)
/usr/src/gnu/usr.bin/cc34/libbackend//../cc_prep/protector.c:167:
`warn_stack_protector' undeclared (first use in this function)
/usr/src/gnu/usr.bin/cc34/libbackend//../cc_prep/protector.c: In
function `get_frame_free_size':
/usr/src/gnu/usr.bin/cc34/libbackend//../cc_prep/protector.c:1895:
`flag_propolice_protection' undeclared (first use in this function)
distcc[91189] ERROR: compile
/usr/src/gnu/usr.bin/cc34/libbackend//../cc_prep/protector.c on
localhost failed
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

Oh well, I guess that's the end of the road.  It was fun though.
That's exactly the problem. distcc calls gcc to do some preprocessing  
and then calls (via distccd) gcc (on localhost) to get the code  
compiled. But it doesn't call the same gcc that would have been called  
without distcc (OBJFORMAT_PATH, CCVER). If this compiler was available  
at all participating boxes and if this compiler also was called from  
distcc, then stuff would work, I think.

cheers
  simon
--
/"\
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
Attachment:
PGP.sig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00002.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20041014/5c91ac04/attachment-0022.obj>


More information about the Bugs mailing list