Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308499 - dev-db/mysql-5.0.84-r1: undefined reference to _Unwind_GetIPInfo@GCC_4.2.0
Summary: dev-db/mysql-5.0.84-r1: undefined reference to _Unwind_GetIPInfo@GCC_4.2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-08 19:04 UTC by Stefan Oswald
Modified: 2010-03-08 19:16 UTC (History)
0 users

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 Stefan Oswald 2010-03-08 19:04:29 UTC
gcc wont compile mysql, they fails with
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libstdc++.so: undefined reference to `_Unwind_GetIPInfo@GCC_4.2.0'

homeunix mysql # ldd /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libstdc++.so
        linux-gate.so.1 =>  (0xb7867000)
        libm.so.6 => /lib/libm.so.6 (0xb7751000)
        libc.so.6 => /lib/libc.so.6 (0xb75df000)
        /lib/ld-linux.so.2 (0xb7868000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1 (0xb75d1000)

homeunix mysql # nm -Ds /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so | grep _Unwind_GetIPInfo
00004cc0 T _Unwind_GetIPInfo

I think that issue is gcc based, but i con't know why they dont find the symbol.
Reemerge gcc binutils glibc, etc-update, env-update, revdep-rebuild, gcc-config -f i686-pc-linux-gnu-4.3.4, fix_libtool_files.sh and lafilefixer didn't helped.

Current gcc
homeunix mysql # eix -I gcc
[I] sys-devel/gcc
     Available versions:
        (2.95)  2.95.3-r9 ~2.95.3-r10!s
        (3.1)   3.1.1-r2
        (3.2)   **3.2.2!s 3.2.3-r4
        (3.3)   ~3.3.6-r1!s
        (3.4)   3.4.6-r2!s
        (4.0)   ~*4.0.4!s
        (4.1)   4.1.2!s
        (4.2)   ~4.2.4-r1!s
        (4.3)   4.3.2-r3!s ~4.3.2-r4!s ~4.3.3-r2!s 4.3.4!s
        (4.4)   ~4.4.1!s ~4.4.2!s ~4.4.3!s
        {altivec bootstrap boundschecking build d doc fixed-point fortran gcj graphite gtk hardened ip28 ip32r10k java libffi mudflap multilib multislot n32 n64 nls nocxx nopie nossp nptl objc objc++ objc-gc openmp static test vanilla}
     Installed versions:  4.3.4(4.3)!s(16:26:56 03/08/10)(mudflap nls nptl -altivec -bootstrap -build -doc -fixed-point -fortran -gcj -gtk -hardened -libffi -multilib -multislot -n32 -n64 -nocxx -nopie -objc -objc++ -objc-gc -openmp -test -vanilla)
     Homepage:            http://gcc.gnu.org/
     Description:         The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking

[I] sys-devel/gcc-config
     Available versions:  1.3.16 1.4.0-r4 1.4.1 **1.5
     Installed versions:  1.4.1(09:55:14 06/12/09)
     Homepage:            http://www.gentoo.org/
     Description:         Utility to change the gcc compiler being used

Found 2 matches.

/etc/make.conf
CFLAGS="-march=athlon-xp -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j1"
FEATURES="sandbox candy fixpackages parallel-fetch"
USE="-* 3dnow 3dnowext apache2 attachment authfile bash-completion berkdb
     clamav cli cracklib crypt ctype custom-cflags dbus dedicated dropmsg gd
     gif glibc-omitfp hal hpn imap jpeg latin1 logrotate mailwrapper mmx
     mmxext mudflap mysql nls nptl nptlonly pam passthru pcre perlsuid png
     posix qmail qmail-spp received sasl session sha512 sockets spamassassin
     spl sse ssl symlink threads threadsafe tools udev urandom vpopmail xml
     xmlreader zlib"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
COLLISION_IGNORE="/usr/share/man/man5/maildir.5.bz2"

Reproducible: Always

Steps to Reproduce:
Comment 1 Stefan Oswald 2010-03-08 19:16:51 UTC
This bug is solved, i've found this old files.

/usr/lib/libgcc_s.so.1
/usr/lib/libgcc_s.so

removed them and now mysql will compile. But i don't know why they are not removed/updated by portage.