>Description: I cannot build mysql 3.23.53 with my glibc 2.3.1. It always crash when doing "make test". I have tried this on an Intel Pentium II 233, an AMD Duron 1200 and an AMD Athlon 1800+. I can build a working mysql with glibc 2.2.5, but not glibc 2.3.1. Sorry that I cannot search the bug database. This bug may be reported before. Following is the result of "make test":
imacat@herb src/mysql-3.23.53 % make test Installing Test Databases Removing Stale Files Installing Master Databases mysqld got signal 11; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked agaist is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail key_buffer_size=8388600 record_buffer=131072 sort_buffer=2097144 max_used_connections=0 max_connections=100 threads_connected=1 It is possible that mysqld could use up to key_buffer_size + (record_buffer + sort_buffer)*max_connections = 225791 K bytes of memory Hope that's ok, if not, decrease some variables in the equation Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... Stack range sanity check OK, backtrace follows: 0x808e65c 0x815281a 0x8162de7 0x80966e2 0x8098e8d 0x80911ad Stack trace seems successful - bottom reached Please read http://www.mysql.com/doc/U/s/Using_stack_trace.html and follow instructions on how to resolve the stack trace. Resolved stack trace is much more helpful in diagnosing the problem, so please do resolve it Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0x82b71b0 = CREATE TABLE db ( Host char(60) DEFAULT '' NOT NULL, Db char(64) DEFAULT '' NOT NULL, User char(16) DEFAULT '' NOT NULL, Select_priv enum('N','Y') DEFAULT 'N' NOT NULL, Insert_priv enum('N','Y') DEFAULT 'N' NOT NULL, Update_priv enum('N','Y') DEFAULT 'N' NOT NULL, Delete_priv enum('N','Y') DEFAULT 'N' NOT NULL, Create_priv enum('N','Y') DEFAULT 'N' NOT NULL, Drop_priv enum('N','Y') DEFAULT 'N' NOT NULL, Grant_priv enum('N','Y') DEFAULT 'N' NOT NULL, References_priv enum('N','Y') DEFAULT 'N' NOT NULL, Index_priv enum('N','Y') DEFAULT 'N' NOT NULL, Alter_priv enum('N','Y') DEFAULT 'N' NOT NULL, PRIMARY KEY Host (Host,Db,User), KEY User (User) ) comment='Database privileges' thd->thread_id=1 Successfully dumped variables, if you ran with --log, take a look at the details of what thread 1 did to cause the crash. In some cases of really bad corruption, the values shown above may be invalid The manual page at http://www.mysql.com/doc/C/r/Crashing.html contains information that should help you find out what is causing the crash Error: Could not install master test DBs make: *** [test] Error 1 imacat@herb src/mysql-3.23.53 % However, a mysql 3.23.53 pre-built binary release works properly with glibc 2.3.1. >How-To-Repeat: Always. Do a "make test" after building mysql with glibc 2.3.1. >Fix: Not known. >Submitter-Id: <submitter ID> >Originator: 依瑪貓 >Organization: Pristine Communications >MySQL support: none >Synopsis: mysql 3.23.53 cannot be built with glibc 2.3.1 >Severity: critical >Priority: medium >Category: mysql >Class: sw-bug >Release: mysql-3.23.53 (Source distribution) >Environment: Debian 3.0, kernel 2.4.18, gcc 3.2, binutils 2.13, glibc 2.3.1. System: Linux herb 2.4.18-686 #1 Sun Apr 14 11:32:47 EST 2002 i686 unknown Architecture: i686 Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs Configured with: ./configure --quiet --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib --infodir=/usr/share/info --mandir=/usr/share/man Thread model: posix gcc version 3.2 Compilation info: CC='gcc' CFLAGS=' -g -O3' CXX='g++' CXXFLAGS='' LDFLAGS='' LIBC: lrwxrwxrwx 1 root root 13 12月 1 22:36 /lib/libc.so.6 -> libc-2.3.1.so -rwxr-xr-x 1 root root 1153784 9月 18 17:40 /lib/libc-2.2.5.so -rwxr-xr-x 1 root root 11360310 12月 1 19:10 /lib/libc-2.3.1.so -rw-r--r-- 1 root root 25779322 12月 1 19:06 /usr/lib/libc.a -rw-r--r-- 1 root root 178 12月 1 19:06 /usr/lib/libc.so Configure command: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib/mysql --libdir=/usr/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-assembler --with-unix-socket-path=/var/run/mysql/mysql.sock --with-mysqld-user=mysql --with-mysqld-ldflags=-all-static --without-bench --with-extra-charsets=all 'CFLAGS= -g -O3' --------------------------------------------------------------------- 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