List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:April 13 1999 11:13pm
Subject:Compile Help on an HP System
View as plain text  
>>>>> "Daniel" == Daniel E White <igor@stripped> writes:

Daniel> I am on an HP-UX 10.20 system
Daniel> I just finished installing gcc/libstd++ 2.8.1 and I am now trying
Daniel> to build mysql-3.22.21

Daniel> I get this:

Daniel> -----------------------------------
Daniel> prompt% make
Daniel> make all-recursive
Daniel> make[1]: Entering directory `/usr/local/src/mySql/mysql-3.22.21'
Daniel> Making all in Docs
Daniel> make[2]: Entering directory `/usr/local/src/mySql/mysql-3.22.21/Docs'
Daniel> make[2]: Nothing to be done for `all'.
Daniel> make[2]: Leaving directory `/usr/local/src/mySql/mysql-3.22.21/Docs'
Daniel> Making all in readline
Daniel> make[2]: Entering directory `/usr/local/src/mySql/mysql-3.22.21/readline'
Daniel> gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -I./../include -I./.. -I..  -O6  
Daniel> -DDBUG_OFF -c histexpand.c
Daniel> gcc: Internal compiler error: program cc1 got fatal signal 6
Daniel> make[2]: *** [histexpand.o] Error 1
Daniel> make[2]: Leaving directory `/usr/local/src/mySql/mysql-3.22.21/readline'
Daniel> make[1]: *** [all-recursive] Error 1
Daniel> make[1]: Leaving directory `/usr/local/src/mySql/mysql-3.22.21'
Daniel> make: *** [all-recursive-am] Error 2
Daniel> prompt% 

Daniel> ------------------------------------

Daniel> Is this a problem with the mysql source or with the gcc build ?

It's probably a bug in the gcc build.

We have noticed a LOT of problems with gcc 2.8.1 on many different
platforms.

Could you check if the following configure line works better:

CFLAGS=-O ./configure

Another option is to use egcs from www.egcs.com

Regards,
Monty
Thread
Compile Help on an HP SystemDaniel E. White13 Apr
  • Compile Help on an HP SystemMichael Widenius14 Apr