>Description:
        When compiling with gcc-3.0 there are problems with
        libstdc++, which is not linked to the executables
        There also seems to be a problem with libwrap, who is
        complaining about functions being called with wrong number
        of arguments (this is not a prob with 2.95.4)
>How-To-Repeat:
        Compile mysql with gcc 3.0
>Fix:
        set LDFLAGS=-lstdc++

>Originator:    Dennis Haney
>MySQL support: none
>Synopsis:      (almost) unable to compile with gcc 3.0
>Severity:      serious
>Priority:      medium
>Category:      mysql
>Class:         sw-bug
>Release:       mysql-3.23.36

System: Linux cine 2.4.4-k7 #1 Sun Apr 29 13:48:07 EST 2001 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/i386-linux/3.0/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc 
--prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as 
--with-gnu-ld --with-system-zlib --enable-long-long --enable-nls 
--without-included-gettext --disable-checking --enable-threads=posix 
--enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.0 (Debian)
Compilation info: CC='gcc'  CFLAGS='-mcpu=athlon -march=athlon -O6 
-fomit-frame-pointer -g'  CXX='g++'  CXXFLAGS='-mcpu=athlon -march=athlon -O6 
-fomit-frame-pointer -g -felide-constructors -fno-exceptions -fno-rtti'  
LDFLAGS='-lstdc++'
LIBC: 
lrwxrwxrwx    1 root     root           13 Jun 25 18:46 /lib/libc.so.6 -> libc-2.2.3.so
-rwxr-xr-x    1 root     root      1124904 Jun 10 16:50 /lib/libc-2.2.3.so
-rw-r--r--    1 root     root      2543574 Jun 10 16:52 /usr/lib/libc.a
-rw-r--r--    1 root     root          178 Jun 10 16:52 /usr/lib/libc.so
Configure command: ./configure  --prefix=/usr --exec-prefix=/usr 
--libexecdir=/usr/sbin --datadir=/usr/share --sysconfdir=/etc/mysql 
--localstatedir=/var/lib/mysql --includedir=/usr/include --infodir=/usr/share/info 
--mandir=/usr/share/man --enable-shared --without-libwrap --enable-assembler 
--with-berkeley-db --without-innobase --enable-static --enable-shared --with-raid 
--with-readline --with-unix-socket-path=/var/run/mysqld/mysqld.sock 
--with-mysqld-user=mysql --without-bench --with-extra-charsets=all

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: (almost) unable to compile with gcc 3.0

>Description:
        When compiling with gcc-3.0 there are problems with
        libstdc++, which is not linked to the executables
        There also seems to be a problem with libwrap, who is
        complaining about functions being called with wrong number
        of arguments (this is not a prob with 2.95.4)
>How-To-Repeat:
        Compile mysql with gcc 3.0
>Fix:
        set LDFLAGS=-lstdc++

>Originator:    Dennis Haney
>MySQL support: none
>Synopsis:      (almost) unable to compile with gcc 3.0
>Severity:      serious
>Priority:      medium
>Category:      mysql
>Class:         sw-bug
>Release:       mysql-3.23.36

System: Linux cine 2.4.4-k7 #1 Sun Apr 29 13:48:07 EST 2001 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/i386-linux/3.0/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc 
--prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as 
--with-gnu-ld --with-system-zlib --enable-long-long --enable-nls 
--without-included-gettext --disable-checking --enable-threads=posix 
--enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.0 (Debian)
Compilation info: CC='gcc'  CFLAGS='-mcpu=athlon -march=athlon -O6 
-fomit-frame-pointer -g'  CXX='g++'  CXXFLAGS='-mcpu=athlon -march=athlon -O6 
-fomit-frame-pointer -g -felide-constructors -fno-exceptions -fno-rtti'  
LDFLAGS='-lstdc++'
LIBC: 
lrwxrwxrwx    1 root     root           13 Jun 25 18:46 /lib/libc.so.6 -> libc-2.2.3.so
-rwxr-xr-x    1 root     root      1124904 Jun 10 16:50 /lib/libc-2.2.3.so
-rw-r--r--    1 root     root      2543574 Jun 10 16:52 /usr/lib/libc.a
-rw-r--r--    1 root     root          178 Jun 10 16:52 /usr/lib/libc.so
Configure command: ./configure  --prefix=/usr --exec-prefix=/usr 
--libexecdir=/usr/sbin --datadir=/usr/share --sysconfdir=/etc/mysql 
--localstatedir=/var/lib/mysql --includedir=/usr/include --infodir=/usr/share/info 
--mandir=/usr/share/man --enable-shared --without-libwrap --enable-assembler 
--with-berkeley-db --without-innobase --enable-static --enable-shared --with-raid 
--with-readline --with-unix-socket-path=/var/run/mysqld/mysqld.sock 
--with-mysqld-user=mysql --without-bench --with-extra-charsets=all


---------------------------------------------------------------------
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

Reply via email to