FYI: 20001106 snapshot on rs6000-ibm-aix4.2.0.0 needs -Wl,-bbigtoc
RDBrown@mira.net
RDBrown@mira.net
Wed Nov 8 04:10:00 GMT 2000
The 20001106 snapshot fails to build on rs6000-ibm-aix4.2.0.0 with a
TOC overflow error linking cc1. Adding LD_FLAGS=-Wl,-bbigtoc has worked
around this so far.
gcc -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes \
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long \
-DHAVE_CONFIG_H -o cc1 \
c-parse.o c-lang.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o \
c-convert.o c-aux-info.o c-common.o c-semantics.o libcpp.a toplev.o \
libbackend.a obstack.o alloca.o ./intl/libintl.a -lld ../libiberty/libiberty.a
ld: 0711-781 ERROR: TOC overflow. TOC size: 65860 Maximum size: 65536
collect2: ld returned 12 exit status
make[2]: *** [cc1] Error 1
make[2]: Leaving directory `/devel/tmp/gcc-20001106.obj/gcc'
make[1]: *** [stage_a] Error 2
make[1]: Leaving directory `/devel/tmp/gcc-20001106.obj/gcc'
make: *** [bootstrap-lean] Error 2
More information about the Gcc-bugs
mailing list