This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Installation bug for AIX 4.3.2
- To: Gregory Hicks <ghicks at cadence dot com>
- Subject: Re: Installation bug for AIX 4.3.2
- From: Geoff Keating <geoffk at envy dot cygnus dot com>
- Date: 14 Jan 2000 21:43:02 -0800
- CC: gcc-bugs at gcc dot gnu dot org
- References: <200001141931.LAA16759@metis.cAdence.COM>
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>