[Interest] Compiling 5.3.1 on iOS arm64
Gustavsen Richard
Richard.Gustavsen at digia.com
Mon Aug 18 09:11:54 CEST 2014
In mkspecs/macx-ios-clang/default_pre.prf we set CONFIG -= neon for iphone simulator builds. You could try to set it for device build builds as well.
-Richard
________________________________
Fra: interest-bounces+richard.gustavsen=digia.com at qt-project.org [interest-bounces+richard.gustavsen=digia.com at qt-project.org] på vegne av Tom Ward [tward at thefoundry.co.uk]
Sendt: 17. august 2014 02:40
Til: interest at qt-project.org
Emne: [Interest] Compiling 5.3.1 on iOS arm64
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!
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140818/d5ee35fd/attachment.html>
More information about the Interest
mailing list