You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ Developer ollvm/bin/clang --target=aarch64 main.c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/ -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/include
In file included from main.c:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/include/stdio.h:64:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/include/sys/cdefs.h:655:2: error:
Unsupported architecture
#error Unsupported architecture
...(lots of error)
The problem is the following: Apple's version of clang supports arm64, but no obfuscation. Obfuscator-LLVM supports aarch64, but the iPhone SDK not.
According to http://www.phoronix.com/scan.php?page=news_item&px=MTY5ODk, both backends have been merged in LLVM 3.5, which will be released in the coming weeks. As soon as LLVM 3.5 is officially released, we will release Obfuscator-LLVM 3.5.
With clang in Xcode5.1:
It's working fine.
But when use ollvm-3.4, I got a error about ARM64 arch definition:
or
example main.c:
So how can I build a arm64 binary with ollvm-3.4?
The text was updated successfully, but these errors were encountered: