Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Peter Rye <prye@picu-sgh.demon.co.uk>
Subject: Re: PreCompiled for Alpha Database
Date: 1999/01/12	[thread overview]
Message-ID: <m3u2xwh0ke.fsf@picu-sgh.demon.co.uk> (raw)
In-Reply-To: E44BDDDA8178EF88.86F7C3AFCB046400.11CB3F6CB3FBA845@library-proxy.airnews.net

Daniel Grambihler <daniel@looker.com> writes:

> Matt Grossman wrote:
> 
> I tried to build mysql on my alpha also and ran into the memory problem.
> I have 64M of RAM & 64M of swap (it came preconfigured) so I slapped on
> some more swap via a swapfile. Still choked. Added more. Again. I finally
> gave up with 1/2Gb of swap! The file it's trying to compile is from a piece
> of crap that yacc yakked up. 500+K of C. I think the key problem is that the
> size of one of the functions is exceeding the limit of the compiler (that's a
> guess -
> it's dying inside of a function compilation & at the final compile the compiler
> actually died with a non-memory related error - don't remember the exact beast).

In Docs/manual.txt you'll find the following:

   * If you get errors when compiling `sql_yacc.cc' such as the ones
     shown below, you have probably run out of memory or swap space:

          Internal compiler error: program cc1plus got fatal signal 11
            or
          Out of virtual memory
            or
          Virtual memory exhausted

     The problem is that `gcc' requires huge amounts of memory to
     compile `sql_yacc.cc' with inline functions.  Try running
     `configure' with the `--with-low-memory' option:

          shell> ./configure --with-low-memory

     This option causes `-fno-inline' to be added to the compile line
     if you are using `gcc' and `-O0' if you are using something else.
     You should try the `--with-low-memory' option even if you have so
     much memory and swap space that you think you can't possibly have
     run out.  This problem has been known to occur even on systems
     with generous hardware configurations, and the `--with-low-memory'
     option usually fixes it.




  reply	other threads:[~1999-01-12  5:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-01  5:00 PreCompiled for Alpha Database Derek Neighbors
1999-01-02  5:00 ` Matt Grossman
1999-01-03  5:00   ` Peter Rye
1999-01-04  5:00     ` Derek Neighbors
1999-01-04  5:00       ` Bram Stolk
1999-01-05  5:00       ` Bradley DeJong
1999-01-12  5:00   ` Daniel Grambihler
1999-01-12  5:00     ` Peter Rye [this message]
1999-01-13  5:00     ` Iwao Makino
1999-01-13  5:00       ` rdaven
1999-01-14  5:00     ` Eric J. Bohm
1999-01-14  5:00       ` Daniel Grambihler
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox