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

Bug 34689

Summary: xine can't compile with -fstack-protector
Product: Gentoo Linux Reporter: meyerm
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description meyerm 2003-11-29 04:55:03 UTC
When I try to compile media-libs/xine-lib-1_rc2 with -fstack-protector enabled it fails. 
Without this option it works. 

Reproducible: Always
Steps to Reproduce:
1. emerge xine-lib 
Actual Results:  
[..] 
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../../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 -O2 
-fomit-frame-pointer -funroll-loops -fstack-protector -march=pentium3 -mfpmath=sse 
-mmmx -msse   -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 -O2 
-fomit-frame-pointer -funroll-loops -fstack-protector -march=pentium3 -mfpmath=sse 
-mmmx -msse   -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:99: unable to find a register to spill in class `SSE_REGS' 
cfft.c:99: this is the insn: 
(insn 195 193 200 (set (subreg:SF (reg/v:DI 29 rmm0 [94]) 0) 
        (minus:SF (reg:SF 21 exmm0 [104]) 
            (mem:SF (plus:SI (mult:SI (reg:SI 0 eax [95]) 
                        (const_int 8 [0x8])) 
                    (reg/v/f:SI 4 esi [62])) [4 S4 A32]))) 547 {*fop_sf_1_sse} (insn_list 190 
(nil)) 
    (expr_list:REG_DEAD (reg:SF 21 exmm0 [104]) 
        (nil))) 
cfft.c:99: confused by earlier errors, bailing out 
distcc[13358] ERROR: compile on 10.151.4.252 failed 
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 
 
 


Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-grsec-2.0-rc3) 
================================================================= 
System uname: 2.4.22-grsec-2.0-rc3 i686 Intel(R) Xeon(TM) CPU 2.40GHz 
Gentoo Base System version 1.4.3.10 
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -fomit-frame-pointer -funroll-loops -fstack-protector -march=pentium3 
-mfpmath=sse -mmmx -msse" 
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" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-O2 -fomit-frame-pointer -funroll-loops -fstack-protector -march=pentium3 
-mfpmath=sse -mmmx -msse" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache autoaddcvs distcc buildpkg" 
GENTOO_MIRRORS=" http://mirror.fachschaften.tu-muenchen.de/gentoo" 
MAKEOPTS="-j9" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://mirror.fachschaften.tu-muenchen.de/gentoo-portage" 
USE="x86 oss apm avi crypt cups encode foomaticdb gif gpm jpeg libg++ mad mikmod 
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm 
berkdb slang readline arts svga X sdl tcpd pam libwww ssl perl python imlib oggvorbis 
qt kde motif opengl -gtk -gnome cdr dga dvd dvdr fam fbcon gphoto2 imap ipv6 maildir 
mmx pcmcia pda pnp samba scanner sse tetex tiff trusted unicode usb xinerama xosd 
video_cards_radeon linguas_de"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-11-29 05:08:20 UTC
this is only a gcc bug

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