Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 109295

Summary: ERROR: kde-base/arts-3.4.3 failed.
Product: Gentoo Linux Reporter: jreed
Component: [OLD] KDEAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description jreed 2005-10-14 12:53:05 UTC
Trying to emerge arts.

Reproducible: Always
Steps to Reproduce:
1. emerge arts
2.
3.

Actual Results:  
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so: undefined reference to
`_Unwind_Resume_or_Rethrow@GCC_3.3'
collect2: ld returned 1 exit status
make[2]: *** [artsplay] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so: undefined reference to
`_Unwind_Resume_or_Rethrow@GCC_3.3'
collect2: ld returned 1 exit status
make[2]: *** [artsd] Error 1
make[2]: Leaving directory `/var/tmp/portage/arts-3.4.3/work/arts-1.4.3/soundserver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/arts-3.4.3/work/arts-1.4.3'
make: *** [all] Error 2



Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
ftp://gentoo.mirrors.tds.net/gentoo
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://gentoo.netnitco.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aim alsa apm arts avi bash-completion berkdb bitmap-fonts bmp
browserplugin bzip2 calendar cdparanoia cdr crypt cups curl dbus directfb
divx4linux dvd dvdr dvdread eds emboss encode fam fbcon foomaticdb fortran ftp
gd gdbm gif glut gnutls gpm hal howl icq imagemagick imap imlib ipv6 jabber jack
java javascript jpeg kde kerberos ldap libg++ libwww mad mikmod mime mmx mng
motif mozilla mp3 mpeg msn mysql ncurses nis nls nsplugin ogg oggvorbis openal
opengl openldap openssh openssl oscar oss pam pdflib perl php png posix python
qt quicktime readline ruby samba sasl sdl snmp sockets sox spell sse ssl symlink
tcltk tcpd threads tiff tls truetype truetype-fonts type1-fonts unicode usb v4l
vcd vorbis win32codecs wxwindows x86 xine xml xml2 xmms xv xvid yahoo zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-10-18 07:34:39 UTC
I assume this is the same as bug 106671. Please reopen if that doesn't help. 

*** This bug has been marked as a duplicate of 106671 ***
Comment 2 jreed 2005-10-18 12:47:04 UTC
Gregorio, I followed the other bug, but the info did not help. I'm still getting
the error, and I'm not certain what to do next.

Any help is much appreciated.

Thanks all.

-Jeff

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so: undefined reference to
`_Unwind_Resume_or_Rethrow@GCC_3.3'
collect2: ld returned 1 exit status
distcc[5242] ERROR: compile (null) on localhost failed
make[2]: *** [artsplay] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so: undefined reference to
`_Unwind_Resume_or_Rethrow@GCC_3.3'
collect2: ld returned 1 exit status
distcc[5425] ERROR: compile (null) on localhost failed
make[2]: *** [artsd] Error 1
make[2]: Leaving directory `/var/tmp/portage/arts-3.4.3/work/arts-1.4.3/soundserver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/arts-3.4.3/work/arts-1.4.3'
make: *** [all] Error 2

dykim ~ # equery belongs libstdc++.so
!!! The query 'libstdc++.so' does not appear to be a valid regular expression
dykim ~ # equery belongs libgcc_s.so
[ Searching for file(s) libgcc_s.so in *... ]
sys-devel/gcc-3.3.6 (/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libgcc_s.so ->
libgcc_s.so.1)
dykim ~ #
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-10-18 14:27:07 UTC
So have you tried to remove /lib/libgcc_s.so if it is present on your system?  
What's the output of 
'ldd /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so'? 
 
Comment 4 jreed 2005-10-19 06:19:28 UTC
(In reply to comment #3)
> So have you tried to remove /lib/libgcc_s.so if it is present on your system?  
> What's the output of 
> 'ldd /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so'? 
>  

dykim ~ # ldd /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so:
/usr/local/lib/libgcc_s.so.1: version `GCC_3.3' not found (required by
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so)
        linux-gate.so.1 =>  (0xffffe000)
        libm.so.6 => /lib/libm.so.6 (0xb7ebe000)
        libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 (0xb7eb6000)
        libc.so.6 => /lib/libc.so.6 (0xb7da6000)
        /lib/ld-linux.so.2 (0x80000000)

I think we've discovered what's going on here. Unknown to us, until today, one
of our research people compiled a tarball of gcc-3.2 on this system. That's
probably what's hosing the machine.

Advice (aside of beating my research people)?
Comment 5 jreed 2005-10-19 08:02:47 UTC
Hey guys. Ok, here's the deal...

/lib/libgcc_s.so was indeed present on this system, and it has been removed.
However, I'm still getting the same message.

What's happened lately is that one of our researchers compiled gcc-3.2 on this
system, and left it with the default prefix/etc, so I'm willing to bet this is
what's causing the mess. I could still use some advice on what to do next.

I'll stop spamming this bug now, and leave it well alone. KDE works fine, and
I'm not going to pull my hair out quite yet.

Thanks for the info.

-Jeff
Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2005-10-19 08:11:48 UTC
Ok, the offending file is definitely /usr/local/lib/libgcc_s.so.1. 
leaving the decision on this bug to the toolchain people. 
Comment 7 SpanKY gentoo-dev 2005-10-19 08:35:27 UTC
if you screw with /usr/local and you break your system it's your problem
Comment 8 jreed 2005-10-19 08:59:48 UTC
(In reply to comment #7)
> if you screw with /usr/local and you break your system it's your problem

There was leftover stuff in /usr/local/lib from the gcc-3.2 build. I deleted it,
and now everything's back to sane.

Thanks all for helping me track that down!

-Jeff