./obj/local/arm64-v8a/objs/hello/hello.filtered.s:3:26: error: expected comdat type such as 'discard' or 'largest' after protection bits
.section .debug_info,"",@progbits
^
./obj/local/arm64-v8a/objs/hello/hello.filtered.s:5:28: error: expected comdat type such as 'discard' or 'largest' after protection bits
.section .debug_abbrev,"",@progbits
...
but use gcc it works fine.
why?
Android.mk
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_CFLAGS = -save-temps
LOCAL_MODULE := hello
LOCAL_SRC_FILES := hello.c
LOCAL_ARM_MODE := arm
LOCAL_FILTER_ASM := cp
include $(BUILD_EXECUTABLE)
Application.mk
APP_ABI := arm64-v8a
NDK_TOOLCHAIN_VERSION := clang