Issue 17447 - sparc linux module icu will not build with distcc
Summary: sparc linux module icu will not build with distcc
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC2
Hardware: Other Linux, all
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: Martin Hollmichel
QA Contact: issues@porting
URL:
Keywords:
Depends on: 9443
Blocks:
  Show dependency tree
 
Reported: 2003-07-27 06:21 UTC by sparcmoz
Modified: 2003-12-31 10:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description sparcmoz 2003-07-27 06:21:23 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'
>
>
Comment 1 sparcmoz 2003-08-02 03:47:43 UTC
parallel building issue can be looked at later
Comment 2 sparcmoz 2003-08-31 13:13:26 UTC
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?
 
Comment 3 sparcmoz 2003-09-01 22:25:39 UTC
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
Comment 4 sparcmoz 2003-11-01 07:13:31 UTC
In cws_srx645_ooo111fix1 distcc can build icu OK.
Comment 5 sparcmoz 2003-12-31 10:08:47 UTC
icu now builds OK with distcc - closed