Project

General

Profile

Actions

Bug #1053

closed

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

Added by Dmitry M. about 9 years ago. Updated about 9 years ago.

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

100%

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

Description

/home/crystax/work/ndk/ndk/platform/ndk/toolchains/llvm-3.6/prebuilt/linux-x86_64/bin/clang -MMD -MP -MF ./obj/local/arm64-v8a/objs/test-cocotron-arc-base/test-base.o.d -gcc-toolchain /home/crystax/work/ndk/ndk/platform/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64 -target aarch64-none-linux-android -ffunction-sections -funwind-tables -fstack-protector-strong -fpic -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-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/arm64-v8a -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/arm64-v8a -framework CoreVideo -framework CoreGraphics -framework CoreFoundation -framework CoreServices -F/home/crystax/work/ndk/ndk/platform/ndk/sources/objc/cocotron/0.1.0/frameworks/arm64-v8a -framework CoreText -framework CoreGraphics -framework CoreFoundation -framework CoreServices -F/home/crystax/work/ndk/ndk/platform/ndk/sources/objc/cocotron/0.1.0/frameworks/arm64-v8a -framework CoreData -framework CoreFoundation -framework CoreServices -F/home/crystax/work/ndk/ndk/platform/ndk/sources/objc/cocotron/0.1.0/frameworks/arm64-v8a -framework CoreGraphics -framework CoreFoundation -framework CoreServices -F/home/crystax/work/ndk/ndk/platform/ndk/sources/objc/cocotron/0.1.0/frameworks/arm64-v8a -framework CoreFoundation -framework CoreServices -F/home/crystax/work/ndk/ndk/platform/ndk/sources/objc/cocotron/0.1.0/frameworks/arm64-v8a -framework CFNetwork -framework CoreFoundation -F/home/crystax/work/ndk/ndk/platform/ndk/sources/objc/cocotron/0.1.0/frameworks/arm64-v8a -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-21/arch-arm64/usr/include jni/test-base.m -o ./obj/local/arm64-v8a/objs/test-cocotron-arc-base/test-base.o
:1:27: error: unexpected token in argument list
        mov     fp, fp          ; marker for objc_retainAutoreleaseReturnValue
                                             ^
:1:27: error: unexpected token in argument list
        mov     fp, fp          ; marker for objc_retainAutoreleaseReturnValue
                                             ^
:1:27: error: unexpected token in argument list
        mov     fp, fp          ; marker for objc_retainAutoreleaseReturnValue
                                             ^
3 errors generated.
Actions

Also available in: Atom PDF