I'll check this out in a few hours. I know Linux is more strict.<br>
<br>
- David<br><br><div><span class="gmail_quote">On 4/28/06, <b class="gmail_sendername">Firas Al-Tahan</b> <<a href="mailto:firearse@gmail.com">firearse@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just quickly Peter, which architecture are you compiling on, G4 or G5?<br><br>(Thanks Eric!)<br><br>Firas<br><br>On 4/27/06, Peter Czanik <<a href="mailto:pczanik@fang.fa.gau.hu">pczanik@fang.fa.gau.hu</a>> wrote:<br>
> Hello,<br>><br>> I have a compile problem on PPC. x264 was changed recently and PPC<br>> compatibility broke. In theory it was fixed ( see<br>> <a href="https://trac.videolan.org/x264/log/trunk/common/">https://trac.videolan.org/x264/log/trunk/common/
</a> ) , in practice it<br>> still does not work. The affected file is common/ppc/pixel.c<br>><br>> I use SUSE Linux 10.1 RC2 for compiling, with gcc 4.1:<br>> factoryppc:~ # gcc -v<br>> Using built-in specs.
<br>> Target: powerpc64-suse-linux<br>> Configured with: ../configure --enable-threads=posix --prefix=/usr<br>> --with-local-prefix=/usr/local --infodir=/usr/share/info<br>> --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
<br>> --enable-languages=c,c++,objc,fortran,java,ada --enable-checking=release<br>> --with-gxx-include-dir=/usr/include/c++/4.1.0 --enable-ssp<br>> --disable-libssp --enable-java-awt=gtk --enable-gtk-cairo<br>> --disable-libjava-multilib --with-slibdir=/lib --with-system-zlib
<br>> --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new<br>> --without-system-libunwind --with-cpu=default32 --enable-secureplt<br>> --with-long-double-128 --host=powerpc64-suse-linux<br>> Thread model: posix
<br>> gcc version 4.1.0 (SUSE Linux)<br>><br>> The source is a snapshot from the 25th of April.<br>><br>> The error messages are here:<br>><br>> gcc -Wall -I. -O4 -ffast-math -D__X264__ -DHAVE_MALLOC_H -maltivec
<br>> -mabi=altivec -DARCH_PPC -DSYS_LINUX -fPIC -s -fomit-frame-pointer -c<br>> -o common/ppc/pixel.o common/ppc/pixel.c<br>> common/ppc/pixel.c: In function 'pixel_sad_x4_16x16_altivec':<br>> common/ppc/pixel.c:707: error: invalid parameter combination for AltiVec
<br>> intrinsic<br>> common/ppc/pixel.c:708: error: invalid parameter combination for AltiVec<br>> intrinsic<br>> common/ppc/pixel.c:709: error: invalid parameter combination for AltiVec<br>> intrinsic<br>> common/ppc/pixel.c:710: error: invalid parameter combination for AltiVec
<br>> intrinsic<br>> common/ppc/pixel.c:717: error: invalid parameter combination for AltiVec<br>> intrinsic<br>> common/ppc/pixel.c:718: error: invalid parameter combination for AltiVec<br>> intrinsic<br>> common/ppc/pixel.c:719: error: invalid parameter combination for AltiVec
<br>> intrinsic<br>> common/ppc/pixel.c:720: error: invalid parameter combination for AltiVec<br>> intrinsic<br>> common/ppc/pixel.c: In function 'pixel_sad_x3_16x16_altivec':<br>> common/ppc/pixel.c:817: error: invalid parameter combination for AltiVec
<br>> intrinsic<br>> common/ppc/pixel.c:818: error: invalid parameter combination for AltiVec<br>> intrinsic<br>> common/ppc/pixel.c:819: error: invalid parameter combination for AltiVec<br>> intrinsic<br>> common/ppc/pixel.c:825: error: invalid parameter combination for AltiVec
<br>> intrinsic<br>> common/ppc/pixel.c:826: error: invalid parameter combination for AltiVec<br>> intrinsic<br>> common/ppc/pixel.c:827: error: invalid parameter combination for AltiVec<br>> intrinsic<br>> common/ppc/pixel.c: In function 'pixel_sad_x4_16x8_altivec':
<br>> common/ppc/pixel.c:937: error: invalid parameter combination for AltiVec<br>> intrinsic<br>> common/ppc/pixel.c:938: error: invalid parameter combination for AltiVec<br>> intrinsic<br>> common/ppc/pixel.c:939: error: invalid parameter combination for AltiVec
<br>> intrinsic<br>> common/ppc/pixel.c:940: error: invalid parameter combination for AltiVec<br>> intrinsic<br>> common/ppc/pixel.c:947: error: invalid parameter combination for AltiVec<br>> intrinsic<br>> common/ppc/pixel.c:948: error: invalid parameter combination for AltiVec
<br>> intrinsic<br>> common/ppc/pixel.c:949: error: invalid parameter combination for AltiVec<br>> intrinsic<br>> common/ppc/pixel.c:950: error: invalid parameter combination for AltiVec<br>> intrinsic<br>> common/ppc/pixel.c: In function 'pixel_sad_x3_16x8_altivec':
<br>> common/ppc/pixel.c:1047: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1048: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1049: error: invalid parameter combination for
<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1055: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1056: error: invalid parameter combination for<br>> AltiVec intrinsic
<br>> common/ppc/pixel.c:1057: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c: In function 'pixel_sad_x4_8x16_altivec':<br>> common/ppc/pixel.c:1168: error: invalid parameter combination for
<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1169: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1170: error: invalid parameter combination for<br>> AltiVec intrinsic
<br>> common/ppc/pixel.c:1171: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1178: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1179: error: invalid parameter combination for
<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1180: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1181: error: invalid parameter combination for<br>> AltiVec intrinsic
<br>> common/ppc/pixel.c: In function 'pixel_sad_x3_8x16_altivec':<br>> common/ppc/pixel.c:1278: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1279: error: invalid parameter combination for
<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1280: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1286: error: invalid parameter combination for<br>> AltiVec intrinsic
<br>> common/ppc/pixel.c:1287: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1288: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c: In function 'pixel_sad_x4_8x8_altivec':
<br>> common/ppc/pixel.c:1399: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1400: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1401: error: invalid parameter combination for
<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1402: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1409: error: invalid parameter combination for<br>> AltiVec intrinsic
<br>> common/ppc/pixel.c:1410: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1411: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1412: error: invalid parameter combination for
<br>> AltiVec intrinsic<br>> common/ppc/pixel.c: In function 'pixel_sad_x3_8x8_altivec':<br>> common/ppc/pixel.c:1510: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1511: error: invalid parameter combination for
<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1512: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1518: error: invalid parameter combination for<br>> AltiVec intrinsic
<br>> common/ppc/pixel.c:1519: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1520: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c: In function 'pixel_ssd_16x16_altivec':
<br>> common/ppc/pixel.c:1610: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> common/ppc/pixel.c:1612: error: invalid parameter combination for<br>> AltiVec intrinsic<br>> make: *** [common/ppc/pixel.o] Error 1
<br>><br>> Could you please take a look at it? Thanks, bye,<br>> CzP<br>><br>> --<br>> This is the x264-devel mailing-list<br>> To unsubscribe, go to: <a href="http://developers.videolan.org/lists.html">
http://developers.videolan.org/lists.html</a><br>><br>><br><br>--<br>This is the x264-devel mailing-list<br>To unsubscribe, go to: <a href="http://developers.videolan.org/lists.html">http://developers.videolan.org/lists.html
</a><br><br></blockquote></div><br>