Compiling mysql-administrator-1.1.10 fails with error: "MGGladeXML.cc: In constructor 'MGGladeXML::MGGladeXML(const std::string&, const Glib::ustring&, const std::string&)': MGGladeXML.cc:43: error: exception handling disabled, use -fexceptions to enable" emerge --info Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Pentium III (Coppermine) Gentoo Base System version 1.12.5 Last Sync: Thu, 26 Oct 2006 05:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/own /usr/portage/local/layman/ebuild-exchange /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/sunrise /usr/portage/local/layman/musicbrainz" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aac alsa asf berkdb bitmap-fonts bzip2 cairo cli cracklib crypt cups dbus dlloader dri dvd elibc_glibc firefox flac fontconfig fortran gd gdbm gif gmp gnome graphviz gs hal imagemagick imlib input_devices_keyboard input_devices_mouse isdnlog jikes jpeg kernel_linux lcms libg++ linguas_de mad mmx mng mp3 mp4 mpeg ncurses nptl nptlonly nsplugin ogg opengl pam pcre perl png postgres ppds python qt3 readline reflection session speex spl sqlite sse ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU utf8 video_cards_r128 vorbis wmf x264 xface xml xorg xpm xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
As the error message says: Adding -fexceptions to CFLAGS helps.
*** Bug 152965 has been marked as a duplicate of this bug. ***
(In reply to comment #1) > As the error message says: Adding -fexceptions to CFLAGS helps. Helps thanks. Has on the running time of other programs then a negative influence?
(In reply to comment #3) > (In reply to comment #1) > > As the error message says: Adding -fexceptions to CFLAGS helps. > > Helps thanks. Has on the running time of other programs then a negative > influence? > I don't know: I did not add this to my global CFLAGS.
(In reply to comment #4) > I don't know: I did not add this to my global CFLAGS. The description which it causes: http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Code-Gen-Options.html The solution(???): http://forums.gentoo.org/viewtopic-p-3589195.html
I fixed mysql-administratr and mysql-query-browser, the ebuilds now append -fexceptions to CFLAGS/CXXFLAGS.