Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34626 - xine-lib-1_rc2 failes to compile
Summary: xine-lib-1_rc2 failes to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 34689 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-28 07:43 UTC by Andreas Kotowicz
Modified: 2004-02-16 02:57 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 Andreas Kotowicz 2003-11-28 07:43:35 UTC
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/libfaad/codebook'
make[4]: Entering directory
`/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/libfaad'
source='bits.c' object='bits.lo' libtool=yes \
depfile='.deps/bits.Plo' tmpdepfile='.deps/bits.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool-nofpic --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../.. -I../../inclu de -I../../include -I../../src -I../../src/xine-engine
-I../../src/xine-engine -I../../src/xine-utils   -I../../src/input
-I../../src/input    -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE 
-W pointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts
-Wmissing-declarations -Wmissing-protot ypes -march=pentium4 -O3 -funroll-loops
-pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -m no-sse2 -mno-sse2
-mno-sse2     -c -o bits.lo `test -f 'bits.c' || echo './'`bits.c
rm: cannot remove `': Invalid argument
source='cfft.c' object='cfft.lo' libtool=yes \
depfile='.deps/cfft.Plo' tmpdepfile='.deps/cfft.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool-nofpic --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../.. -I../../inclu de -I../../include -I../../src -I../../src/xine-engine
-I../../src/xine-engine -I../../src/xine-utils   -I../../src/input
-I../../src/input    -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE 
-W pointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts
-Wmissing-declarations -Wmissing-protot ypes -march=pentium4 -O3 -funroll-loops
-pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -m no-sse2 -mno-sse2
-mno-sse2     -c -o cfft.lo `test -f 'cfft.c' || echo './'`cfft.c
rm: cannot remove `': Invalid argument
cfft.c: In function `passf2':
cfft.c:560: unable to find a register to spill in class `SSE_REGS'
cfft.c:560: this is the insn:
(insn 457 456 458 (set (subreg:SF (reg/v:DI 29 rmm0 [112]) 0)
        (minus:SF (reg:SF 21 exmm0 [195])
            (mem:SF (plus:SI (mult:SI (reg:SI 1 edx [188])
                        (const_int 8 [0x8]))
                    (reg/v/f:SI 4 esi [62])) [4 S4 A32]))) 547 {*fop_sf_1_sse}
(insn_list 454 (nil))
    (expr_list:REG_DEAD (reg:SF 21 exmm0 [195])
        (nil)))
cfft.c:560: confused by earlier errors, bailing out
make[4]: *** [cfft.lo] Error 1
make[4]: Leaving directory
`/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/libfaad'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/libfaad'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2'
make: *** [all] Error 2
 
!!! ERROR: media-libs/xine-lib-1_rc2 failed.
!!! Function src_compile, Line 113, Exitcode 2
!!! Parallel make failed

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-test11)
=================================================================
System uname: 2.6.0-test11 i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -funroll-loops -pipe -fomit-frame-pointer
-mfpmath=sse -mmmx -msse -msse2"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/sound/events /usr/X11R6/lib/X11/xkb /etc/init.d
/etc/giFT /etc/X11/starthere /etc/X11 /etc/gconf /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
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.de.gentoo.org/gentoo-portage"
USE="x86 avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod motif mpeg
ncurses nls pdflib png quicktime spell xml2 xmms xv zlib gdbm berkdb slang
readline aalib svga java guile sdl gpm tcpd pam libwww ssl perl python imlib
oggvorbis gtk qt opengl mozilla acpi gtk2 X alsa -apm -kde -arts dvd tcltk
gstreamer -esd sse gnome -ldap dvdr cdr tetex truetype mysql -oss
input_devices_synaptics"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-11-28 08:27:58 UTC
please paste
#emerge info
Comment 2 Andreas Kotowicz 2003-11-28 08:31:19 UTC
it already there.
Comment 3 Andreas Kotowicz 2003-11-28 09:26:12 UTC
I just changed march entry in CFLAGS from ="-march=pentium4" to CFLAGS="-march=pentium3"

now it fails here: 

/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../includ e -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils  -I../../src/input -I../.. /src/input    -I/usr/X11R6/include -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -Wpointer-arith -W nested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -march=pentium3 -O3 - funroll-loops -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2     -c -o color.lo `test -f 'color.c' || echo './'`color.c
rm: cannot remove `': Invalid argument
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engin e -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I/usr/X11R6/include -Wall  -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscr ipts -Wmissing-declarations -Wmissing-prototypes -march=pentium3 -O3 -funroll-loops -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -c color.c -MT color.lo -MD -MP -MF .deps/color.TPlo  -fPIC -DPIC -o .libs/colo r.o
{standard input}: Assembler messages:
{standard input}:2198: Error: suffix or operands invalid for `movd'
{standard input}:2692: Error: suffix or operands invalid for `movd'
{standard input}:3128: Error: suffix or operands invalid for `movd'
{standard input}:3902: Error: suffix or operands invalid for `movd'
{standard input}:3903: Error: suffix or operands invalid for `movd'
{standard input}:4620: Error: suffix or operands invalid for `movd'
make[3]: *** [color.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/xine-utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2'
make: *** [all] Error 2
 
!!! ERROR: media-libs/xine-lib-1_rc2 failed.
!!! Function src_compile, Line 113, Exitcode 2
!!! Parallel make failed


seems to be some CFLAGS problem
Comment 4 Thomas Scheffler 2003-11-29 03:26:40 UTC
Same here:
.
.
.
make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/libfaad/codebook'
make[4]: Entering directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/libfaad'
source='bits.c' object='bits.lo' libtool=yes \
depfile='.deps/bits.Plo' tmpdepfile='.deps/bits.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool-nofpic --mode=compile 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    -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O3 -pipe -mfpmath=sse -march=pentium3 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4   -I/usr/kde/3.1/include/artsc  -c -o bits.lo `test -f 'bits.c' || echo './'`bits.c
rm: cannot remove `': Invalid argument
source='cfft.c' object='cfft.lo' libtool=yes \
depfile='.deps/cfft.Plo' tmpdepfile='.deps/cfft.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool-nofpic --mode=compile 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    -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O3 -pipe -mfpmath=sse -march=pentium3 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4   -I/usr/kde/3.1/include/artsc  -c -o cfft.lo `test -f 'cfft.c' || echo './'`cfft.c
rm: cannot remove `': Invalid argument
cfft.c: In function `passf2':
cfft.c:560: unable to find a register to spill in class `SSE_REGS'
cfft.c:560: this is the insn:
(insn 337 335 358 (set (subreg:SF (reg/v:DI 29 rmm0 [138]) 0)
        (minus:SF (reg:SF 21 exmm0 [175])
            (mem:SF (reg/f:SI 0 eax [148]) [4 S4 A32]))) 547 {*fop_sf_1_sse} (insn_list 332 (nil))
    (expr_list:REG_DEAD (reg:SF 21 exmm0 [175])
        (nil)))
cfft.c:560: confused by earlier errors, bailing out
make[4]: *** [cfft.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/libfaad'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/libfaad'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2'
make: *** [all] Error 2

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


$emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-test9-mm2)
=================================================================
System uname: 2.6.0-test9-mm2 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -mfpmath=sse -march=pentium3 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe -mfpmath=sse -march=pentium3 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://www.fhh.opensource-mirror.de/gentoo.org/ ftp://ftp.fhh.opensource-mirror.de/pub/gentoo.org/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
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="x86 oss avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm berkdb slang readline arts tetex aalib bonobo svga tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla ldap cdr acl acpi acpi4linux also apache2 autofs clanJavaScript clanVoice dga dvd evo fbcon gtk2 hbci imap imlib2 ipv6 javascript lirc maildir mozcalendar mozp3p mozsvg mozxmlterm pcmcia pnp S3TC samba sis sse tiff transcode unicode usb xinerama xml xvid -apm"
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-11-29 05:08:21 UTC
*** Bug 34689 has been marked as a duplicate of this bug. ***
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-11-29 05:08:43 UTC
seems to be a gcc bug
Comment 7 Leonid Kabanov 2003-11-30 22:13:19 UTC
Same here. After some research I found that this caused by '-mfpmath=sse' options.
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-15 00:10:04 UTC
This is fixed by gcc-3.3.2 (although there are a new problem now, but at
least pentium3 is still Ok), so I think we might close it?
Comment 9 Leonid Kabanov 2004-02-15 21:33:13 UTC
I agreed. For now it compiles ok.
Comment 10 Martin Holzer (RETIRED) gentoo-dev 2004-02-16 02:57:36 UTC
clsoing