First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 50024
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Sound Team <sound@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Weidner <3.14159@gmx.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 50024 depends on: Show dependency tree
Show dependency graph
Bug 50024 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-04 14:32 0000
Hi,

I assume this is gcc3.4 spezific as it worked previously. i noticed xmms not starting up because of:
/usr/lib/libmp4v2.so.0: undefined symbol: _ZTV11MP4Property
Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 72: _dl_next_tls_modid: Assertion `result <= _rtld_local._dl_tls_max_dtv_idx' failed!
i searched all files in /usr/lib for a definition of the symbol but nothing found. c++filt says it's `vtable for MP4Property' which usually means that there are undefined virtual methods. pls have a look or report it to faad2 developers.

------- Comment #1 From Jeremy Huddleston 2004-05-06 02:14:22 0000 -------
please provide the output of 'emerge info' now and whenever you submit a bug
report.

------- Comment #2 From Thomas Weidner 2004-05-06 02:36:30 0000 -------
sorry,I tend to forget this.

Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.5-gentoo)
=================================================================
System uname: 2.6.5-gentoo x86_64 4
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ http://ftp.linux.ee/pub/gentoo/distfiles/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib alsa amd64 apm avi berkdb crypt dvdr encode esd foomaticdb gdbm gif gpm gtk gtk2 imlib ipv6 jpeg libg++ libwww mikmod motif mozilla mpeg ncurses nls nogcj nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"

------- Comment #3 From Travis Tilley (RETIRED) 2004-05-06 04:32:39 0000 -------
what version of binutils?

------- Comment #4 From Thomas Weidner 2004-05-06 05:32:45 0000 -------
binutils-2.15.90.0.1.1-r1 and also happened with binutils-2.15.90.0.3-r1 

------- Comment #5 From ak 2004-05-11 05:29:46 0000 -------
I also had this one plus these when trying to link against libmp4v2 built by
faad2:
configure:19798: checking for MP4MetadataDelete in -lmp4v2
configure:19828: gcc -o conftest -O2 -Wall   conftest.c -lmp4v2 -lstdc++  >&5
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../libmp4v2.so: undefined reference
to `MP4Property::Dump(_IO_FILE*, unsigned char, bool, unsigned int, char
const*)'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../libmp4v2.so: undefined reference
to `typeinfo for MP4Property'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../libmp4v2.so: undefined reference
to `MP4Property::Write(MP4File*, unsigned int, char const*)'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../libmp4v2.so: undefined reference
to `MP4Property::SetCount(unsigned int, char const*)'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../libmp4v2.so: undefined reference
to `vtable for MP4RtpData'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../libmp4v2.so: undefined reference
to `MP4Property::GetType(char const*)'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../libmp4v2.so: undefined reference
to `typeinfo for MP4RtpData'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../libmp4v2.so: undefined reference
to `MP4Property::GetCount(char const*)'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../libmp4v2.so: undefined reference
to `MP4RtpData::GetData(unsigned char*, char const*)'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../libmp4v2.so: undefined reference
to `vtable for MP4Property'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../libmp4v2.so: undefined reference
to `MP4Property::Read(MP4File*, unsigned int, char const*)'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../libmp4v2.so: undefined reference
to `MP4RtpData::GetDataSize(char const*)'
collect2: ld returned 1 exit status
Using first patch from #47865 instead of the one that is in portage solved both
for me.
Also binutils-2.15.90.0.3-r1 here.

------- Comment #6 From hollywoodb 2004-05-30 10:57:18 0000 -------
This isn't gcc 3.4 specific...
Identical error here, so I won't post it again.

binutils  2.13.90.0.4

Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.6-l
ove4)
=================================================================
System uname: 2.6.6-love4 i686 AMD Athlon(tm) 
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -mcpu=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/
config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -mcpu=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ ftp://cudlug.cudenver.edu/pub/mirrors/dis
tributions/gentoo/ http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aim alsa avi berkdb cddb cdr chroot clamav cups dillo dvd encode fbcon flac foomaticdb gif gphoto2 gtk gtk2 icq imagemagick imap imlib imlib2 ipv6 java jpeg libwww mad mmx motif mozdomi mozilla moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg msn ncurses nls nopsyco nptl oav offensive oggvorbis opengl operanom2 oscar pdflib pic png ppds quicktime readline samba sdl sse ssl tiff transcode truetype usb x86 xface xinerama xml xml2 xmms xv xvid yahoo zlib"

------- Comment #7 From foser (RETIRED) 2004-05-30 11:35:28 0000 -------
*** Bug 50896 has been marked as a duplicate of this bug. ***

------- Comment #8 From foser (RETIRED) 2004-05-30 11:37:07 0000 -------
dupe & comment #6 imply that it is not a gcc 3.4 problem

------- Comment #9 From Paul Varner 2004-06-02 09:15:24 0000 -------
I have the same problem as well and it is not a GCC 3.4 issue.  In my case the
problem did not show up until I upgraded to xmms-1.2.10-r3.  I have tried to
unmerge and reemerge faad2 and xmms, but the problem still persists.

$ xmms
/usr/lib/libmp4v2.so.0: undefined symbol: _ZN11MP4Property7GetTypeEPKc
Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 72:
_dl_next_tls_modid: Assertion `result <= _rtld_local._dl_tls_max_dtv_idx'
failed!

$ emerge info
Portage 2.0.51_pre9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
Binutils: sys-devel/binutils-2.14.90.0.8-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa arts artswrappersuid avi berkdb cdr crypt cups dvd encode fam
fbcon foomaticdb gdbm gif gpm gtk gtk2 imlib java javascript jpeg kde libg++
libwww mad mbox mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg
ncurses nls nptl oggvorbis opengl pam pda pdflib perl png ppds python qt
quicktime readline sasl sdl slang spell sse ssl svga tcltk tcpd tiff truetype
usb x86 xml2 xmms xv zlib linguas_en"

------- Comment #10 From foser (RETIRED) 2004-06-03 02:11:58 0000 -------
though i reassigned this..

------- Comment #11 From Tuan Van (RETIRED) 2004-06-11 09:53:21 0000 -------
anyone has this problem but *not* use NVidia driver?

------- Comment #12 From Tuan Van (RETIRED) 2004-06-11 09:57:26 0000 -------
I'd clarified that my above comment is for the xmms crashing bug.

------- Comment #13 From Paul Varner 2004-06-11 11:24:06 0000 -------
On my boxes without the NVidia drivers, xmms doesn't crash or print the
"Inconsistency detected by ld.so:"  It does still complain about the undefined
symbol and the plugin installed by faad2 is not available in the options
dialog.

------- Comment #14 From Seemant Kulleen (RETIRED) 2004-06-11 16:41:43 0000 -------
*** Bug 53651 has been marked as a duplicate of this bug. ***

------- Comment #15 From Tuan Van (RETIRED) 2004-06-11 19:53:49 0000 -------
Could someone try to comment out the gcc-3.4 patch in the ebuild and try to
build agian with gcc-3.3.x? WFM.

ldd -r /usr/lib/libmp4v2.so
        linux-gate.so.1 =>  (0xffffe000)
        libstdc++.so.5 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 (0x400b4000)
        libm.so.6 => /lib/libm.so.6 (0x4017f000)
        libc.so.6 => /lib/libc.so.6 (0x401a0000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgcc_s.so.1
(0x402a8000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

------- Comment #16 From Tuan Van (RETIRED) 2004-06-11 20:24:02 0000 -------
I compiled faad2-2.0-r1 with the gcc-3.4 patch from comment #1 in bug #47865.
WFM.

# ldd -r /usr/lib/libmp4v2.so
        linux-gate.so.1 =>  (0xffffe000)
        libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/libstdc++.so.6
(0x400a7000)
        libm.so.6 => /lib/libm.so.6 (0x4018c000)
        libc.so.6 => /lib/libc.so.6 (0x401ae000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/libgcc_s.so.1
(0x402bf000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

------- Comment #17 From Paul Varner 2004-06-11 20:54:41 0000 -------
Compiled without the GCC 3,4 patch with gcc version 3.3.3 20040412 (Gentoo
Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6) produced no errors and an installed
plugin.  I can't verify the plugin since I have no mp4 files to play.  The
following is the ldd output:

ldd -r /usr/lib/libmp4v2.so
        linux-gate.so.1 =>  (0xffffe000)
        libstdc++.so.5 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 (0x400b4000)
        libm.so.6 => /lib/libm.so.6 (0x4017a000)
        libc.so.6 => /lib/libc.so.6 (0x4019b000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgcc_s.so.1
(0x402a5000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Putting the patch back in and recompiling again produces the errors.  Here is
the ldd output:

ldd -r /usr/lib/libmp4v2.so
        linux-gate.so.1 =>  (0xffffe000)
        libstdc++.so.5 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 (0x400b3000)
        libm.so.6 => /lib/libm.so.6 (0x40179000)
        libc.so.6 => /lib/libc.so.6 (0x4019a000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgcc_s.so.1
(0x402a4000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: _ZN11MP4Property7GetTypeEPKc  (/usr/lib/libmp4v2.so)
undefined symbol: _ZN11MP4Property8GetCountEPKc (/usr/lib/libmp4v2.so)
undefined symbol: _ZN11MP4Property8SetCountEjPKc        (/usr/lib/libmp4v2.so)
undefined symbol: _ZN11MP4Property4ReadEP7MP4FilejPKc   (/usr/lib/libmp4v2.so)
undefined symbol: _ZN11MP4Property5WriteEP7MP4FilejPKc  (/usr/lib/libmp4v2.so)
undefined symbol: _ZN11MP4Property4DumpEP8_IO_FILEhbjPKc       
(/usr/lib/libmp4v2.so)
undefined symbol: _ZTI11MP4Property     (/usr/lib/libmp4v2.so)
undefined symbol: _ZN10MP4RtpData11GetDataSizeEPKc      (/usr/lib/libmp4v2.so)
undefined symbol: _ZN10MP4RtpData7GetDataEPhPKc (/usr/lib/libmp4v2.so)
undefined symbol: _ZTI10MP4RtpData      (/usr/lib/libmp4v2.so)
undefined symbol: _ZTV10MP4RtpData      (/usr/lib/libmp4v2.so)
undefined symbol: _ZTV11MP4Property     (/usr/lib/libmp4v2.so)

Since I'm running gcc 3.3.3, I'm going to remove the gcc 3.4 patch for now.

------- Comment #18 From Travis Tilley (RETIRED) 2004-06-12 20:34:19 0000 -------
ok, i've committed a new patch to the tree. give it a little time to reach
rsync and please, everyone, test... with gcc 3.4, 3.3.3, 3.2.3... whatever you
use. let me know if i can close this bug.

------- Comment #19 From Travis Tilley (RETIRED) 2004-06-12 21:14:30 0000 -------
alright, two people on #gentoo-dev say that this bug is fixed so i'm closing
it. please re-open if you continue to have problems after an rsync.

------- Comment #20 From Blu3 2004-08-15 11:20:54 0000 -------
It's not fixed, it's hidden.  The root cause of this is ABI incompatibilities
stemming from the USE=nptl on x86_64 (amd64).

First Last Prev Next    No search results available      Search page      Enter new bug