GNOME Bugzilla – Bug 722598
gas-preprocessor: libav 10alpha2 fails to build on iOS: libavcodec/arm/vc1dsp_neon.S:2810:14: error: invalid operand
Last modified: 2014-01-21 11:17:28 UTC
gst-avlib-1.0 fails when compiling from git master for iOs (using xcode 5, target = iOs7 armv7). <excerpt from log> libavcodec/arm/vc1dsp_neon.S:2803:10: error: unexpected token in argument list rb .dn d29.i8 ^ libavcodec/arm/vc1dsp_neon.S:2804:10: error: unexpected token in argument list rc .dn d30.i8 ^ libavcodec/arm/vc1dsp_neon.S:2805:10: error: unexpected token in argument list rd .dn d31.i8 ^ libavcodec/arm/vc1dsp_neon.S:2808:14: error: invalid operand for instruction vmov ra, #3 ^ libavcodec/arm/vc1dsp_neon.S:2809:14: error: invalid operand for instruction vmov rb, #18 ^ libavcodec/arm/vc1dsp_neon.S:2810:14: error: invalid operand for instruction vmov rc, #53 ^ libavcodec/arm/vc1dsp_neon.S:2811:14: error: invalid operand for instruction vmov rd, #4 ^ make[5]: *** [libavcodec/arm/vc1dsp_neon.o] Error 1 make[4]: *** [all-local] Error 2 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Running command 'make' ***** Error running 'buildone' command: Recipe 'gst-libav-1.0' failed at the build step 'compile' Arjens-MacBook-Pro:cerbero arjenveenhuizen$ cerbero -c config/cross-ios-arm7.cbc buildone gst-libav-1.0 > log.log WARNING: Using default configuration because /Users/arjenveenhuizen/.cerbero/cerbero.cbc is missing ***** Error running 'buildone' command: Recipe 'gst-libav-1.0' failed at the build step 'compile' Full log: http://pastebin.com/QSVh0DCj Steps to reproduce: $ cerbero wipe $ git clone http://cgit.freedesktop.org/gstreamer/cerbero/ $ cerbero -c config/cross-ios-arm7.cbc bootstrap $ cerbero -c config/cross-ios-arm7.cbc package gstreamer-1.0
That's not a full log. Can you build with "buildone gst-libav-1.0" and also provide gst-libs/ext/libav/config.log ?
Sure! $ cerbero -c config/cross-ios-arm7.cbc buildone gst-libav-1.0 > log.log Full output log: http://pastebin.com/xkZJJaVN ./cerbero/sources/ios_armv7/gst-libav-1.0-1.3/gst-libs/ext/libav/config.log: http://pastebin.com/XzcKpQjY
Looks like a problem in libav's configure I guess... and should go to the libav.org Bugzilla with the last two logs. Can you do that and provide the link to the bug here?
Ok, please check here: http://bugzilla.libav.org/show_bug.cgi?id=629 Tried to describe the problem the best I can ;)
https://bugzilla.libav.org/show_bug.cgi?id=629#c2 Janne Grunau 2014-01-20 17:26:04 CET Not really a bug but a problem with apple's toolchain. You could either add -no-integrated-as to the CFLAGS or update gas-preprocessor.pl to include https://git.libav.org/?p=gas-preprocessor.git;a=commit;h=055db6aec07a41c54d01c13b3250e9523a6d338c
I can confirm that applying the above mentioned patch on ./cerbero/build-tools/bin/gas-preprocessor.pl fixes the problem.
commit 65a4e98e2f182320e782a8594626bf8b91261534 Author: Sebastian Dröge <sebastian@centricular.com> Date: Tue Jan 21 12:16:09 2014 +0100 gas-preprocessor: Update to the latest libav version Fixes build of libav and possibly others. https://bugzilla.gnome.org/show_bug.cgi?id=722598