clang 3.1 error: assembler failed compiling ChipmunkSpace
Posted: Thu Apr 19, 2012 3:13 pm
I'm trying to compile ChimpunkPro from git using the iphonestatic.command with clang 3.1 (Xcode 4.3.2) and I'm getting the following error (clang flags trimmed for brevity):
I get the same error (but a slightly different output) if I switch from "Apple LLVM compiler 3.1" to "LLVM GCC 4.2"
Running macstatic.command seems to work fine.
I have the relevant parts of the build log I can send if that helps (although I can't seem to attach a .txt or .log file to the post). The only change I've made is setting IOS_SDK_VERSION = "5.1" in iphonestatic.command (because 5.0 isn't on this version of Xcode).
I'm happy to try to help fix the issue, but I haven't tried to program in assembler in years, and even then, it was x86, not ARM, so it would take me a long time to figure out on my own.
Any ideas where to go from here ?
Code: Select all
clang -x objective-c -arch armv6 -fmessage-length=0 -std=gnu99 -O3 [Snip] -c Objective-Chipmunk/ChipmunkSpace.m -o build/Release-iphoneos/ObjectiveChipmunk.build/Objects-normal/armv6/ChipmunkSpace.o
/var/folders/0w/3jczp7354_1_ftd0b__886f40000gn/T/ChipmunkSpace-IUGaT2.s:1484:selected processor does not support `vmov.i32 q8,#0x0'
[...Snip...]
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
Running macstatic.command seems to work fine.
I have the relevant parts of the build log I can send if that helps (although I can't seem to attach a .txt or .log file to the post). The only change I've made is setting IOS_SDK_VERSION = "5.1" in iphonestatic.command (because 5.0 isn't on this version of Xcode).
I'm happy to try to help fix the issue, but I haven't tried to program in assembler in years, and even then, it was x86, not ARM, so it would take me a long time to figure out on my own.
Any ideas where to go from here ?