> 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.)
> Configure without --with-low-memory and compile
> Alter INSTALL.SOURCE to include tip about --with-low-memory,
> or alter autoconf to specify this automatically.
> >Originator: Jim Lawson <jtlawson+mysql@stripped>
> 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)
> 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
> 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.