Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458300 - >=media-libs/mesa-9.1_rc1[xa]: libxatracker.so has undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE
Summary: >=media-libs/mesa-9.1_rc1[xa]: libxatracker.so has undefined symbol: _ZTVN10_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
: 458006 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-19 13:30 UTC by AlexTAI
Modified: 2013-02-23 02:38 UTC (History)
3 users (show)

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


Attachments
build log (build.log.tar.bz2,48.42 KB, text/plain)
2013-02-20 09:35 UTC, AlexTAI
Details
buiild log (tar/bz2) (build.log.tar.bz2,48.42 KB, application/octet-stream)
2013-02-20 09:42 UTC, AlexTAI
Details

Note You need to log in before you can comment on or make changes to this bug.
Description AlexTAI 2013-02-19 13:30:39 UTC
After last upgrade X refuses to start.
Logs contains next fatal error:
[   114.376] (EE) Failed to load /usr/lib/xorg/modules/drivers/vmware_drv.so: /usr/lib/libxatracker.so.1: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE

This happens with media-libs/mesa-9.1_rc1.

Downgrading mesa to 9.0.1 solves problem.

Also ldd -r reports numerous lines like 
undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE      (/usr/lib/libxatracker.so)
undefined symbol: __cxa_pure_virtual    (/usr/lib/libxatracker.so)
undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE (/usr/lib/libxatracker.so)
undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE     (/usr/lib/libxatracker.so)
undefined symbol: _ZTVSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE (/usr/lib/libxatracker.so)
undefined symbol: _ZTVSt19basic_istringstreamIcSt11char_traitsIcESaIcEE (/usr/lib/libxatracker.so)
etc...

I tried to compile version 9.1_rc2 compiled through ebuild ... install -  reports looks very similiar.

emerge --info:

Portage 2.1.11.50 (default/linux/x86/13.0, gcc-4.6.3, glibc-2.15-r3, 3.5.7-gentoo i686)
=================================================================
System uname: Linux-3.5.7-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T6500_@_2.10GHz-with-gentoo-2.1
KiB Mem:     1549452 total,     42324 free
KiB Swap:    1060284 total,    950640 free
Timestamp of tree: Sat, 16 Feb 2013 13:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            3.3.6-r1, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-write=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi aio alsa apm bash-completion berkdb bidi bzip2 cairo cardbus cis cli cracklib crypt cups cupsddk cxx dbus dio divx dri dri2 dvd dvdr dvdread emacs encode eselect exif expat fbcon ffmpeg firefox ftp gdbm gif gpm gstreamer gtk2 hal iconv icq icu imagemagick jabber java java5 javascript jpeg jpeg2k kde kerberos mad mikmod mmx modules mp3 mpeg mplayer msn mudflap multiuser ncurses networkmanager nls nptl nsplugin ocaml ogg opengl openmp oscar pam pcmcia pcre pda pdf php png pulseaudio python qt3support qt4 quicktime readline rtc rtsp ruby samba scanner sdl semantic-desktop session slang slp socks5 spell sqlite3 sse sse2 ssl ssse3 svg symlink tcpd tiff truetype unicode usb userlocales v4l v4l2 vim-without-x vorbis wifi win32codecs x86 xcomposite xine xmpp xorg xv xvid xvmc yahoo zlib" ALSA_CARDS="ens1371 usb" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" NETBEANS_MODULES="nb apisupport cnd ide java j2ee javafx php ruby xml" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 AlexTAI 2013-02-19 13:53:29 UTC
Currently installed version:

Installed versions:  9.0.1(12:01:10 PM 02/17/2013)(classic egl g3dvl gallium gbm llvm nptl shared-glapi video_cards_vmware xa xorg xvmc -bindist -debug -gles1 -gles2 -kernel_FreeBSD -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler -selinux -vdpau -video_cards_i915 -video_cards_i965 -video_cards_intel -video_cards_nouveau -video_cards_r100 -video_cards_r200 -video_cards_r300 -video_cards_r600 -video_cards_radeon -video_cards_radeonsi -wayland)
Comment 2 Rafał Mużyło 2013-02-19 18:07:09 UTC
This *might* be an upstream problem.

Either LLVM_NEEDS_FNORTTI needs to be always true (or at least in more cases) or in src/gallium/targets/xa-vmwgfx/Makefile.am nodist_EXTRA_libxatracker_la_SOURCES entry is needed (like it was i.e. in src/mesa/drivers/osmesa/Makefile.am).
Comment 3 Rafał Mużyło 2013-02-19 18:10:08 UTC
...
what I forgot to say: "..., but could you attach the build log from a run that produces such broken libxatracker.so ?"
Comment 4 AlexTAI 2013-02-20 09:35:07 UTC
Created attachment 339482 [details]
build log

untar with tar -xjf ...
Comment 5 AlexTAI 2013-02-20 09:38:32 UTC
build log in the commend above was created with running 
ebuild /usr/portage/media-libs/mesa/mesa-9.1_rc1.ebuild install

ldd -d ... shows undefined links (looks like related to libstdc++):

        linux-gate.so.1 (0xb7730000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb67ab000)
        libffi.so.6 => /usr/lib/libffi.so.6 (0xb67a4000)
        libdl.so.2 => /lib/libdl.so.2 (0xb67a0000)
        libm.so.6 => /lib/libm.so.6 (0xb677a000)
        libc.so.6 => /lib/libc.so.6 (0xb65fb000)
        /lib/ld-linux.so.2 (0xb7731000)
undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE      (/mnt/portage/tmp/portage/media-libs/mesa-9.1_rc1/image/usr/lib/libxatracker.so)
undefined symbol: __cxa_pure_virtual    (/mnt/portage/tmp/portage/media-libs/mesa-9.1_rc1/image/usr/lib/libxatracker.so)
undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE (/mnt/portage/tmp/portage/media-libs/mesa-9.1_rc1/image/usr/lib/libxatracker.so)
undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE     (/mnt/portage/tmp/portage/media-libs/mesa-9.1_rc1/image/usr/lib/libxatracker.so)
undefined symbol: _ZTVSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE (/mnt/portage/tmp/portage/media-libs/mesa-9.1_rc1/image/usr/lib/libxatracker.so)
undefined symbol: _ZTVSt19basic_istringstreamIcSt11char_traitsIcESaIcEE (/mnt/portage/tmp/portage/media-libs/mesa-9.1_rc1/image/usr/lib/libxatracker.so)
undefined symbol: _ZTTSt19basic_istringstreamIcSt11char_traitsIcESaIcEE (/mnt/portage/tmp/portage/media-libs/mesa-9.1_rc1/image/usr/lib/libxatracker.so)
undefined symbol: _ZTVSt15basic_stringbufIcSt11char_traitsIcESaIcEE     (/mnt/portage/tmp/portage/media-libs/mesa-9.1_rc1/image/usr/lib/libxatracker.so)
undefined symbol: _ZTVSt9basic_iosIcSt11char_traitsIcEE (/mnt/portage/tmp/portage/media-libs/mesa-9.1_rc1/image/usr/lib/libxatracker.so)
undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE     (/mnt/portage/tmp/portage/media-libs/mesa-9.1_rc1/image/usr/lib/libxatracker.so)
undefined symbol: _ZSt7nothrow  (/mnt/portage/tmp/portage/media-libs/mesa-9.1_rc1/image/usr/lib/libxatracker.so)
undefined symbol: _ZTVSt15basic_streambufIcSt11char_traitsIcEE  (/mnt/portage/tmp/portage/media-libs/mesa-9.1_rc1/image/usr/lib/libxatracker.so)
undefined symbol: _ZTTSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE (/mnt/portage/tmp/portage/media-libs/mesa-9.1_rc1/image/usr/lib/libxatracker.so)
Comment 6 AlexTAI 2013-02-20 09:42:18 UTC
Created attachment 339484 [details]
buiild log (tar/bz2)

untar with 
tar -xjf ...
Comment 7 Rafał Mużyło 2013-02-21 02:48:16 UTC
OK, LLVM_NEEDS_FNORTTI won't matter one way or another given the missing symbols, nodist_EXTRA_libxatracker_la_SOURCES is most likely the correct solution.
Comment 8 AlexTAI 2013-02-21 09:15:16 UTC
Is there anything that can be done to test this solution or will it come with next update?
Comment 9 AlexTAI 2013-02-21 13:47:33 UTC
I am not that familiar with portage.
Is there any *easy* way to test this patch? Or will it be applied to the next portage tree update?
Comment 10 Matt Turner gentoo-dev 2013-02-23 02:36:29 UTC
Should be fixed with 9.1 according to the upstream bug.
Comment 11 Matt Turner gentoo-dev 2013-02-23 02:38:14 UTC
*** Bug 458006 has been marked as a duplicate of this bug. ***