This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Building with AIX gcc 3.3
- From: Ken Foskey <foskey at optushome dot com dot au>
- To: gcc at gcc dot gnu dot org
- Date: 07 Jul 2003 21:43:23 +1000
- Subject: Building with AIX gcc 3.3
Code is tested and builds on Linux gcc 3.3. I am trying to build icu
2.2 on AIX for OpenOffice.org port using gcc 3.3 and the standard ld
tool and I am getting:
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
ld: 0711-317 ERROR: Undefined symbol: non-virtual thunk [nv:-4] to
icu_2_2::UnicodeFilter::matches(icu_2_2::Replaceable const&, int&, int,
signed char)
ld: 0711-317 ERROR: Undefined symbol: non-virtual thunk [nv:-4] to
icu_2_2::UnicodeFilter::toPattern(icu_2_2::UnicodeString&, signed char)
const
ld: 0711-317 ERROR: Undefined symbol: non-virtual thunk [nv:-4] to
icu_2_2::UnicodeFilter::matchesIndexValue(unsigned char) const
ld: 0711-317 ERROR: Undefined symbol: non-virtual thunk [nv:-4] to
icu_2_2::UnicodeFilter::addMatchSetTo(icu_2_2::UnicodeSet&) const
collect2: ld returned 8 exit status
the nm command (default aix) cannot deal with these files at all. So I
cannot really analyse this further.
The looks like bug 4122 but I can compile 4122 code fine. my link line
is:
/usr/local/gcc3.3/bin/g++ -O -Wl,-brtl -shared -Wl,-bexpall -o
libicui18n22.0.so ucln_in.o ... ucurr.o -L../common -licuuc22
-L../data/out -L../stubdata -licudata22 -lpthread -lm
I tried compiling the binutils from tarball and installing it but it
makes matters worse.
link is failing with lot of these messages:
BFD: libicuuc.a(upropset.o): Unrecognized storage class 111 for .data
symbol `_ZTVN7icu_2_211ReplaceableE'
then:
/usr/local/bin/ld: resbund.o: reloc .data:0 not in csect resbund.o:
could not read symbols: Bad value
aix_b50: /ooo/beta11/icu
$ ld --version
GNU ld version 2.14 20030612
Compiles on this box take forever and this really is way beyond my
knowledge level. I am a humble programmer...
Any suggestions on what to try next?
--
Thanks
KenF
OpenOffice.org developer