This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Build failiure AIX: TOC Overflow
- To: Andreas Conz <andreasc at neuro dot informatik dot uni-kassel dot de>
- Subject: Re: Build failiure AIX: TOC Overflow
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Fri, 15 Dec 2000 11:07:13 -0500
- cc: gcc at gcc dot gnu dot org, Geoff Keating <geoffk at redhat dot com>
>>>>> Andreas Conz writes:
Andreas> building from CVS tree stopped with a TOC overflow error
Andreas> OS Version: AIX 4.2.2
Andreas> gcc -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
Andreas> -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
Andreas> -DHAVE_CONFIG_H -o cc1 \
Andreas> c-parse.o c-lang.o c-errors.o c-lex.o c-pragma.o c-decl.o
Andreas> c-typeck.o c-convert.o c-aux-info.o c-common.o c-semantics.o c-dump.o
Andreas> libcpp.a toplev.o libbackend.a obstack.o alloca.o ./intl/libintl.a
Andreas> -lld ../libiberty/libiberty.a
Andreas> ld: 0711-781 ERROR: TOC overflow. TOC size: 67284 Maximum size:
Andreas> 65536
For the time being, you can add "-Wl,-bbigtoc" to LDFLAGS. This
really is a bootstrap issue. The stage1 compiler should not overflow the
TOC when building itself.
David