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

Bug 57531

Summary: emerge xine-lib-1_rc4-r1 failed on ppc
Product: Gentoo Linux Reporter: François Bissey <frp.bissey>
Component: New packagesAssignee: PPC Porters <ppc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: make output before failure of the build

Description François Bissey 2004-07-18 16:43:03 UTC
I decided to do an emerge -e world to recompile all my programs and libs with
the latest version of gcc and glibc in the ppc tree (not the ~ppc). It was long
overdue. The process stoped at the building of xine-lib-1_rc4-r1 with an 
interesting error I will put in attachment. xine-lib is a dependency of kde so I
cannot really do without it. 

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

Actual Results:  
compilation failed.

Expected Results:  
success

bash-2.05b$ emerge info
Portage 2.0.50-r9 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.4.26-ppc)
=================================================================
System uname: 2.4.26-ppc ppc 7450, altivec supported
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=7450 -pipe -maltivec -mabi=altivec -fno-strict-aliasing"
CHOST="powerpc-unknown-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 /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=7450 -pipe -maltivec -mabi=altivec -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="ftp://ftp.vic.keypoint.com.au http://mirrors.tds.net/gentoo
ftp://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/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 aalib alsa arts berkdb cdf cdr cups dvd dvdr esd fbcon flac foomaticdb
gdbm gif gpm gtk2 imlib jpeg kde libwww mitshm motif mozilla ncurses netcdf nls
oggvorbis opengl oss pam pdflib perl png ppc ppds python qt readline samba sdl
sheep slang ssl szip tcpd tetex tiff truetype xml xml2 xmms xv zlib"
Comment 1 François Bissey 2004-07-18 16:44:38 UTC
Created attachment 35716 [details]
make output before failure of the build
Comment 2 François Bissey 2004-07-21 16:32:28 UTC
I see that xine-lib-1_rc5-r2, which is in ~ppc, has a useflag -altivec and that 
it actually compile. Considering that this version compile while xine-lib-1_rc4-r1
which is in ppc doesn't, shouldn't xine-lib-1_rc5-r2 be bumped in ppc? 
Comment 3 Nicolai Langfeldt 2004-07-31 07:53:29 UTC
AOL.

While building media-libs/xine-lib-1_rc4-r1:

 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 -O2 -pipe -mcpu=7400 -O1 -ffunction-sections -Wa,-m7400 -O3 -pipe -fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-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 -O2 -pipe -mcpu=7400 -O1 -ffunction-sections -MT idct_altivec.lo -MD -MP -MF .deps/idct_altivec.Tpo -c idct_altivec.c  -fPIC -DPIC -o .libs/idct_altivec.o
idct_altivec.c:629: error: syntax error before "signed"
idct_altivec.c:630: error: `vector' undeclared here (not in a function)
idct_altivec.c:630: error: syntax error before "signed"
idct_altivec.c:630: error: initializer element is not constant
idct_altivec.c:630: error: (near initialization for `constants[0]')
idct_altivec.c:631: error: `vector' undeclared here (not in a function)
idct_altivec.c:631: error: syntax error before "signed"
idct_altivec.c:631: error: initializer element is not constant

and then it goes on for pages and pages.  I can't get kdemultimedia off the ground either.

Nicolai
Comment 4 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-08-19 15:22:10 UTC
Can you guys try the rc_5 and report back if that doesn't work. It should work just fine since I included it in the GRP set for 2004.2
Comment 5 François Bissey 2004-08-19 15:40:04 UTC
I am now using rc5-r3 without problem and as I reported before I was using 
rc5-r2 without problem by enabling ~ppc for that build. The only problem was 
rc4 which was the version present in ppc.