Apache OpenOffice (AOO) Bugzilla – Issue 17447
sparc linux module icu will not build with distcc
Last modified: 2003-12-31 10:08:47 UTC
this depends on issue #9443 module icu builds OK if CC=gcc-3.3.1 and CXX=g++-3.1.1 but will not build with CC=distcc and CXX=distcc. this happens when NOT parallel build -Pxx. but it prevents parallel build by distcc. > distcc -D_REENTRANT -I../../common -I../../common -I./../toolutil > -DHAVE_CONFIG_H -O -c -o genmbcs.o genmbcs.c > distcc -O -Wl,-rpath,'$ORIGIN' -o makeconv makeconv.o ucnvstat.o genmbcs.o > -L../../tools/toolutil -licutoolutil -L../../common -licuuc > -L../../data/out -L../../stubdata -licudata -lpthread -lm > ../../common/libicuuc.so: undefined reference to `vtable for > __cxxabiv1::__si_class_type_info' > ../../common/libicuuc.so: undefined reference to `__gxx_personality_v0' > >
parallel building issue can be looked at later
i suppose it is because 'distcc -D_REENTRANT and/or $ORIGIN' ?? maybe need take this upstream to distcc. i wonder is it on other platforms?
Ken Foskey (foskey@optushome.com.au) writes on 2003-09-01 (display as raw message) From: Ken Foskey <foskey@optushome.com.au> Content-Type: text/plain Date: Tue, 02 Sep 2003 00:13:24 +1000 Subject: Re: [porting-dev] distcc and icu on linux sparc On Sun, 2003-08-31 at 22:56, Jim Watson wrote: > sorry i was not real clear - module icu builds fine if i use CC=gcc, CXX=g++. > > i think the problem is with distcc which does not resolve '$ORIGIN', might > be related to -D_REENTRANT ?? , at this stage i am just wondering if other > platforms see this and i will report to distcc, I knew I had seen this somewhere before: Chris Hall had this problem and posted the following... Hi, I hope that this is not the wrong forum for this question. While trying to compile OpenOffice.org 1.0.1 from scratch with gcc 3.0.4 compiled from scratch I am getting the error: libraries: ./tools/unxlngi4.pro/bin/rscdep: undefined symbol: __gxx_personality_v0 This is defined in libstdc++.so.3.0.4 of my newly compiled gcc. Where am I going wrong ? I can work around it by specifying setenv LD_PRELOAD /opt/gcc-3.0.4/lib/libstdc++.so.3.0.4 but I am sure that this is not the correct way and that there is a better solution. Also is it possible to pass an argument to dmake to tell it to ignore any problems, and continue trying to compile code ? (dmake -k does not seem to work ). Thanks CP -- Thanks KenF OpenOffice.org developer
In cws_srx645_ooo111fix1 distcc can build icu OK.
icu now builds OK with distcc - closed