[FFmpeg-devel] build failure in ppc/fft_altivec_s.S (osx 10.5.8)

Pavel Koshevoy pkoshevoy at gmail.com
Sun Oct 28 18:05:13 CET 2012


On 10/27/2012 11:34 PM, Pavel Koshevoy wrote:
> Hi,
>
> I am getting the following error when building on my ppc g4 iMac (OSX 10.5)
>
> AS    libavcodec/ppc/fft_altivec_s.o
> /nfs/scratch/Developer/ffmpeg-git-src/libavcodec/ppc/fft_altivec_s.S:731:Parameter 
> syntax error (parameter 2)
> /nfs/scratch/Developer/ffmpeg-git-src/libavcodec/ppc/fft_altivec_s.S:731:Invalid 
> mnemonic 'got(r11)'
> /nfs/scratch/Developer/ffmpeg-git-src/libavcodec/ppc/fft_altivec_s.S:771:Parameter 
> syntax error (parameter 2)
> /nfs/scratch/Developer/ffmpeg-git-src/libavcodec/ppc/fft_altivec_s.S:771:Invalid 
> mnemonic 'got(r11)'
> /nfs/scratch/Developer/ffmpeg-git-src/libavcodec/ppc/fft_altivec_s.S:778:Parameter 
> syntax error (parameter 2)
> /nfs/scratch/Developer/ffmpeg-git-src/libavcodec/ppc/fft_altivec_s.S:778:Invalid 
> mnemonic 'got(r11)'
> /nfs/scratch/Developer/ffmpeg-git-src/libavcodec/ppc/fft_altivec_s.S:1250:Parameter 
> syntax error (parameter 2)
> /nfs/scratch/Developer/ffmpeg-git-src/libavcodec/ppc/fft_altivec_s.S:1250:Invalid 
> mnemonic 'got(r11)'
> /nfs/scratch/Developer/ffmpeg-git-src/libavcodec/ppc/fft_altivec_s.S:1290:Parameter 
> syntax error (parameter 2)
> /nfs/scratch/Developer/ffmpeg-git-src/libavcodec/ppc/fft_altivec_s.S:1290:Invalid 
> mnemonic 'got(r11)'
> /nfs/scratch/Developer/ffmpeg-git-src/libavcodec/ppc/fft_altivec_s.S:1297:Parameter 
> syntax error (parameter 2)
> /nfs/scratch/Developer/ffmpeg-git-src/libavcodec/ppc/fft_altivec_s.S:1297:Invalid 
> mnemonic 'got(r11)'
> make: *** [libavcodec/ppc/fft_altivec_s.o] Error 1
>
>
> If someone can suggest a fix I can try it (tomorrow).
>
> Thank you,
>     Pavel.

My configuration command line was
/nfs/scratch/Developer/ffmpeg-git-src/configure --prefix=/Developer/ppc 
--enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis 
--enable-libopus --enable-libtheora --enable-libschroedinger 
--enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex 
--enable-shared --enable-pthreads --enable-gpl --enable-version3 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-postproc 
--enable-libx264 --enable-libxvid --enable-runtime-cpudetect 
--extra-cflags=-I/opt/local/include 
--extra-ldflags='-headerpad_max_install_names -L/opt/local/lib'

and I've attached gas-preprocessor.pl that I used to enable ffmpeg assembly 
compilation for osx PPC.  In the past I compiled successfully without 
gas-preprocessor, but that means I didn't get any assembly optimization in my 
PPC build.

I don't see any recent changes in git log.  The get_got macro was added more 
than a year ago.  Am I the first one to try to build this configuration?  
Unfortunately I am not qualified to fix assembly code myself, so I'll need some 
help.

Thank you,
     Pavel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-preprocessor.pl
Type: application/x-perl
Size: 15708 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121028/2e51bc20/attachment.bin>


More information about the ffmpeg-devel mailing list