public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Can't build gcc 3.1 on AIX
@ 2002-09-14  9:39 David Edelsohn
  0 siblings, 0 replies; 2+ messages in thread
From: David Edelsohn @ 2002-09-14  9:39 UTC (permalink / raw)
  To: Dave Williss; +Cc: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Can't build gcc 3.1 on AIX
@ 2002-09-12 10:53 Dave Williss
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Williss @ 2002-09-12 10:53 UTC (permalink / raw)
  To: gcc-help

I'm having trouble building gcc 3.1 on an AIX (powerpc-aib-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

Any clues how to make it build?  I know I've gotten by this in the
past with our own code by passing -mno-fp-in-toc, but I doubt if gcc
is using a lot of FP that would get put into the TOC, so I doubt
if that would help in this case.

I am successfully using 3.1 on an SGI IRIX and on Linux.  It also built
fine on Solaris 2.6 and the install just finished. 

 -- Dave Williss
------
Meddle not in the affairs of dragons, 
   for you are crunchy and taste good with catsup


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-14 16:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-14  9:39 Can't build gcc 3.1 on AIX David Edelsohn
  -- strict thread matches above, loose matches on Subject: below --
2002-09-12 10:53 Dave Williss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).