unhandled .if varient
Opened this issue · 5 comments
Maybe I use it in a wrong way but I get this error:
unhandled .if varient at /usr/bin/gas-preprocessor.pl line 199, line 145.
make: *** [libavcodec/arm/mpegaudiodsp_fixed_armv6.o] Error 29
using this configure:
./configure --enable-cross-compile --arch=arm --target-os=darwin --cc='/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv7' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk --cpu=cortex-a8 --enable-pic
same problem with:
./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 --as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk --enable-cross-compile --target-os=darwin --arch=arm --cpu=arm1176jzf-s --extra-ldflags=-L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/usr/lib/system --disable-bzlib --disable-doc
Same issue compiling ffmpeg 0.7.1 or ffmpeg 0.8.0 against iOS5.0 with gcc-4.2 on lion:
AS libavcodec/arm/mpegaudiodsp_fixed_armv6.o
unhandled .if varient at /usr/local/bin/gas-preprocessor.pl line 152, line 145.
make: *** [libavcodec/arm/mpegaudiodsp_fixed_armv6.o] Error 29
configured with:
./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 --as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk --extra-ldflags=-L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/usr/lib/system --target-os=darwin --arch=arm --cpu=cortex-a8 --extra-cflags='-arch armv7' --extra-ldflags='-arch armv7' --enable-pic --enable-cross-compile --disable-ffmpeg --disable-ffplay --disable-ffserver --disable-doc
https://github.com/hollylee/gas-preprocessor
it is fixed in this fork
Error even with hollylee version
...
AS libavcodec/arm/h264pred_neon.o
AS libavcodec/arm/int_neon.o
AS libavcodec/arm/jrevdct_arm.o
AS libavcodec/arm/mdct_fixed_neon.o
AS libavcodec/arm/mdct_neon.o
AS libavcodec/arm/mpegaudiodsp_fixed_armv6.o
unhandled .if varient at /usr/bin/gas-preprocessor.pl line 199, line 224.
make: *** [libavcodec/arm/mpegaudiodsp_fixed_armv6.o] Error 29
Maybe I do something wrong??
Has this been fixed ? I'm have the same issue.