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

Bug 150222

Summary: emerge =media-libs/libdv-0.104-r2 fails!
Product: Gentoo Linux Reporter: Elvis Pranskevichus <elvis>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Elvis Pranskevichus 2006-10-05 18:26:48 UTC
emerge =media-libs/libdv-0.104-r2 failed with the following error

/bin/sh ../libtool --silent --mode=link --tag=CC i686-pc-linux-gnu-gcc  -O2 -march=pentium4 -pipe -fomit-frame-pointer -fno-ident -momit-leaf-frame-pointer -O0 -Wall  -Wl,-O1 -o libdv.la -rpath /usr/lib -version-info 4:2:0 dv.lo dct.lo idct_248.lo weighting.lo quant.lo vlc.lo place.lo parse.lo bitstream.lo YUY2.lo YV12.lo rgb.lo audio.lo util.lo encode.lo headers.lo enc_input.lo enc_audio_input.lo enc_output.lo vlc_x86.lo quant_x86.lo idct_block_mmx.lo dct_block_mmx.lo rgbtoyuv.lo encode_x86.lo transpose_x86.lo  -lm
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -march=pentium4 -pipe -fomit-frame-pointer -fno-ident -momit-leaf-frame-pointer -O0 -Wall -MT dovlc.o -MD -MP -MF ".deps/dovlc.Tpo" -c -o dovlc.o dovlc.c; \
        then mv -f ".deps/dovlc.Tpo" ".deps/dovlc.Po"; else rm -f ".deps/dovlc.Tpo"; exit 1; fi
/bin/sh ../libtool --silent --mode=link --tag=CC i686-pc-linux-gnu-gcc  -O2 -march=pentium4 -pipe -fomit-frame-pointer -fno-ident -momit-leaf-frame-pointer -O0 -Wall  -Wl,-O1 -o dovlc  dovlc.o libdv.la -lm
./.libs/libdv.so: undefined reference to `mmx_ok'
collect2: ld returned 1 exit status
make[3]: *** [dovlc] Error 1
make[3]: Leaving directory `/var/tmp/portage/libdv-0.104-r2/work/libdv-0.104/libdv'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/libdv-0.104-r2/work/libdv-0.104/libdv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libdv-0.104-r2/work/libdv-0.104'
make: *** [all] Error 2

!!! ERROR: media-libs/libdv-0.104-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  libdv-0.104-r2.ebuild, line 45:   Called die


emerge --info
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.12.5
Last Sync: Fri, 06 Oct 2006 00:29:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -fno-ident -momit-leaf-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -fno-ident -momit-leaf-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_CA.utf8"
LC_ALL="en_CA.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/portage-my"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa arts authdaemond bash-completion berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode exif firefox fortran gdbm gif gpm gstreamer hal imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux libg++ linguas_en mad mikmod mmx mozilla mp3 mpeg ncurses nls no-old-linux nptl nptlonly nsplugin ogg opengl pam pcre pdf perl pic png ppds pppd python qt3 quicktime readline reflection samba sasl sdl session slang spell spl sse sse2 ssl sysfs tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_i810 vorbis win32codecs xcomposite xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-06 00:12:14 UTC
Reopen if you can reproduce with C[XX]FLAGS="-O2 -march=pentium4 -pipe"
Comment 2 Elvis Pranskevichus 2006-10-06 10:14:52 UTC
(In reply to comment #1)
> Reopen if you can reproduce with C[XX]FLAGS="-O2 -march=pentium4 -pipe"
> 

I had a CFLAGS=-O0 override for media-libs/libdv. Probably because earlier versions did not compile with -O2. Now it's the opposite =)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-11-04 05:48:16 UTC
Reopen to dupe.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-04 05:48:39 UTC

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