This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB cvs won't build on AIX 4.1


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]