Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49569 - xine-lib-1_rc4 fails to build on amd64
Summary: xine-lib-1_rc4 fails to build on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-30 21:39 UTC by Jon Wagoner
Modified: 2004-05-17 18:03 UTC (History)
3 users (show)

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


Attachments
patch fixing configure script for amd64 (xine-lib-1_rc4-amd64-fpm.patch,221 bytes, patch)
2004-05-17 09:39 UTC, Herbie Hopkins (RETIRED)
Details | Diff
ebuild for xine-lib-1_rc4 on amd64 (xine-lib-1_rc4-r1.ebuild,4.26 KB, text/plain)
2004-05-17 09:41 UTC, Herbie Hopkins (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Wagoner 2004-04-30 21:39:21 UTC
I get the following errors while trying to compile xine-lib:

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -O1 -fno-stack-protector -DOPT_SPEED -O3 -fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O1 -fno-stack-protector -c layer12.c -MT layer12.lo -MD -MP -MF .deps/layer12.TPlo  -fPIC -DPIC -o .libs/layer12.o
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s: Assembler messages:
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:639: Error: Incorrect register `%rax' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:644: Error: Incorrect register `%rax' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:694: Error: Incorrect register `%rax' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:699: Error: Incorrect register `%rax' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:745: Error: Incorrect register `%rax' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:750: Error: Incorrect register `%rax' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:801: Error: Incorrect register `%rsi' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:830: Error: Incorrect register `%r10' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:851: Error: Incorrect register `%rcx' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:872: Error: Incorrect register `%rcx' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:895: Error: Incorrect register `%rcx' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:913: Error: Incorrect register `%rcx' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:931: Error: Incorrect register `%rcx' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:949: Error: Incorrect register `%rcx' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:1973: Error: Incorrect register `%rax' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:1984: Error: Incorrect register `%rax' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:1998: Error: Incorrect register `%rax' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:2087: Error: Incorrect register `%rax' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:2095: Error: Incorrect register `%rax' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:2110: Error: Incorrect register `%rax' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:2348: Error: Incorrect register `%rax' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:2362: Error: Incorrect register `%rax' used with `l' suffix
/var/tmp/portage/xine-lib-1_rc4/temp/ccnkqj3n.s:2375: Error: Incorrect register `%rax' used with `l' suffix
make[3]: *** [layer12.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc4/work/xine-lib-1-rc4/src/libmad'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc4/work/xine-lib-1-rc4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc4/work/xine-lib-1-rc4'
make: *** [all] Error 2

!!! ERROR: media-libs/xine-lib-1_rc4 failed.
!!! Function src_compile, Line 113, Exitcode 2
!!! Parallel make failed


emerge info:Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-gentoo)
=================================================================
System uname: 2.6.5-gentoo x86_64 4
Gentoo Base System version 1.4.10
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acl acpi alsa amd64 apache2 apm arts audiofile avi berkdb bonobo cdr crypt cups curl doc dvd dvdr encode esd faad fbcon flac foomaticdb foreign-package gd gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml ieee1394 imlib innodb jabber java javamail javascript joystick jpeg jsch junit kde libg++ libgda libwww lirc mad maildir mdb mikmod mng motif mozilla mpeg mpeg4 multilib mysql ncurses nls nogcj nptl odbc oggvorbis opengl openssh oss pam pda pdflib perl php pic pie png ppds python qt quicktime radeon readline samba sdl slang slp speex spell ssl tcpd theora tiff truetype vhosts vim-with-x wmf xinerama xml2 xmms xosd xv zlib"




Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sven 2004-05-03 07:50:52 UTC
same problem here. is there any workaround? i'm trying to get kde emerged, but it seems to depend on xine-lib :-(
Comment 2 John Goerzen 2004-05-03 09:01:52 UTC
I saw this too.

FYI:

emerge =xine-lib-1_rc3-r3 works fine.  I think this should satisfy your KDE deps.  Looks like rc4 broke something.
Comment 3 Jon Portnoy (RETIRED) gentoo-dev 2004-05-03 09:23:02 UTC
Unfortunately, rc4 appears to be a security update fixing vulnerabilities in Real Media streaming, making it much more difficult to mask and forget.

However, I've temporarily removed amd64 keywords so people can at least install things like KDE. 
Comment 4 Herbie Hopkins (RETIRED) gentoo-dev 2004-05-17 09:39:08 UTC
Created attachment 31588 [details, diff]
patch fixing configure script for amd64

This patch to the configure script should fix this problem.
Comment 5 Herbie Hopkins (RETIRED) gentoo-dev 2004-05-17 09:41:19 UTC
Created attachment 31589 [details]
ebuild for xine-lib-1_rc4 on amd64

here's an ebuild that apply's the above patch on amd64
Comment 6 Jon Portnoy (RETIRED) gentoo-dev 2004-05-17 18:03:37 UTC
Committed, thanks.