This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Build failiure AIX: TOC Overflow


>>>>> 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

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