Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78417 - media-libs/libdv-0.104 fails to compile w/ -O0: undefined reference to `mmx_ok'
Summary: media-libs/libdv-0.104 fails to compile w/ -O0: undefined reference to `mmx_ok'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 150222 154024 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-17 13:30 UTC by Don Seiler (RETIRED)
Modified: 2006-12-29 15:51 UTC (History)
4 users (show)

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 Don Seiler (RETIRED) gentoo-dev 2005-01-17 13:30:35 UTC
libdv-0.104 fails to compile for me.

/bin/sh ../libtool --silent --mode=link --tag=CC i686-pc-linux-gnu-gcc  -O0 -Wall -g   -o dovlc  dovlc.o libdv.la -lm 
dovlc.o(.text+0x1c8): In function `main':
/var/tmp/portage/libdv-0.104/work/libdv-0.104/libdv/dovlc.c:59: undefined reference to `dv_peek_vlc'
./.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/work/libdv-0.104/libdv'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/libdv-0.104/work/libdv-0.104/libdv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libdv-0.104/work/libdv-0.104'
make: *** [all] Error 2


Portage 2.0.51-r13 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0                                                                                                                        , 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jun  8 2004, 09:20:50)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.6.3, 1.9.4, 1.8.5-r2, 1.7.9, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O0"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/                                                                                                                        3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config                                                                                                                         /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O0"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs nostrip sandbox sfperms"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo                                                                                                                         http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/ http://prometh                                                                                                                        eus.cs.wmich.edu/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 alsa apache2 apm avi berkdb bitmap-fonts cdr cjk crypt cups curl dba debu                                                                                                                        g divx4linux eds encode esd evo f77 faac faad fam ffmpeg flac font-server foomat                                                                                                                        icdb fortran gd gdbm gif gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib i                                                                                                                        mlib2 java jce jpeg junit ldap libg++ libwww log4j mad mbox mikmod mng motif moz                                                                                                                        svg mp3 mpeg mpeg4 mplayer mysql ncurses nls nptl oci8 odbc offensive oggvorbis                                                                                                                         opengl oracle oss pam pcre pdflib pear-db perl png postgres postgresql ppds pyth                                                                                                                        on qt quicktime readline ruby samba sdl silc slang spell sse ssl svg svga tcltk                                                                                                                         tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb x86 xml xml2 xv                                                                                                                         xvid zlib"
Unset:  LDFLAGS
Comment 1 Don Seiler (RETIRED) gentoo-dev 2005-01-17 13:32:30 UTC
Changing my CFLAGS to

CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"

gets it working.  Weird?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-04 05:48:00 UTC
*** Bug 154024 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-11-04 05:48:39 UTC
*** Bug 150222 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-04 05:50:01 UTC
This is still a problem, reopening the bug.
Comment 5 Matthias Schwarzott gentoo-dev 2006-11-14 04:42:05 UTC
Observation for me:
with libdv-0.104 it fails for every revision

libdv-1.0.0 work

Is it an option to stablize libdv-1.0.0 and then begin to delete older versions?
Comment 6 SpanKY gentoo-dev 2006-12-29 15:51:23 UTC
in due time