In the last episode (Sep 20), Jesse Trucks said:
> Oddly enough this identical problem occurs with gcc 2.95 as well.
>
> Everything runs smoothly until the system appears to hang on:
>
> c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\""
> -DDATADIR="\"/var/db/mysql\"" -DSHAREDIR="\"/usr/local/share/mysql\""
> -DHAVE_CONFIG_H -I./../include -I./../regex -I. -I../include -I.. -I.
> -O2 -pthread -fno-inline -DDBUG_OFF -fno-inline -c sql_yacc.cc
>
> I have waited as long as 7 hours (the system was left alone to
> compile, much to my chagrin to discover my server was useless while
> it sat there). This system is a PII-350 running:
See the manual, under the "Problems compiling?" section. The problem
is basically that gcc can't compile large switch statements efficiently
and ends up eating a couple hundred meg of RAM for that file.
solution: rerun configure and add the --with-low-memory option.
--
Dan Nelson
dnelson@stripped