GDB cvs won't build on AIX 4.1
Andrew Cagney
ac131313@cygnus.com
Sun Feb 3 18:40:00 GMT 2002
> While linking gdb, I get:
>
> ld: 0711-224 WARNING: Duplicate symbol: PC
> ld: 0711-224 WARNING: Duplicate symbol: BC
> ld: 0711-341 WARNING: Replaced XTY_CM symbol BC requires an
> alignment more strict than the alignment of the symbol that replaces it.
> ld: 0711-224 WARNING: Duplicate symbol: UP
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> ld: 0711-781 ERROR: TOC overflow. TOC size: 76340 Maximum size: 65536
> collect2: ld returned 12 exit status
> make[2]: *** [gdb] Error 1
>
> The duplicate-symbol warnings are probably not to be too concerned
> about (they come from ncurses and readline, and have never hurt), but
> the actual error is the TOC overflow. Perhaps we should hard-code the
> link option -bbigtoc for gdb to link properly on AIX?
That was the problem. See gdb/294.
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=294
Andrew
More information about the Gdb
mailing list