Weak symbol support on powerpc-ibm-aix5.2.0.0 (binutils 2.15)
Nick Clifton
nickc@redhat.com
Thu Jul 29 13:28:00 GMT 2004
Hi Michael,
> $ ld -r gas.o
> ld: 0711-562 SEVERE ERROR: Symbol table entry 6 in object gas.o:
> An auxiliary symbol table entry is required for a
> C_EXT or C_HIDEXT entry.
Bummer - this is a bit beyond me. Do you have any experience in this area ?
> While GNU ld doesn't complain here, it cannot link trivial C++ code
> either (not sure if this is related?):
>
> $ gcc -xc++ -
> class C
> {
> public: C() {};
> };
>
> int main()
> {
> C c;
> }
> ^D
> /usr/local/lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.1/../../../../powerpc-ibm-aix5.2.0.0/bin/ld: /tmp/cczJxxzl.o: reloc .data:0 not in csect
> /tmp/cczJxxzl.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status
Hmm, I think that this might be a different problem. I suspect that the
problems are related in as much as support for the AIX 5.2 environment
has not been tested for a long time and bit-rot has probably set in.
Cheers
Nick
More information about the Binutils
mailing list