Build failiure AIX: TOC Overflow
David Edelsohn
dje@watson.ibm.com
Fri Dec 15 08:07:00 GMT 2000
>>>>> 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
More information about the Gcc
mailing list