Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113159 - xine-lib fails compiling with gcc 4.0.2 (assembly code problem)
Summary: xine-lib fails compiling with gcc 4.0.2 (assembly code problem)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-21 06:22 UTC by Lorenzo Villani
Modified: 2005-11-21 11:33 UTC (History)
2 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 Lorenzo Villani 2005-11-21 06:22:00 UTC
xine-lib compilation fails with the following errors:

(cd .libs && rm -f xineplug_post_planar.la && ln -s ../xineplug_post_planar.la
xineplug_post_planar.la)
make[4]: Leaving directory
`/var/tmp/portage/xine-lib-1.1.1/work/xine-lib-1.1.1/src/post/planar'
Making all in goom
make[4]: Entering directory
`/var/tmp/portage/xine-lib-1.1.1/work/xine-lib-1.1.1/src/post/goom'
/bin/sh ../../../libtool-nofpic --tag=CC --mode=compile i686-pc-linux-gnu-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  -I../../../lib -DHAVE_MMX   `echo -DNDEBUG -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -DENABLE_IPV6 -march=i686 -Os -pipe
-frename-registers -ffunction-sections -mno-sse -fomit-frame-pointer | sed -e
's/-fomit-frame-pointer//g;s/-Os//g'` -c -o mmx.lo mmx.c
mkdir .libs
 i686-pc-linux-gnu-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 -I../../../lib -DHAVE_MMX -DNDEBUG -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -march=i686 -pipe
-frename-registers -ffunction-sections -mno-sse -c mmx.c  -fPIC -DPIC -o .libs/mmx.o
/bin/sh ../../../libtool-nofpic --tag=CC --mode=compile i686-pc-linux-gnu-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  -I../../../lib -DHAVE_MMX   `echo -DNDEBUG -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -DENABLE_IPV6 -march=i686 -Os -pipe
-frename-registers -ffunction-sections -mno-sse -fomit-frame-pointer | sed -e
's/-fomit-frame-pointer//g;s/-Os//g'` -c -o xmmx.lo xmmx.c
 i686-pc-linux-gnu-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 -I../../../lib -DHAVE_MMX -DNDEBUG -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -march=i686 -pipe
-frename-registers -ffunction-sections -mno-sse -c xmmx.c  -fPIC -DPIC -o
.libs/xmmx.o
{standard input}: Assembler messages:
{standard input}:219: Error: suffix or operands invalid for `movq'
{standard input}:220: Error: suffix or operands invalid for `movq'
make[4]: *** [xmmx.lo] Error 1
make[4]: Leaving directory
`/var/tmp/portage/xine-lib-1.1.1/work/xine-lib-1.1.1/src/post/goom'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/xine-lib-1.1.1/work/xine-lib-1.1.1/src/post'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1.1.1/work/xine-lib-1.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.1.1/work/xine-lib-1.1.1'
make: *** [all] Error 2

!!! ERROR: media-libs/xine-lib-1.1.1 failed.
!!! Function src_compile, Line 221, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:




Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-4.0.2,
glibc-2.3.5.20050722-r0, 2.6.14-gentoo i686)
=================================================================
System uname: 2.6.14-gentoo i686 AMD Athlon(TM) XP
Gentoo Base System version 1.12.0_pre10
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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="-march=i686 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT@euro"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/arbiter/coding/portage/normal
/home/arbiter/coding/portage/java"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X alsa apm audiofile avi bitmap-fonts bzip2 cairo cdb
cdr cgi crypt cups curl dlloader eds emboss encode erandom esd exif expat fam
fastcgi firefox foomatic foomaticdb force-cgi-redirect gdbm gif glut gnome gpm
gtk2 hal hardened hardenedphp imagemagick imlib ipv6 jpeg lcms libg++ libwww mad
mikmod mng mono motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis openal
opengl oss pam pcre pdflib perl png ppds python quicktime readline spell ssl svg
symlink tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales
vorbis win32codecs xine xml2 xv zlib linguas_it userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-21 06:40:49 UTC
x86 team, can someone take a look? I suck at x86 asm and don't have an x86 
handy. 
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-21 06:53:55 UTC
I'm committing patchlevel 18 that *should* fix this problem, tell me if it's 
the case. 
 
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-21 11:33:21 UTC
Okay fixed as the mail confirmed.