When I try to emerge kdelibs, the ebuild stops without an actual error message on file ksycoca.kidl. Further investigation shoed that the (newly build) dcopidl and dcop2cpp raise a floating-point exception (SIGFPE) when executed. Even with reduced CFLAGS. While searching on google I found another user having the same problem, which seems somehow related to either the kernel 2.6 (what I can't believe) or to nptl (which I use too): http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&oe=UTF-8&selm=17x8G-9W-15%40gated-at.bofh.it&rnum=1 The whole bug appeared after making a stage1 build of gentoo with a 2.6-kernel and nptl. Reproducible: Always Steps to Reproduce: 1. emerge kdelibs with an 2.6-kernel and nptl enabled (maybe from bootstrapping time on) 2. 3. Actual Results: /usr/qt/3/bin/moc ./kclipboard.h -o kclipboard.moc /usr/qt/3/bin/moc ./kcheckaccelerators.h -o kcheckaccelerators.moc /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../kdefx -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -I/usr/include/libart-2.0 -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fexpensive-optimizations -fstack-protector -march=athlon-xp -msse -m3dnow -mmmx -O4 -fomit-frame-pointer -finline-functions -falign-jumps=4 -falign-loops=4 -pipe -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kdeversion.lo `test -f 'kdeversion.cpp' || echo './'`kdeversion.cpp ../dcop/dcopidl/dcopidl ./ksycoca.h > ksycoca.kidl || ( rm -f ksycoca.kidl ; false ) make[3]: *** [ksycoca.kidl] Fehler 1 make[3]: *** Warte auf noch nicht beendete Prozesse... make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.1.4/work/kdelibs-3.1.4/kdecore' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.1.4/work/kdelibs-3.1.4/kdecore' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.1.4/work/kdelibs-3.1.4' make: *** [all] Fehler 2 !!! ERROR: kde-base/kdelibs-3.1.4 failed. !!! Function kde_src_compile, Line 123, Exitcode 2 !!! died running emake, kde_src_compile:make Expected Results: It should have emerged cleanly. Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.1-rc1-love1) ================================================================= System uname: 2.6.1-rc1-love1 i686 AMD Athlon(tm) XP Gentoo Base System version 1.4.3.12 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-fexpensive-optimizations -fstack-protector -march=athlon-xp -msse -m3dnow -mmmx -O4 -fomit-frame-pointer -finline-functions -falign-jumps=4 -falign-loops=4 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-fexpensive-optimizations -fstack-protector -march=athlon-xp -msse -m3dnow -mmmx -O4 -fomit-frame-pointer -finline-functions -falign-jumps=4 -falign-loops=4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apm arts athlon avi berkdb cdr crypt cups dga dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx mng motif mozilla moznocompose moznoirc moznomail mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xml xml2 xmms xv zlib"
What's with the -O4 in your cflags? Also, did you remove all cached files before re-emerging after toning down your cflags. Those are pretty aggressive.
Yes, I tried it with portage defaults (-O2 -mcpu=i686 -funroll-loops -pipe), but the result is the same. I tried downgrading glibc to 2.3.2-r9 too, but it changed nothing.
The same happens with kdelibs-3.1.5.
Well, it looks like upgrading Qt to 3.3.0b1 fixed it here. kdelibs and kdebase compiled fine afterwards.
My Qt is 3.3.0, kdelibs 3.2.0 can't be installed. The kernel is 2.4.22-r5. It just shows the same error information Portage 2.0.50-r1 glibc 2.3.2-r9 gcc 3.3.2-r5
something local - the glibc prerelease probably isn't helping. upgrade gcc/glibc, and try again.