GDB cvs won't build on AIX 4.1

Alexandre Oliva
2002-02-03T02:45:11Z

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?

--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer