Project

General

Profile

Bug #1052

[clang][armeabi] Can't build Objective-C sources with -fobjc-arc

Added by Dmitry Moskalchuk over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
High
Category:
toolchain
Target version:
Start date:
09/23/2015
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
arm
Host OS:
Toolchain:
clang-3.6, clang-3.7
Android version:
CrystaX Version:

Description

/home/crystax/work/ndk/ndk/platform/ndk/toolchains/llvm-3.6/prebuilt/linux-x86_64/bin/clang -MMD -MP -MF ./obj/local/armeabi/objs/test-cocotron-arc-base/test-base.o.d -gcc-toolchain /home/crystax/work/ndk/ndk/platform/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -target armv5te-none-linux-androideabi -march=armv5te -mtune=xscale -msoft-float -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -Ijni -I/home/crystax/work/ndk/ndk/platform/ndk/sources/objc/gnustep-libobjc2/include -Ijni -DANDROID -F/home/crystax/work/ndk/ndk/platform/ndk/sources/objc/cocotron/0.1.0/frameworks/armeabi -framework Foundation -framework CoreData -framework CoreGraphics -framework CoreFoundation -framework CoreServices -framework CFNetwork -F/home/crystax/work/ndk/ndk/platform/ndk/sources/objc/cocotron/0.1.0/frameworks/armeabi -framework CoreVideo -framework CoreGraphics -framework CoreFoundation -framework CoreServices -F/home/crystax/work/ndk/ndk/platform/ndk/sources/objc/cocotron/0.1.0/frameworks/armeabi -framework CoreText -framework CoreGraphics -framework CoreFoundation -framework CoreServices -F/home/crystax/work/ndk/ndk/platform/ndk/sources/objc/cocotron/0.1.0/frameworks/armeabi -framework CoreData -framework CoreFoundation -framework CoreServices -F/home/crystax/work/ndk/ndk/platform/ndk/sources/objc/cocotron/0.1.0/frameworks/armeabi -framework CoreGraphics -framework CoreFoundation -framework CoreServices -F/home/crystax/work/ndk/ndk/platform/ndk/sources/objc/cocotron/0.1.0/frameworks/armeabi -framework CoreFoundation -framework CoreServices -F/home/crystax/work/ndk/ndk/platform/ndk/sources/objc/cocotron/0.1.0/frameworks/armeabi -framework CFNetwork -framework CoreFoundation -F/home/crystax/work/ndk/ndk/platform/ndk/sources/objc/cocotron/0.1.0/frameworks/armeabi -framework CoreServices -UNDEBUG -fobjc-arc -Wa,--noexecstack -Wformat -Werror=format-security -fPIE -fobjc-exception -c -I/home/crystax/work/ndk/ndk/platform/ndk/sources/crystax/include -I/home/crystax/work/ndk/ndk/platform/ndk/platforms/android-9/arch-arm/usr/include jni/test-base.m -o ./obj/local/armeabi/objs/test-cocotron-arc-base/test-base.o
:1:2: error: instruction variant requires ARMv6 or later
mov r7, r7 @ marker for objc_retainAutoreleaseReturnValue
^
:1:2: error: instruction variant requires ARMv6 or later
mov r7, r7 @ marker for objc_retainAutoreleaseReturnValue
^
:1:2: error: instruction variant requires ARMv6 or later
mov r7, r7 @ marker for objc_retainAutoreleaseReturnValue
^
3 errors generated.

History

#1 Updated by Dmitry Moskalchuk over 3 years ago

  • Status changed from Open to In Progress

Also available in: Atom PDF