List:General Discussion« Previous MessageNext Message »
From:Sasha Pachev Date:June 11 1999 10:35am
Subject:Re: compiling with gcc under IRIX 6.5 and --with-low-memory
View as plain text  
jtlawson+mysql@stripped wrote:
> 
> >Description:
>         When building with gcc, --with-low-memory switch is needed.
>         Otherwise, gcc reports "Memory exhausted" after running for
>         several minutes trying to compile sql/sql_yacc.cc.
>         (I didn't think that 256 MB of RAM was "low memory", but
>         it fixes it anyway.)
> >How-To-Repeat:
>         Configure without --with-low-memory and compile
> >Fix:
>         Alter INSTALL.SOURCE to include tip about --with-low-memory,
>         or alter autoconf to specify this automatically.
> 
> >Originator:    Jim Lawson <jtlawson+mysql@stripped>
> >Organization:
>   --
>   Jim Lawson                                              237 Votey Building
>   EM Computer Facility                             The University of Vermont
>   Jim.Lawson@stripped                                    Burlington, VT 05405
> >
> >MySQL support: none
> >Synopsis:      --with-low-memory switch is needed
> >Severity:      non-critical
> >Priority:      low
> >Category:      mysql
> >Class:         doc-bug
> >Release:       mysql-3.22.23b (Source distribution)
> 
> >Environment:
>         SGI Challenge L, IRIX 6.5
>         256 MB RAM
> System: IRIX garak 6.5 05190003 IP22
> 
> Some paths:  /usr/local/bin/perl /bin/make /usr/local/bin/gmake /usr/local/bin/gcc
> /bin/cc
> GCC: Reading specs from /usr/local/lib/gcc-lib/mips-sgi-irix5.3/2.7.2/specs
> gcc version 2.7.2
> Compilation info: CC='/local/gnu/bin/gcc'  CFLAGS='-Wl,-wall' 
> CXX='/local/gnu/bin/gcc'  CXXFLAGS='-O3 -Wl,-wall'  LDFLAGS=''
> Configure command: ./configure  --prefix=/local/mysql --with-thread-safe-client
> --with-named-thread-libs=-lpthread --with-low-memory
> Perl: This is perl, version 5.004_04 built for IP22-irix

This is a known problem documented in the manual, I believe. If you can
call it a bug, that would be a GCC bug, not MySQL. 

-- 
Sasha Pachev
http://www.sashanet.com/ (home)
http://www.direct1.com/ (work)
Thread
compiling with gcc under IRIX 6.5 and --with-low-memoryjtlawson+mysql11 Jun
  • Re: compiling with gcc under IRIX 6.5 and --with-low-memorySasha Pachev11 Jun