Can't build gcc 3.1 on AIX

David Edelsohn dje@watson.ibm.com
Sat Sep 14 09:39:00 GMT 2002


>>>>> Dave Williss writes: 

> I'm having trouble building gcc 3.1 on an AIX (powerpc-ibm-aix4.1.4.0)
> machine.  It gets as far as linking and then gets the following error:

>    ld: 0711-701 ERROR: TOC overflow. TOC size: 77248  Maximum size: 65536

	-mminimal-toc

You should perform a bootstrap of GCC with STAGE1_CFLAGS=-mminimal-toc .
You also should consider using GCC 3.2 instead of GCC 3.1.

David



More information about the Gcc-help mailing list