This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB cvs won't build on AIX 4.1
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Sun, 03 Feb 2002 21:39:57 -0500
- Subject: Re: GDB cvs won't build on AIX 4.1
- References: <orvgdf1dy0.fsf@free.redhat.lsd.ic.unicamp.br>
> 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