On Solaris 8 on x86, mysqld dumps core if
you remove the debug symbols using
If you are using gcc on Solaris x86 and you experience problems with core dumps under load, you should use the following configure command:
CC=gcc CFLAGS="-O3 -fomit-frame-pointer -DHAVE_CURSES_H" \ CXX=gcc \ CXXFLAGS="-O3 -fomit-frame-pointer -felide-constructors \ -fno-exceptions -fno-rtti -DHAVE_CURSES_H" \ ./configure --prefix=/usr/local/mysql
This avoids problems with the
library and with C++ exceptions.
If this does not help, you should compile a debug version and run it with a trace file or under gdb. See Section 18.4, “Porting to Other Systems”.