After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 722598 - gas-preprocessor: libav 10alpha2 fails to build on iOS: libavcodec/arm/vc1dsp_neon.S:2810:14: error: invalid operand
gas-preprocessor: libav 10alpha2 fails to build on iOS: libavcodec/arm/vc1dsp...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Mac OS
: Normal normal
: 1.3.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-01-20 12:46 UTC by Arjen Veenhuizen
Modified: 2014-01-21 11:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Arjen Veenhuizen 2014-01-20 12:46:12 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
Comment 1 Sebastian Dröge (slomo) 2014-01-20 14:37:25 UTC
That's not a full log. Can you build with "buildone gst-libav-1.0" and also provide gst-libs/ext/libav/config.log ?
Comment 2 Arjen Veenhuizen 2014-01-20 14:52:34 UTC
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
Comment 3 Sebastian Dröge (slomo) 2014-01-20 15:25:52 UTC
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?
Comment 4 Arjen Veenhuizen 2014-01-20 15:45:43 UTC
Ok, please check here: http://bugzilla.libav.org/show_bug.cgi?id=629

Tried to describe the problem the best I can ;)
Comment 5 Sebastian Dröge (slomo) 2014-01-20 16:35:59 UTC
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
Comment 6 Arjen Veenhuizen 2014-01-21 10:48:39 UTC
I can confirm that applying the above mentioned patch on ./cerbero/build-tools/bin/gas-preprocessor.pl fixes the problem.
Comment 7 Sebastian Dröge (slomo) 2014-01-21 11:16:58 UTC
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