Mysql build solaris - Segmentation Fault (core dumped)
am 26.05.2006 16:25:58 von dboileauCan anyone help me out with this error, I am trying to compile mysql
with gcc 3.4.6 (Compiled from source) using
CC=gcc CFLAGS="-O3 -mcpu=v8 -Wa,-xarch=v8plusa" \
CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti
-mcpu=v8 -Wa,-xarch=v8plusa" \
../configure --prefix=/opt/build/mysql --with-low-memory \
--enable-assembler
make
--- output ---
make[4]: Entering directory `/opt/mysql-5.0.21/sql'
/bin/ksh ../libtool --preserve-dup-deps --tag=CXX --mode=link gcc
-DDBUG_OFF -O 3 -felide-constructors -fno-exceptions -fno-rtti
-mcpu=v8 -Wa,-xarch=v8plusa - fno-implicit-templates
-fno-exceptions -fno-rtti -D_FILE_OFFSET_BITS=64 -DHAVE_R
WLOCK_T -o mysqld sql_lex.o sql_handler.o item.o item_sum.o
item_buff.o item_ func.o item_cmpfunc.o item_strfunc.o
item_timefunc.o thr_malloc.o item_create.o item_subselect.o
item_row.o item_geofunc.o field.o strfunc.o key.o sql_class.o s
ql_list.o net_serv.o protocol.o sql_state.o lock.o my_lock.o
sql_string.o sql_ma nager.o sql_map.o mysqld.o password.o
hash_filo.o hostname.o set_var.o sql_parse .o sql_yacc.o
sql_base.o table.o sql_select.o sql_insert.o sql_prepare.o sql_err
or.o sql_update.o sql_delete.o uniques.o sql_do.o procedure.o
item_uniq.o sql_te st.o log.o log_event.o init.o derror.o
sql_acl.o unireg.o des_key_file.o discove r.o time.o
opt_range.o opt_sum.o records.o filesort.o handler.o ha_heap.o ha_myi
sam.o ha_myisammrg.o ha_berkeley.o ha_innodb.o ha_ndbcluster.o
sql_db.o sql_tabl e.o sql_rename.o sql_crypt.o sql_load.o
mf_iocache.o field_conv.o sql_show.o sql _udf.o sql_analyse.o
sql_cache.o slave.o sql_repl.o sql_union.o sql_derived.o cl
ient.o sql_client.o mini_client_errors.o pack.o stacktrace.o
repl_failsafe.o sql _olap.o sql_view.o gstream.o spatial.o
sql_help.o sql_cursor.o tztime.o my_time. o my_user.o
my_decimal.o sp_head.o sp_pcontext.o sp_rcontext.o sp.o sp_cache.o p
arse_file.o sql_trigger.o ha_example.o ha_archive.o ha_tina.o
ha_blackhole.o ha_ federated.o ../innobase/usr/libusr.a
.../innobase/srv/libsrv.a ../innobase/dict/l ibdict.a
.../innobase/que/libque.a ../innobase/srv/libsrv.a ../innobase/ibuf/libi
buf.a ../innobase/row/librow.a ../innobase/pars/libpars.a
.../innobase/btr/libbtr .a ../innobase/trx/libtrx.a
.../innobase/read/libread.a ../innobase/usr/libusr.a
.../innobase/buf/libbuf.a ../innobase/ibuf/libibuf.a
.../innobase/eval/libeval.a . ./innobase/log/liblog.a
.../innobase/fsp/libfsp.a ../innobase/fut/libfut.a ../inn
obase/fil/libfil.a ../innobase/lock/liblock.a ../innobase/mtr/libmtr.a
.../innoba se/page/libpage.a ../innobase/rem/librem.a
.../innobase/thr/libthr.a ../innobase/ sync/libsync.a
.../innobase/data/libdata.a ../innobase/mach/libmach.a ../innobase
/ha/libha.a ../innobase/dyn/libdyn.a ../innobase/mem/libmem.a
.../innobase/sync/l ibsync.a ../innobase/ut/libut.a
.../innobase/os/libos.a ../innobase/ut/libut.a -l rt
.../myisam/libmyisam.a ../myisammrg/libmyisammrg.a ../heap/libheap.a
.../vio/li bvio.a ../mysys/libmysys.a ../dbug/libdbug.a
.../regex/libregex.a ../strings/libm ystrings.a -lz -ldl
-lpthread -lthread -lposix4 -lcrypt -lgen -lsocket -lns l -lm
-lpthread -lthread
gcc -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti
-mcpu=v8 -Wa,- xarch=v8plusa -fno-implicit-templates
-fno-exceptions -fno-rtti -D_FILE_OFFSET_B ITS=64
-DHAVE_RWLOCK_T -o mysqld sql_lex.o sql_handler.o item.o item_sum.o
item_ buff.o item_func.o item_cmpfunc.o item_strfunc.o
item_timefunc.o thr_malloc.o it em_create.o item_subselect.o
item_row.o item_geofunc.o field.o strfunc.o key.o s ql_class.o
sql_list.o net_serv.o protocol.o sql_state.o lock.o my_lock.o sql_str
ing.o sql_manager.o sql_map.o mysqld.o password.o hash_filo.o
hostname.o set_var .o sql_parse.o sql_yacc.o sql_base.o table.o
sql_select.o sql_insert.o sql_prepa re.o sql_error.o
sql_update.o sql_delete.o uniques.o sql_do.o procedure.o item_u
niq.o sql_test.o log.o log_event.o init.o derror.o sql_acl.o unireg.o
des_key_fi le.o discover.o time.o opt_range.o opt_sum.o
records.o filesort.o handler.o ha_h eap.o ha_myisam.o
ha_myisammrg.o ha_berkeley.o ha_innodb.o ha_ndbcluster.o sql_d
b.o sql_table.o sql_rename.o sql_crypt.o sql_load.o mf_iocache.o
field_conv.o sq l_show.o sql_udf.o sql_analyse.o sql_cache.o
slave.o sql_repl.o sql_union.o sql_ derived.o client.o
sql_client.o mini_client_errors.o pack.o stacktrace.o repl_fa
ilsafe.o sql_olap.o sql_view.o gstream.o spatial.o sql_help.o
sql_cursor.o tztim e.o my_time.o my_user.o my_decimal.o
sp_head.o sp_pcontext.o sp_rcontext.o sp.o sp_cache.o
parse_file.o sql_trigger.o ha_example.o ha_archive.o ha_tina.o ha_bla
ckhole.o ha_federated.o ../innobase/usr/libusr.a
.../innobase/srv/libsrv.a ../in nobase/dict/libdict.a
.../innobase/que/libque.a ../innobase/srv/libsrv.a ../innob
ase/ibuf/libibuf.a ../innobase/row/librow.a ../innobase/pars/libpars.a
.../innoba se/btr/libbtr.a ../innobase/trx/libtrx.a
.../innobase/read/libread.a ../innobase/ usr/libusr.a
.../innobase/buf/libbuf.a ../innobase/ibuf/libibuf.a ../innobase/eva
l/libeval.a ../innobase/log/liblog.a ../innobase/fsp/libfsp.a
.../innobase/fut/li bfut.a ../innobase/fil/libfil.a
.../innobase/lock/liblock.a ../innobase/mtr/libmt r.a
.../innobase/page/libpage.a ../innobase/rem/librem.a
.../innobase/thr/libthr.a ../innobase/sync/libsync.a
.../innobase/data/libdata.a ../innobase/mach/libmach. a
.../innobase/ha/libha.a ../innobase/dyn/libdyn.a
.../innobase/mem/libmem.a ../in nobase/sync/libsync.a
.../innobase/ut/libut.a ../innobase/os/libos.a ../innobase/
ut/libut.a -lrt ../myisam/libmyisam.a ../myisammrg/libmyisammrg.a
.../heap/libhea p.a ../vio/libvio.a ../mysys/libmysys.a
.../dbug/libdbug.a ../regex/libregex.a ..
/strings/libmystrings.a -lz -ldl -lpthread -lthread -lposix4 -lcrypt
-lgen -lsoc ket -lnsl -lm -lpthread -lthread
make[4]: *** [mysqld] Segmentation Fault (core dumped)
make[4]: *** Deleting file `mysqld'
make[4]: Leaving directory `/opt/mysql-5.0.21/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/mysql-5.0.21/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/mysql-5.0.21/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/mysql-5.0.21'
make: *** [all] Error 2