hello afaik: turn off the optimizing options before compiling/making.
... or get a completely new glibc family and compile each and everything pertinent. ... or use rh 7.3 kr mr >>> Mark Matthews <[EMAIL PROTECTED]> 02/16/03 14:43 PM >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark T. Dame wrote: > On 2/15/03 1:25 AM, Duncan Maitland wrote: > >> I am having trouble compiling a custom mysqld (version 4.0.10) under Red >> Hat 8.0 - I did email this list a few weeks ago and I have tried a few >> things since then but I am asking again in the hope that someone more >> knowledgeable might be able to help. > > > This is a "known" problem (in that I've seen several people post about > it, including myself), but I have not seen any answers other than "use > the binary distribution or binary RPMS". I have successfully tested the > RPM distribution, but I would prefer to use the source. > > >> As far as I can tell this is a compiling or linking problem. > > > From what I've been able to figure out, the MySQL server will start up, > but when you attempt to connect to it, it seg vaults. I haven't had > time to track it down, but it doesn't appear to be a simple resolver > library problem, as I've seen suggested. Also, 4.0.10 is increases the > thread-stack size, supposedly to fix this (or maybe a related) problem. > It hasn't helped, as far as I can tell. > > Anyway, I would be interested in an answer to this as well. I just tried compiling and using MySQL-4.0.11 (from the BitKeeper repository) on RedHat 8.0, and this problem seems to have gone away: * LIBC Version: glibc-2.2.93-5 * MySQL server started using mysqld_safe with 'default' options [mmatthew@computer ~]$ /usr/local/mysql/mysql-4.0/bin/mysql -h 127.0.0.1 Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 7 to server version: 4.0.11-gamma Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> status - -------------- /usr/local/mysql/mysql-4.0/bin/mysql Ver 12.18 Distrib 4.0.11-gamma, for intel-linux (i686) Connection id: 7 Current database: Current user: [EMAIL PROTECTED] SSL: Not in use Current pager: stdout Using outfile: '' Server version: 4.0.11-gamma Protocol version: 10 Connection: 127.0.0.1 via TCP/IP Client characterset: latin1 Server characterset: latin1 TCP port: 3307 Uptime: 11 hours 8 min 55 sec Threads: 1 Questions: 7 Slow queries: 0 Opens: 6 Flush tables: 1 Open tables: 0 Queries per second avg: 0.000 - -------------- mysql> If you want to use 4.0.10, you have to explicitly set the stack size by passing '--thread-stack=192K' to mysqld on startup (it is not done by default). I have also found that sometimes running 'nscd' on RedHat-8.0 alleviates some of these resolver problems. -Mark - -- MySQL 2003 Users Conference -> http://www.mysql.com/events/uc2003/ For technical support contracts, visit https://order.mysql.com/?ref=mmma __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mark Matthews <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer - JDBC/Java /_/ /_/\_, /___/\___\_\___/ Flossmoor (Chicago), IL USA <___/ www.mysql.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.1.90 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQE+T5TmtvXNTca6JD8RAnPOAJ9WbXQTWmw/hkIe7eZLcIuJGPravQCXSlrH QqhJ7nUFeNBHLquLXyuO8w== =2J8p -----END PGP SIGNATURE----- --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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