DragonFly BSD
DragonFly bugs List (threaded) for 2004-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: buildworld fails with distcc, buildkernel works fine though


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Fri, 15 Oct 2004 00:38:10 +0200

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
Description: This is a digitally signed message part



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]