Hi,

I have an Sun Ultra 2 with 500Megs of swap and I constantly get the
following swap space messages when I try to install mysql-3.23.39.

---------------------------------------------------------------------------------
Note: The following compile may take a long time.
If it fails, re-run configure with --with-low-memory
CC -DMYSQL_SERVER                      
-DDEFAULT_MYSQL_HOME="\"/export/home/MYSQL/mysql\""                    
-DDATADIR="\"/export/home/MYSQL/mysql/var\""                   
-DSHAREDIR="\"/export/home/MYSQL/mysql/share/mysql\""                  
-DHAVE_CONFIG_H -I./../include                 
-I./../regex                    -I. -I../include -I.. -I.    -O3
-DDBUG_OFF   -DHAVE_RWLOCK_T  -c sql_yacc.cc
"sql_udf.h", line 79: Warning (Anachronism): Cannot cast from void* to
double(*)(st_udf_init*,st_udf_args*,unsigned char*,unsigned char*).
"sql_udf.h", line 98: Warning (Anachronism): Cannot cast from void* to
long long(*)(st_udf_init*,st_udf_args*,unsigned char*,unsigned char*).
"sql_udf.h", line 117: Warning (Anachronism): Cannot cast from void* to
void(*)(st_udf_init*,st_udf_args*,unsigned char*,unsigned char*).
"sql_udf.h", line 130: Warning (Anachronism): Cannot cast from void* to
void(*)(st_udf_init*,st_udf_args*,unsigned char*,unsigned char*).
"item_cmpfunc.h", line 286: Warning (Anachronism): Formal argument 4 of
type extern "C" int(*)(const void*,const void*) in call to qsort(void*,
unsigned, unsigned, extern "C" int(*)(const void*,const void*)) is being
passed int(*)(const void*,const void*).
"log_event.h", line 290: Warning: thd hides Load_log_event::thd.
"sql_yacc.yy", line 1463: Warning (Anachronism): Cannot cast from void*
to Item*(*)().
"sql_yacc.yy", line 1465: Warning (Anachronism): Cannot cast from void*
to Item*(*)(Item*).
"sql_yacc.yy", line 1467: Warning (Anachronism): Cannot cast from void*
to Item*(*)(Item*,Item*).
"sql_yacc.yy", line 1469: Warning (Anachronism): Cannot cast from void*
to Item*(*)(Item*,Item*,Item*).
10 Warning(s) detected.

After 6423 alloc calls, swap space is insufficient for optimization
    of routine __1cHyyparse6F_i_ at optimization level -O3
    current routine started again at -O2

After 18086 alloc calls, swap space is insufficient for optimization
    of routine __1cHyyparse6F_i_ at optimization level -O2
    current routine started again at -O1

After 18089 alloc calls, swap space is insufficient for optimization
compiler(iropt) error:      optimizer terminating 
---------------------------------------------------------------------------------

I get the exact same error when trying to compile on a 2.6 starfire
domain with 1.5 Gigs of swap space.

I don't understand this failure as the same version of mysql compiles
(with the same compilers) on lower-end sun4d & sun4m systems running
much less swap.  

Do I really need to run the "--with-low-memory" option ??

Thanks in advance,
-- frank

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to