Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129080 - emerge kdelibs-3.4.3-r1 fails with undefined reference in libstdc++.so _Unwind_Resume_or_Rethrow@GCC_3.3
Summary: emerge kdelibs-3.4.3-r1 fails with undefined reference in libstdc++.so _Unwin...
Status: RESOLVED DUPLICATE of bug 64615
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-06 20:29 UTC by Stephen Bosch
Modified: 2006-04-07 00:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Bosch 2006-04-06 20:29:26 UTC
I recently upgraded to gcc 3.4.5. I tried to do a revdep-rebuild, but that failed; so I tried to build a new KDE, and the error below is what I get during the build of kdelibs. I have since done a successful 'emerge -e system' and rebooted, and I still get this error. I have also done countless env-updates, used fix-libtool-files.sh, emerged the latest qt out of desperation, and the error persists. I am not doing parallel makes, and I have also tried doing the  build with -02 (still, it worked fine with -03 the last time I built KDE, and this error doesn't look like a kde error, but rather a compiler error). I've posted on the forums and received very little response. This is definitely looking like a bug. 

Here is the error I get when I 'emerge kdelibs'

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I./.. -I../.. -I./../kssl -I../kssl -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I. -I/usr/kde/3.4/include   -D_LARGEFILE64_SOURCE -DQT_THREAD_SUPPORT  -D_REENTRANT  -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 -O3 -march=i686 -pipe -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  -c -o kio_uiserver.la.o `test -f 'kio_uiserver.la.cpp' || echo './'`kio_uiserver.la.cpp
/bin/sh ../../libtool --silent --mode=link --tag=CXX 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 -O3 -march=i686 -pipe -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 kio_uiserver -R /usr/kde/3.4/lib -R /usr/kde/3.4/lib -R /usr/qt/3/lib -R /usr/lib -no-undefined -L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/lib    kio_uiserver.la.o libkdeinit_kio_uiserver.la
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libstdc++.so: undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3'
collect2: ld returned 1 exit status
make[4]: *** [kio_uiserver] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3-r1/work/kdelibs-3.4.3/kio/misc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3-r1/work/kdelibs-3.4.3/kio/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3-r1/work/kdelibs-3.4.3/kio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3-r1/work/kdelibs-3.4.3'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.4.3-r1 failed.
!!! Function kde_src_compile, Line 226, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

Here is my 'emerge info' output:

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.11.7 i686)
=================================================================
System uname: 2.6.11.7 i686 AMD Duron(tm)
Gentoo Base System version 1.6.14
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.4.3-r1, 1.5.22
virtual/os-headers:  2.4.19-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirrored.ca/ ftp://ibiblio.org/pub/Linux/distributions/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac aalib acpi afs alsa apm arts audiofile avi berkdb bidi bitmap-fonts bonobo bzip2 cdr crypt cups curl dri dvb dvd dvdr emboss encode ethereal exif expat fam ffmpeg flac foomaticdb fortran gdbm gif glut gpm gstreamer gtk gtk2 gtkhtml guile idn imagemagick imap imlib ipv6 isdnlog java jpeg kde lcms ldap lib libg++ libwww lua mikmod ming mmx mng motif mozilla mp3 mpeg nas ncurses nlsogg oggvorbis openal opengl oss pam pcre pda pdflib perl png postgres ppds pppdpython qt quicktime readline real samba sdl slang spell ssl svga tcltk theora tiff truetype truetype-fonts type1-fonts udev unicode usb videos vorbis wmf www x86 xine xinerama xml xml2 xmms xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-07 00:33:19 UTC

*** This bug has been marked as a duplicate of 64615 ***