Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32118 - xine-lib-1_rc2 fails to compile with altivec support
Summary: xine-lib-1_rc2 fails to compile with altivec support
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 45393
  Show dependency tree
 
Reported: 2003-10-27 12:32 UTC by daRonin
Modified: 2006-02-04 06:04 UTC (History)
0 users

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 daRonin 2003-10-27 12:32:31 UTC
If altivec compile time switches are on, the build fails. If altivec disabled,
xine-lib emerges fine.

Reproducible: Always
Steps to Reproduce:
1.emerge xine-lib

Actual Results:  
/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-engin
e -I../../src/xine-utils  -I../../src/input -I../../src/input    -Wa,-m7400 -O3
-pipe -fo
mit-frame-pointer   -fexpensive-optimizations -fschedule-insns2
-fno-strict-aliasing -ffa
st-math -funroll-loops -funroll-all-loops -finline-functions -Wall -D_REENTRANT
-D_FILE_O
FFSET_BITS=64 -DXINE_COMPILE  -Wpointer-arith -Wnested-externs -Wcast-align
-Wchar-subscr
ipts -Wmissing-declarations -Wmissing-prototypes -O2 -pipe -mcpu=7450 -maltivec
-mabi=alt
ivec   -I/usr/kde/3.1/include/artsc  -c -o idct_altivec.lo `test -f
'idct_altivec.c' || e
cho './'`idct_altivec.c
idct_altivec.c:631: syntax error before "signed"
idct_altivec.c:632: `vector' undeclared here (not in a function)
idct_altivec.c:632: parse error before "signed"
idct_altivec.c:632: initializer element is not constant
idct_altivec.c:632: (near initialization for `constants[0]')
idct_altivec.c:633: `vector' undeclared here (not in a function)
idct_altivec.c:633: parse error before "signed"
idct_altivec.c:633: initializer element is not constant
idct_altivec.c:633: (near initialization for `constants[1]')
idct_altivec.c:634: `vector' undeclared here (not in a function)
idct_altivec.c:634: parse error before "signed"
idct_altivec.c:634: initializer element is not constant
idct_altivec.c:634: (near initialization for `constants[2]')
idct_altivec.c:635: `vector' undeclared here (not in a function)
idct_altivec.c:635: parse error before "signed"
idct_altivec.c:635: initializer element is not constant
idct_altivec.c:635: (near initialization for `constants[3]')
idct_altivec.c:636: `vector' undeclared here (not in a function)
idct_altivec.c:636: parse error before "signed"
idct_altivec.c:637: initializer element is not constant
idct_altivec.c:637: (near initialization for `constants[4]')
idct_altivec.c:639: parse error before "signed"
idct_altivec.c:641: warning: no previous prototype for `mpeg2_idct_copy_altivec'
idct_altivec.c: In function `mpeg2_idct_copy_altivec':
idct_altivec.c:642: `vector' undeclared (first use in this function)
idct_altivec.c:642: (Each undeclared identifier is reported only once
idct_altivec.c:642: for each function it appears in.)
idct_altivec.c:642: parse error before "unsigned"
idct_altivec.c:644: `c4' undeclared (first use in this function)
idct_altivec.c:644: warning: implicit declaration of function `vec_splat'
idct_altivec.c:644: `a0' undeclared (first use in this function)
idct_altivec.c:644: `a1' undeclared (first use in this function)
idct_altivec.c:644: `a2' undeclared (first use in this function)
idct_altivec.c:644: `mc4' undeclared (first use in this function)
idct_altivec.c:644: `ma2' undeclared (first use in this function)
idct_altivec.c:644: `bias' undeclared (first use in this function)
idct_altivec.c:644: parse error before "signed"
idct_altivec.c:644: `zero' undeclared (first use in this function)
idct_altivec.c:644: warning: implicit declaration of function `vec_splat_s16'
idct_altivec.c:644: `shift' undeclared (first use in this function)
idct_altivec.c:644: warning: implicit declaration of function `vec_splat_u16'
idct_altivec.c:644: `vx0' undeclared (first use in this function)
idct_altivec.c:644: warning: implicit declaration of function `vec_mradds'
idct_altivec.c:644: warning: implicit declaration of function `vec_sl'
idct_altivec.c:644: `block' undeclared (first use in this function)
idct_altivec.c:644: `vx1' undeclared (first use in this function)
idct_altivec.c:644: `vx2' undeclared (first use in this function)
idct_altivec.c:644: `vx3' undeclared (first use in this function)
idct_altivec.c:644: `vx4' undeclared (first use in this function)
idct_altivec.c:644: `vx5' undeclared (first use in this function)
idct_altivec.c:644: `vx6' undeclared (first use in this function)
idct_altivec.c:644: `vx7' undeclared (first use in this function)
idct_altivec.c:644: `t1' undeclared (first use in this function)
idct_altivec.c:644: `t8' undeclared (first use in this function)
idct_altivec.c:644: warning: implicit declaration of function `vec_subs'
idct_altivec.c:644: `t7' undeclared (first use in this function)
idct_altivec.c:644: `t3' undeclared (first use in this function)
idct_altivec.c:644: `t5' undeclared (first use in this function)
idct_altivec.c:644: warning: implicit declaration of function `vec_adds'
idct_altivec.c:644: `t0' undeclared (first use in this function)
idct_altivec.c:644: `t2' undeclared (first use in this function)
idct_altivec.c:644: `t4' undeclared (first use in this function)
idct_altivec.c:644: `t6' undeclared (first use in this function)
idct_altivec.c:644: `vy0' undeclared (first use in this function)
idct_altivec.c:644: `vy7' undeclared (first use in this function)
idct_altivec.c:644: `vy1' undeclared (first use in this function)
idct_altivec.c:644: `vy6' undeclared (first use in this function)
idct_altivec.c:644: `vy2' undeclared (first use in this function)
idct_altivec.c:644: `vy5' undeclared (first use in this function)
idct_altivec.c:644: `vy3' undeclared (first use in this function)
idct_altivec.c:644: `vy4' undeclared (first use in this function)
idct_altivec.c:644: warning: implicit declaration of function `vec_mergeh'
idct_altivec.c:644: warning: implicit declaration of function `vec_mergel'
idct_altivec.c:644: warning: implicit declaration of function `vec_sra'
idct_altivec.c:651: `tmp' undeclared (first use in this function)
idct_altivec.c:651: warning: implicit declaration of function `vec_packsu'
idct_altivec.c:651: warning: implicit declaration of function `vec_ste'
idct_altivec.c:651: parse error before "unsigned"
idct_altivec.c:651: parse error before "unsigned"
idct_altivec.c:651: `dest' undeclared (first use in this function)
idct_altivec.c:651: `stride' undeclared (first use in this function)
idct_altivec.c:652: parse error before "unsigned"
idct_altivec.c:652: parse error before "unsigned"
idct_altivec.c:653: parse error before "unsigned"
idct_altivec.c:653: parse error before "unsigned"
idct_altivec.c:654: parse error before "unsigned"
idct_altivec.c:654: parse error before "unsigned"
idct_altivec.c:655: parse error before "unsigned"
idct_altivec.c:655: parse error before "unsigned"
idct_altivec.c:656: parse error before "unsigned"
idct_altivec.c:656: parse error before "unsigned"
idct_altivec.c:657: parse error before "unsigned"
idct_altivec.c:657: parse error before "unsigned"
idct_altivec.c:658: parse error before "unsigned"
idct_altivec.c:658: parse error before "unsigned"
idct_altivec.c:659: warning: implicit declaration of function `memset'
idct_altivec.c: At top level:
idct_altivec.c:662: parse error before "signed"
idct_altivec.c:664: warning: no previous prototype for `mpeg2_idct_add_altivec'
idct_altivec.c: In function `mpeg2_idct_add_altivec':
idct_altivec.c:665: `vector' undeclared (first use in this function)
idct_altivec.c:665: parse error before "unsigned"
idct_altivec.c:671: `c4' undeclared (first use in this function)
idct_altivec.c:671: `a0' undeclared (first use in this function)
idct_altivec.c:671: `a1' undeclared (first use in this function)
idct_altivec.c:671: `a2' undeclared (first use in this function)
idct_altivec.c:671: `mc4' undeclared (first use in this function)
idct_altivec.c:671: `ma2' undeclared (first use in this function)
idct_altivec.c:671: `bias' undeclared (first use in this function)
idct_altivec.c:671: parse error before "signed"
idct_altivec.c:671: `zero' undeclared (first use in this function)
idct_altivec.c:671: `shift' undeclared (first use in this function)
idct_altivec.c:671: `vx0' undeclared (first use in this function)
idct_altivec.c:671: `block' undeclared (first use in this function)
idct_altivec.c:671: `vx1' undeclared (first use in this function)
idct_altivec.c:671: `vx2' undeclared (first use in this function)
idct_altivec.c:671: `vx3' undeclared (first use in this function)
idct_altivec.c:671: `vx4' undeclared (first use in this function)
idct_altivec.c:671: `vx5' undeclared (first use in this function)
idct_altivec.c:671: `vx6' undeclared (first use in this function)
idct_altivec.c:671: `vx7' undeclared (first use in this function)
idct_altivec.c:671: `t1' undeclared (first use in this function)
idct_altivec.c:671: `t8' undeclared (first use in this function)
idct_altivec.c:671: `t7' undeclared (first use in this function)
idct_altivec.c:671: `t3' undeclared (first use in this function)
idct_altivec.c:671: `t5' undeclared (first use in this function)
idct_altivec.c:671: `t0' undeclared (first use in this function)
idct_altivec.c:671: `t2' undeclared (first use in this function)
idct_altivec.c:671: `t4' undeclared (first use in this function)
idct_altivec.c:671: `t6' undeclared (first use in this function)
idct_altivec.c:671: `vy0' undeclared (first use in this function)
idct_altivec.c:671: `vy7' undeclared (first use in this function)
idct_altivec.c:671: `vy1' undeclared (first use in this function)
idct_altivec.c:671: `vy6' undeclared (first use in this function)
idct_altivec.c:671: `vy2' undeclared (first use in this function)
idct_altivec.c:671: `vy5' undeclared (first use in this function)
idct_altivec.c:671: `vy3' undeclared (first use in this function)
idct_altivec.c:671: `vy4' undeclared (first use in this function)
idct_altivec.c:673: `p0' undeclared (first use in this function)
idct_altivec.c:673: warning: implicit declaration of function `vec_lvsl'
idct_altivec.c:673: `dest' undeclared (first use in this function)
idct_altivec.c:674: `p1' undeclared (first use in this function)
idct_altivec.c:674: `stride' undeclared (first use in this function)
idct_altivec.c:675: `p' undeclared (first use in this function)
idct_altivec.c:675: warning: implicit declaration of function `vec_splat_u8'
idct_altivec.c:676: `perm0' undeclared (first use in this function)
idct_altivec.c:677: `perm1' undeclared (first use in this function)
idct_altivec.c:688: `tmp' undeclared (first use in this function)
idct_altivec.c:688: warning: implicit declaration of function `vec_ld'
idct_altivec.c:688: `tmp2' undeclared (first use in this function)
idct_altivec.c:688: parse error before "signed"
idct_altivec.c:688: `tmp3' undeclared (first use in this function)
idct_altivec.c:688: parse error before "unsigned"
idct_altivec.c:688: parse error before "unsigned"
idct_altivec.c:689: parse error before "signed"
idct_altivec.c:689: parse error before "unsigned"
idct_altivec.c:689: parse error before "unsigned"
idct_altivec.c:690: parse error before "signed"
idct_altivec.c:690: parse error before "unsigned"
idct_altivec.c:690: parse error before "unsigned"
idct_altivec.c:691: parse error before "signed"
idct_altivec.c:691: parse error before "unsigned"
idct_altivec.c:691: parse error before "unsigned"
idct_altivec.c:692: parse error before "signed"
idct_altivec.c:692: parse error before "unsigned"
idct_altivec.c:692: parse error before "unsigned"
idct_altivec.c:693: parse error before "signed"
idct_altivec.c:693: parse error before "unsigned"
idct_altivec.c:693: parse error before "unsigned"
idct_altivec.c:694: parse error before "signed"
idct_altivec.c:694: parse error before "unsigned"
idct_altivec.c:694: parse error before "unsigned"
idct_altivec.c:695: parse error before "signed"
idct_altivec.c:695: parse error before "unsigned"
idct_altivec.c:695: parse error before "unsigned"
make[3]: *** [idct_altivec.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/libmpeg2'
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


Expected Results:  
Expecting a succesful emerge

Portage 2.0.49-r15 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-ben2)
=================================================================
System uname: 2.4.22-ben2 ppc 
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="no"
CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-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 /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/mnt/bintree/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="oss dvd xv libwww jpeg nls mitshm gif imlib kde mozilla png truetype ppc
cups foomaticdb gdbm berkdb slang readline arts aalib X sdl gpm tcpd pam ssl
perl python esd oggvorbis gtk qt motif opengl altivec crypt dvdr encode java
mpeg ncurses radeon spell transcode usb WindowMaker xine xmms xvid -gnome"
Comment 1 David Holm (RETIRED) gentoo-dev 2004-02-15 04:48:01 UTC
AltiVec flags are stripped in the rc3 ebuild.