I did it without kdefinal and without kdehiddenvisibility and it had the same errors. I recompiled qt, and tried again, same error, I tried to compile libkjs but that requires kdelibs so it didn't work, I did do the emerge system -e after upgrading to gcc 4.1.1, so I don't think it's that. bin/sh ../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libkhtml.la -rpath /usr/kde/3.5/lib -version-info 6:0:2 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -Wl,--version-script=./libkhtml.map -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib libkhtml_la.all_cc.lo libkhtml_la.all_cpp.lo ./xml/libkhtmlxml.la ./html/libkhtmlhtml.la ./rendering/libkhtmlrender.la ./css/libkhtmlcss.la ./misc/libkhtmlmisc.la ecma/libkjs_html.la ./dom/libkhtmldom.la ../kparts/libkparts.la ../kdeprint/libkdeprint.la ../kutils/libkutils.la ../kwallet/client/libkwalletclient.la libtool: link: warning: `/usr/lib/libstdc++.la' seems to be moved libtool: link: warning: `/usr/lib/libstdc++.la' seems to be moved libtool: link: warning: `/usr/lib/libstdc++.la' seems to be moved libtool: link: warning: `/usr/lib/libstdc++.la' seems to be moved libtool: link: warning: `/usr/lib/libstdc++.la' seems to be moved libtool: link: warning: `/usr/lib/libstdc++.la' seems to be moved libtool: link: warning: `/usr/lib/libstdc++.la' seems to be moved libtool: link: warning: `/usr/lib/libstdc++.la' seems to be moved libtool: link: warning: `/usr/lib/libstdc++.la' seems to be moved libtool: link: warning: `/usr/lib/libstdc++.la' seems to be moved libtool: link: warning: `/usr/lib/libstdc++.la' seems to be moved libtool: link: warning: `/usr/lib/libstdc++.la' seems to be moved libtool: link: warning: `/usr/lib/libstdc++.la' seems to be moved ecma/.libs/libkjs_html.a(libkjs_html_la.all_cpp.o): In function `KJS::DOMFunction::call(KJS::ExecState*, KJS::Object&, KJS::List const&)': libkjs_html_la.all_cpp.cpp:(.text+0x4ef65): undefined reference to `__cxa_get_exception_ptr' libkjs_html_la.all_cpp.cpp:(.text+0x4f1d4): undefined reference to `__cxa_get_exception_ptr' libkjs_html_la.all_cpp.cpp:(.text+0x4f5aa): undefined reference to `__cxa_get_exception_ptr' libkjs_html_la.all_cpp.cpp:(.text+0x4f7ff): undefined reference to `__cxa_get_exception_ptr' ecma/.libs/libkjs_html.a(libkjs_html_la.all_cpp.o): In function `KJS::DOMFunction::get(KJS::ExecState*, KJS::Identifier const&) const': libkjs_html_la.all_cpp.cpp:(.text+0x4fb51): undefined reference to `__cxa_get_exception_ptr' ecma/.libs/libkjs_html.a(libkjs_html_la.all_cpp.o):libkjs_html_la.all_cpp.cpp:(.text+0x59196): more undefined references to `__cxa_get_exception_ptr' follow collect2: ld returned 1 exit status make[3]: *** [libkhtml.la] Error 1 make[3]: Leaving directory `/mnt/sata2/portage_tempdir/portage/kdelibs-3.5.3-r2/work/kdelibs-3.5.3/khtml' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/sata2/portage_tempdir/portage/kdelibs-3.5.3-r2/work/kdelibs-3.5.3/khtml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/sata2/portage_tempdir/portage/kdelibs-3.5.3-r2/work/kdelibs-3.5.3' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.5.3-r2 failed. Call stack: ebuild.sh, line 1540: Called dyn_compile ebuild.sh, line 940: Called src_compile kdelibs-3.5.3-r2.ebuild, line 123: Called kde_src_compile kde.eclass, line 164: Called kde_src_compile 'all' kde.eclass, line 299: Called kde_src_compile 'myconf' 'configure' 'make' kde.eclass, line 295: Called die !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, and the call stack if relevant. escargot ~ # emerge --info Portage 2.1.1_pre1-r1 (default-linux/x86/dev/2006.1/desktop, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 i686) ================================================================= System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 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-r2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall" 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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall" DISTDIR="/mnt/sata2/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en_US en zh_TW zh_CN ru es en_US" MAKEOPTS="-j2" 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="/mnt/sata2/portage_tempdir" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 16bit 3dnow 3dnowext X a52 aac accessibility acl acpi alsa amd amr apache2 apm arts artswrappersuid asf berkdb bidi bitmap-fonts cairo cap caps cdr cjk cjkcrypt cli cpudetection crypt css cups dba dbus dga divx4linux djbfft dmx dnd doc dpms dri dv dvb dvd dvdr dvdread edl eds emboss encode esd fam fat fbcon ffmpeg firefox flac flash flatfile fmod font-server foomaticdb fortran freewnn gdbm gif gimp gimpprint gnome gphoto2 gpm grammar gstreamer gtk gtk2 hal hardenedphp icq ieee1394 imagemagick imap imlib immqt-bc intl ipod ipv6 isdnlog jabber java javascript jbig jce joystick jp2 jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdepim kerberos krb4 ldap libg++ live lm_sensors logitech-mouse ltsp lzo lzw m17n-lib mad madwifi maildir math md5sum mdb mikmod ming mjpeg mmx mmxext mng mono motif mozdevelop mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpi mplayer msn mssql mule music nas ncurses net network nforce2 nls nptl nptlonly nsplugin ntlm nv nvidia offensive ogg oldworld openexr opengl oss pam pcre pdf pdflib perl physfs pic png posix pppd python qt quicktime readline real reflection reiserfs rtc samba sasl sdl session smime spell spl sql sse sse-filters ssl subtitles tcpd tga theora threads tiff timidity transcode truetype truetype-fonts type1 type1-fonts udev uim unicode v4l v4l2 vcd vhosts vidix vim-with-x virus-scan vnc vorbis wifi win32codecs winbind wma x264 xanim xcomposite xine xinerama xml xmms xorg xpm xprint xscreensaver xv xvid xvmc yahoo yv12 zeo zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_kbd kernel_linux linguas_en_US linguas_en linguas_zh_TW linguas_zh_CN linguas_ru linguas_es userland_GNU video_cards_nv video_cards_fbdev video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** This bug has been marked as a duplicate of 123065 ***