[Interest] Compiling 5.3.1 on iOS arm64

Tom Ward tward at thefoundry.co.uk
Sun Aug 17 02:40:13 CEST 2014

Hello all,

I'm currently trying to re-compile Qt 5.3.1 for iOS to support arm64, but
am getting a compiler error that I'm unable to fathom.

To build, I did the following:

- Modified qtbase/mkspecs/macx-ios-clang/qmake.conf to change the
deployment target to 7.1 (as I believe arm64 is only available on this
version) and the QMAKE_IOS_DEVICE_ARCHS to arm64.

- ran configure with the following arguments:

*./configure -xplatform macx-ios-clang -release -sdk iphoneos7.1
-no-framework -no-openssl -prefix /tmp/ios7.1-armv64*

- run make

Here's the compiler errors I get:

image/qimage_neon.cpp:78:17: error: vector register expected
                "vld3.8     { d0, d1, d2 }, [%[SRC]] !\n\t"
<inline asm>:1:15: note: instantiated into assembly here
        vld3.8     { d0, d1, d2 }, [x1] !
image/qimage_neon.cpp:78:57: error: unrecognized instruction mnemonic
                "vld3.8     { d0, d1, d2 }, [%[SRC]] !\n\t"
<inline asm>:2:2: note: instantiated into assembly here
        vswp d0, d2

I've done a load of googling, and all I can find is a gist that was posted
by an apparent qt developer: https://gist.github.com/torarnv/6582663

Any help would be much appreciated! Am more than happy to help, but my
neon-fu isn't good enough to figure this one out!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140817/dac3dffb/attachment.html>

More information about the Interest mailing list