Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unhandled .if varient #13

Open
ghost opened this issue Jul 22, 2011 · 5 comments
Open

unhandled .if varient #13

ghost opened this issue Jul 22, 2011 · 5 comments

Comments

@ghost
Copy link

ghost commented Jul 22, 2011

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

@toohtik
Copy link

toohtik commented Jul 29, 2011

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

@dvj
Copy link

dvj commented Aug 2, 2011

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

@vkedwardli
Copy link

https://github.com/hollylee/gas-preprocessor

it is fixed in this fork

@ghost
Copy link
Author

ghost commented Aug 15, 2011

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??

@davilla
Copy link

davilla commented Sep 8, 2011

Has this been fixed ? I'm have the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants