This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: AIX help with gcc 3.3
- From: LLeweLLyn Reese <llewelly at lifesupport dot shutdown dot com>
- To: Ken Foskey <foskey at optushome dot com dot au>
- Cc: gcc-help at gnu dot org
- Date: 07 Jul 2003 22:47:49 -0700
- Subject: Re: AIX help with gcc 3.3
- References: <1057411677.11365.2.camel@gandalf.foskey.org>
Ken Foskey <foskey@optushome.com.au> writes:
> I need some help with gcc 3.3. The aix ld is failing to link with thunk
> errors and the binutils 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
I'm not familiar with aix, but which ld is your gcc configured to use?
If your gcc configured or using gnu ld, I would guess aix ld will
not work, and vice-versa; if your gcc is configured to use aix ld,
gnu ld will not work.
> $ ld --version
> GNU ld version 2.14 20030612
> Copyright 2002 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms
> of
> the GNU General Public License. This program has absolutely no
> warranty.
>
> Any help really appreciated, way beyond me at present.
[snip]
Please try using g++ -v to link, and post the resulting output. g++
will pass the appropriate c++ specific flags to the linker (which
you may be getting wrong - I can't tell), and the -v will make gcc
print out details of what programs it calls and what options it
passes them.