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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Oct 28 18:36:37 CET 2012


On Sun, Oct 28, 2012 at 11:05:13AM -0600, Pavel Koshevoy wrote:
> 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'

Why do you need --enable-shared? Without it no GOT indirection should be
necessary.
Using newer versions of gcc and binutils might help, too.


More information about the ffmpeg-devel mailing list