++
Assignee: unassigned at gcc dot gnu.org
Reporter: zhoujun48 at huawei dot com
Target Milestone: ---
Complie C++ code,GCC 4.8.4,CFLAGS= -lasan -fsanitize=address,but get this
error:
system/sepolicy/tools/fc_sort/fc_sort.c:49: error: undefined reference to
'__asan_report_load8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79774
--- Comment #2 from xuliqun ---
Makefile like this :
NATIVE_CAMERA_LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MULTILIB := first
LOCAL_PATH := $(NATIVE_CAMERA_LOCAL_PATH)
LOCAL_SRC_FILES := \
CameraManagerImpl.cpp \
CameraP
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79774
--- Comment #3 from xuliqun ---
by the way, when compile,used gcc for arm64,not x86_64
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79774
--- Comment #5 from xuliqun ---
Sorry, my gcc is 4.9(\aarch64\aarch64-linux-android-4.9-kasan), not 4.8.4,
Is there any idea,thanku
ty: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: zhoujun48 at huawei dot com
Target Milestone: ---
Address Sanitize,Complie C++ code,GCC
4.9.0(gcc\linux-x86\aarch64\aarch64-linux-android-4.9-kasan),
CFLAGS= -lasan -fsaniti