arm64

What do I need to do to use tgmath on iOS?

白昼怎懂夜的黑 提交于 2019-12-12 18:33:43
问题 I'm compiling my first project with 64 bit support enabled. I'm running into a bunch of compiler warnings about implicit conversions to float. This is happening because I'm using fabsf() and assigning the result to a CGFloat (which is a double, not float on the new 64 bit architecture). According to the answer on this question: CGFloat-based math functions? I just need to #include <tgmath.h> to solve this problem and probably change fabsf to fabs . I have at least one file where this doesn't

Keep getting linker errors on Xcode 5.1 despite reverting to 32bit architectures only

随声附和 提交于 2019-12-12 13:20:06
问题 since I updated to Xcode 5.1, which changes the standard architectures to also include arm64 , I keep getting the following error from the linker: 0 0x109157f93 __assert_rtn + 144 1 0x1091faed4 ld::passes::stubs::Pass::makeStub(ld::Atom const&, bool) + 0 2 0x1091fb5f7 ld::passes::stubs::Pass::process(ld::Internal&) + 497 3 0x1091fbc07 ld::passes::stubs::doPass(Options const&, ld::Internal&) + 111 4 0x109158b50 main + 772 5 0x7fff8568b5fd start + 1 A linker snapshot was created at: /tmp/MyApp

android kernel compiling error for arm64 (msm8996)

穿精又带淫゛_ 提交于 2019-12-12 08:58:27
问题 I'm trying to compile my custom kernel for an arm64 android device having an msm8996 SOC. I cloned my Kernel on GitHub just to make sure I have a fully clean code. Then I exported these: export PATH=/home/nico/Downloads/kernel/aarch64-linux-android-4.9/bin:$PATH export CROSS_COMPILE=aarch64-linux-android- export ARCH=arm64 export SUBARCH=arm64 Keep in mind that the msm8996 has two dual-core clusters which are both arm64. I tried compiling using the stock gcc 4.9 toolchain which is shiped with

ARM64 build error during building libetpan project

我与影子孤独终老i 提交于 2019-12-12 01:45:51
问题 While building libetpan for iOS-ARM64, I've been added logging functionality on prepare script on libetpan for mac project. Xcode fails with strange error, only during build ARM64 target. Here's the xcode log below: configuring running prepare-cyrus-sasl.sh prepare sources patching file lib/client.c building tools generated makemd5i386 properly building for iPhoneOS - armv7 CPPFLAGS=-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

ARM assembly - access parameter vs return value?

谁说我不能喝 提交于 2019-12-11 16:35:08
问题 I have a function prototype int Palindrome(const char *c_style_string); In ARM v8 assembly, I believe that the parameter is stored in register w0. However, isn't this also the register that ret outputs the value of? If so, what do I need to do so that values do not get overwritten? I was thinking something like mov w0, w1 at the beginning of my code so that I refer to c_style_string as w1 whenever I parse through it, and then edit w0 to store an int...would this be right? Thank you! 回答1: You

What happens if I do not support arm64 in my app?

雨燕双飞 提交于 2019-12-11 15:47:38
问题 If I remove arm64 architecture from the build settings of Xcode and retain only armv7 and arm7s in my app what will happen? What are the issues which may occur? Will my app work on all iOS devices? 回答1: Your app should continue to work. However as of June 1 2015, all of the app uploads to the Apple App Store must contain the arm64 slice. 回答2: As Apple wrote in a recent news post: 64-bit and iOS 8 Requirements for New Apps October 20, 2014 Starting February 1, 2015, new iOS apps uploaded to

QEMU AARCH64 “virt” Machine SMP CPUs Starting in “running” vs. “halted” State

天大地大妈咪最大 提交于 2019-12-11 15:27:27
问题 I'm working on bare-metal. No Linux, libraries, etc. I'm writing processor boot code in ASM and jumping to my compiled C code. My command line is: % qemu-system-aarch64 \ -s -S \ -machine virt,secure=on,virtualization=on \ -cpu cortex-a53 \ -d int \ -m 512M \ -smp 4 \ -display none \ -nographic \ -semihosting \ -serial mon:stdio \ -kernel my_file.elf \ -device loader,addr=0x40004000,cpu-num=0 \ -device loader,addr=0x40004000,cpu-num=1 \ -device loader,addr=0x40004000,cpu-num=2 \ -device

Can't generate x64 version of apks in my project

情到浓时终转凉″ 提交于 2019-12-11 15:00:07
问题 According to the new Play Store policy * that will take effect in August * I need to ensure that my app provides not only the 32-bit version, but also a 64-bit version, but when I try to generate that version through NDK, I always get the same libs. After trying and trying and trying, I just received an apk without any kind of "lib" folder. I've tried to set NDK with abiFilters on gradle and got no changes... defaultConfig { applicationId "com.myproject.supermidia" minSdkVersion 17

iOS: Standard architectures enabled but iTunes not recognising 64 bit support

半世苍凉 提交于 2019-12-11 12:40:55
问题 I have the following settings in my app to support 64 bit architectures but when I submit to app store for beta testing it gives me an error that your app is not supporting 64 bit. What could be the reason for it? 回答1: Try again by doing a 1-Clean (Frist) 2-Build (Second) 3-Archive (Third) This could be the solution! 来源: https://stackoverflow.com/questions/30603698/ios-standard-architectures-enabled-but-itunes-not-recognising-64-bit-support

typecast BOOL always returns false in iOS 8.1.1

让人想犯罪 __ 提交于 2019-12-11 07:56:36
问题 I save & retrive the BOOL value in a dictionary using the following methods. [userData setObject:@YES forKey:@"IS_AGENT"]; (BOOL) [userData objectForKey:@"IS_AGENT"]; In the above code while retrying the bool value from the dictionary I always get false in the following devices iPhone5s, iPhone5c, iPhone6, iPhone6+ which has iOS 8.1.1 and the same code works fine in iPod Touch which has the same iOS 8.1.1 After googled I came to know that we should not type cast BOOL like this because " BOOL