| Summary: | Cannot compile mysql++-1.7.9-r6 with GCC3.4.2-r2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Reiner Block <reiner.block> |
| Component: | [OLD] Development | Assignee: | Please assign to toolchain <gcc-porting> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** Bug 66130 has been marked as a duplicate of this bug. *** |
Like in bug reports 50442 and 58837 I'm not able to emerge mysql++ 1.7.9-r2 ==================================================================== creating config.h creating sqlplusint/exceptions.hh make all-recursive make[1]: Entering directory `/var/tmp/portage/mysql++-1.7.9-r6/work/mysql++-1.7.9' Making all in sqlplusint make[2]: Entering directory `/var/tmp/portage/mysql++-1.7.9-r6/work/mysql++-1.7.9/sqlplusint' /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -c string_util.cc perl custom.pl perl custom.pl mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -Wp,-MD,.deps/string_util.pp -c -fPIC -DPIC string_util.cc -o .libs/string_util.lo /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -c coldata.cc rm -f .libs/coldata.lo g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -Wp,-MD,.deps/coldata.pp -c -fPIC -DPIC coldata.cc -o .libs/coldata.lo g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -Wp,-MD,.deps/string_util.pp -c string_util.cc -o string_util.o >/dev/null 2>&1 In file included from coldata1.hh:8, from coldata2.hh:5, from coldata3.hh:12, from coldata4.hh:6, from coldata.cc:3: type_info1.hh: In constructor `mysql_ti_sql_type_info::mysql_ti_sql_type_info()': type_info1.hh:31: error: uninitialized member `mysql_ti_sql_type_info::_base_type' with `const' type `const unsigned char' type_info1.hh:31: error: uninitialized member `mysql_ti_sql_type_info::_default' with `const' type `const bool' In file included from coldata4.hh:6, from coldata.cc:3: coldata3.hh: In member function `mysql_ColData<Str>::operator MysqlNull<T, B>() const': coldata3.hh:19: error: there are no arguments to `size' that depend on a template parameter, so a declaration of `size' must be available coldata3.hh:19: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from coldata.cc:3: coldata4.hh: In member function `Type mysql_ColData<Str>::conv(Type) const': coldata4.hh:23: error: there are no arguments to `c_str' that depend on a template parameter, so a declaration of `c_str' must be available mv -f .libs/string_util.lo string_util.lo /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -c connection.cc make[2]: *** [coldata.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... rm -f .libs/connection.lo g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -Wp,-MD,.deps/connection.pp -c -fPIC -DPIC connection.cc -o .libs/connection.lo In file included from coldata1.hh:8, from field_names1.hh:9, from result1.hh:15, from query1.hh:13, from connection1.hh:20, from connection2.hh:4, from connection3.hh:2, from connection.cc:2: type_info1.hh: In constructor `mysql_ti_sql_type_info::mysql_ti_sql_type_info()': type_info1.hh:31: error: uninitialized member `mysql_ti_sql_type_info::_base_type' with `const' type `const unsigned char' type_info1.hh:31: error: uninitialized member `mysql_ti_sql_type_info::_default' with `const' type `const bool' connection.cc: In member function `std::string MysqlConnection::info()': connection.cc:112: error: invalid conversion from `const char*' to `char*' make[2]: *** [connection.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/mysql++-1.7.9-r6/work/mysql++-1.7.9/sqlplusint' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mysql++-1.7.9-r6/work/mysql++-1.7.9' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-db/mysql++-1.7.9-r6 failed. !!! Function src_compile, Line 88, Exitcode 2 !!! unable to make !!! If you need support, post the topmost build error, NOT this status message. ==================================================================== The line to change in /var/tmp/portage/mysql++-1.7.9-r6/work/mysql++-1.7.9/sqlplusint/type_info1.hh is not possible because it does not exists! :-( And to change line 31 did not help too. :-( emerge info: ==================================================================== Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.7-gentoo-r11 i686) ================================================================= System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acl acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups dga directfb doc dvd dvdr emacs emacs-w3 encode esd evo fbcon firebird flac flash foomaticdb freetds gdbm gif gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hardened imagemagick imap imlib ipv6 jack java jikes joystick jpeg kde kerberos krb4 ldap libg++ libgda libwww mad maildir mbox mcal mikmod mmx motif mozilla mpeg mule mysql nas ncurses nls nocardbus odbc oggvorbis opengl oss pam pda pdflib perl plotutils png postgres ppds python qt quicktime readline samba scanner sdl slang slp snmp spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb vhosts videos x86 xinerama xml2 xmms xosd xprint xv zlib video_cards_radeon linguas_de" ==================================================================== Anything else needed? Reproducible: Always Steps to Reproduce: 1. emerge mysql++ 2. 3. Actual Results: emerge terminates Expected Results: emerge is successful