This happens with normal CFLAGS and MAKEOPTS and even with CFALGS set to CFLAGS="-O2 -mcpu=i686 -pipe" and MAKEOPTS="-j1" as suggested by bug 46442 ../lib/libestbase.so: undefined reference to `int __gnu_cxx::isnan<float>(float)' collect2: ld returned 1 exit status make[1]: *** [ch_lab] Error 1 make: *** [main] Error 2 !!! ERROR: app-accessibility/speech-tools-1.2.3 failed. !!! Function src_compile, Line 41, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1.emerge speech-tools 2. 3. Actual Results: ebuild fails Expected Results: speech-tools-1.2.3 should be installed Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.4-ck1) ================================================================= System uname: 2.6.4-ck1 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.14 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa apm avi berkdb cdr crypt cups directfb dvd encode esd faad flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 guile imlib ipv6 java jpeg ldap libg++ libwww mad mikmod mmx motif mozilla mpeg nas ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd tiff truetype x86 xml xml2 xmms xv zlib"
I can confirm this bug. The solution is to switch to speech-tools-1.4.3. The FAQ at <http://www.cstr.ed.ac.uk/cgi-bin/lists.cgi?config=festival_faq&entry=installing_festival/agcc32.html> tells, that compiling with gcc-3.2 is only possible with this version.
Sorry, I was wrong. It is 'festival' in the FAQ, not speech-tools. So there is no solution out there?!
The problem is the GCC 3.4 patch. If you replace the GCC 3.4 patch with the GCC 3.3 patch that you can find in older revisions of the CVS tree, it builds fine on GCC 3.3. I will fix the ebuild shortly.
fix now in portage, thanks for the heads-up. The gcc-3.4 patch ruined compatibility with sub-3.4 versions.
Sorry I didn't get around to committing the fix before you did; I didn't have time to test the ebuild, and committing without adequate testing is preceisely how this bug came about.