Installation bug for AIX 4.3.2

Geoff Keating geoffk@envy.cygnus.com
Fri Jan 14 21:43:00 GMT 2000


Gregory Hicks <ghicks@cadence.com> writes:

> I give up.  I need some help.  I've run across this error each time I
> compile gcc-2.95.2 with gcc-2.95.2.  Can provide a pointer or two on
> how to fix?  I've tried on 9 different AIX boxes so far.
> 
> AIX in question is version 4.3.2
> 
> CC=gcc (/gnuworks/gcc-2.95.2.obj/bin/gcc)
> $TEMP=/gnuworks (1.4GB+ available)
> $TMP=/gnuworks
> 
> (I used the two above because the IBM person I talked to wasn't sure
> which one to use...)
> 
> Any assist would be appreciated.
> 
> Thanks!
> 
> Regards,
> Gregory Hicks
> 
>         gcc  -DIN_GCC   -g -O2   -o ../cc1chill parse.o actions.o except.o grant.o lang.o  tree.o lex.o decl.o typeck.o convert.o expr.o loop.o  tasking.o timing.o inout.o satisfy.o ch-version.o  `cat ../stamp-objlist`  `if [ xobstack.o != x ]; then echo 
> ./alloca.o; else true; fi` `if [ x != x ]; then echo ../; else true; fi` -lld
> ld: 0711-781 ERROR: TOC overflow. TOC size: 68040       Maximum size: 65536
> collect2: ld returned 12 exit status

You want to specify LDFLAGS=-Wl,-bbigtoc.

If you're trying to use GNU ld, you can't do that with gcc 2.95.2.

You will want to upgrade to 2.96 when it comes out.  The underlying
problem is fixed in 2.96.

-- 
- Geoffrey Keating <geoffk@cygnus.com>


More information about the Gcc-bugs mailing list