[x264-devel] error compiling x264 on powerpc

Sergio Roa sergio.roa at dfki.de
Tue Apr 21 16:40:45 CEST 2009


Hi again,

Sorry, I forgot to add some more information. This is a Ubuntu 8.10 
installation.

$ uname -a
Linux aliena 2.6.25-2-powerpc #1 Tue Sep 30 14:49:00 UTC 2008 ppc GNU/Linux

$ gcc -v
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 
4.3.2-1ubuntu12' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--enable-shared --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --enable-nls 
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc 
--enable-mpfr --disable-softfloat --enable-secureplt 
--enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32 
--with-long-double-128 --enable-checking=release 
--build=powerpc-linux-gnu --host=powerpc-linux-gnu 
--target=powerpc-linux-gnu
Thread model: posix
gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12)

When compiling it in an x86 Ubuntu 8.10 system with the same compiler I 
don't get any errors.

cheers,
Sergio.

Sergio Roa wrote:
> Hi!
> 
> I hope this is the right place to report a compilation error. By 
> compiling the last git version of x264 on a powerpc i am getting the 
> following error:
> 
> gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_PPC -DSYS_LINUX 
> -DWORDS_BIGENDIAN -DHAVE_PTHREAD -s -fomit-frame-pointer -maltivec 
> -mabi=altivec -DHAVE_ALTIVEC_H   -c -o common/ppc/pixel.o 
> common/ppc/pixel.c
> common/ppc/pixel.c: In function ‘pixel_hadamard_ac_altivec’:
> common/ppc/pixel.c:1877: note: use -flax-vector-conversions to permit 
> conversions between vectors with differing element types or numbers of 
> subparts
> common/ppc/pixel.c:1877: error: incompatible types in initialization
> common/ppc/pixel.c:1878: error: incompatible types in initialization
> common/ppc/pixel.c:1879: error: incompatible types in initialization
> common/ppc/pixel.c:1880: error: incompatible types in initialization
> common/ppc/pixel.c:1884: error: incompatible types in initialization
> common/ppc/pixel.c:1885: error: incompatible types in initialization
> common/ppc/pixel.c:1886: error: incompatible types in initialization
> common/ppc/pixel.c:1887: error: incompatible types in initialization
> common/ppc/pixel.c:1908: error: invalid parameter combination for 
> AltiVec intrinsic
> common/ppc/pixel.c:1936: error: invalid parameter combination for 
> AltiVec intrinsic
> make: *** [common/ppc/pixel.o] Error 1
> 
> Cheers,
> 
> Sergio
> 
> 


-- 
Sergio Roa
http://www.dfki.de/~sroa
-------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany
* Geschaeftsfuehrung: Prof. Dr. Wolfgang Wahlster (Vors.)
                       Dr. Walter Olthoff
* Vorsitzender des Aufsichtsrats:Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
-------------------------------------------------------------


More information about the x264-devel mailing list