[x264-devel] compile problem on PPC
Peter Czanik
pczanik at fang.fa.gau.hu
Thu Apr 27 21:11:20 CEST 2006
Hello,
I have a compile problem on PPC. x264 was changed recently and PPC
compatibility broke. In theory it was fixed ( see
https://trac.videolan.org/x264/log/trunk/common/ ) , in practice it
still does not work. The affected file is common/ppc/pixel.c
I use SUSE Linux 10.1 RC2 for compiling, with gcc 4.1:
factoryppc:~ # gcc -v
Using built-in specs.
Target: powerpc64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,java,ada --enable-checking=release
--with-gxx-include-dir=/usr/include/c++/4.1.0 --enable-ssp
--disable-libssp --enable-java-awt=gtk --enable-gtk-cairo
--disable-libjava-multilib --with-slibdir=/lib --with-system-zlib
--enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new
--without-system-libunwind --with-cpu=default32 --enable-secureplt
--with-long-double-128 --host=powerpc64-suse-linux
Thread model: posix
gcc version 4.1.0 (SUSE Linux)
The source is a snapshot from the 25th of April.
The error messages are here:
gcc -Wall -I. -O4 -ffast-math -D__X264__ -DHAVE_MALLOC_H -maltivec
-mabi=altivec -DARCH_PPC -DSYS_LINUX -fPIC -s -fomit-frame-pointer -c
-o common/ppc/pixel.o common/ppc/pixel.c
common/ppc/pixel.c: In function 'pixel_sad_x4_16x16_altivec':
common/ppc/pixel.c:707: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:708: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:709: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:710: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:717: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:718: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:719: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:720: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c: In function 'pixel_sad_x3_16x16_altivec':
common/ppc/pixel.c:817: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:818: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:819: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:825: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:826: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:827: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c: In function 'pixel_sad_x4_16x8_altivec':
common/ppc/pixel.c:937: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:938: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:939: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:940: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:947: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:948: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:949: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c:950: error: invalid parameter combination for AltiVec
intrinsic
common/ppc/pixel.c: In function 'pixel_sad_x3_16x8_altivec':
common/ppc/pixel.c:1047: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1048: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1049: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1055: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1056: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1057: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c: In function 'pixel_sad_x4_8x16_altivec':
common/ppc/pixel.c:1168: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1169: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1170: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1171: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1178: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1179: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1180: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1181: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c: In function 'pixel_sad_x3_8x16_altivec':
common/ppc/pixel.c:1278: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1279: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1280: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1286: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1287: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1288: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c: In function 'pixel_sad_x4_8x8_altivec':
common/ppc/pixel.c:1399: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1400: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1401: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1402: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1409: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1410: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1411: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1412: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c: In function 'pixel_sad_x3_8x8_altivec':
common/ppc/pixel.c:1510: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1511: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1512: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1518: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1519: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1520: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c: In function 'pixel_ssd_16x16_altivec':
common/ppc/pixel.c:1610: error: invalid parameter combination for
AltiVec intrinsic
common/ppc/pixel.c:1612: error: invalid parameter combination for
AltiVec intrinsic
make: *** [common/ppc/pixel.o] Error 1
Could you please take a look at it? Thanks, bye,
CzP
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the x264-devel
mailing list