[Bug c++/79774] gcc -fsanitize=address with error
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
[Bug c++/79774] gcc -fsanitize=address with error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79774 --- Comment #4 from Martin Liška --- As reading Release Changes (https://gcc.gnu.org/gcc-4.8/changes.html), looks the address sanitizer was not enabled for aarch64. Can you please try a newer compiler, this one is not supported and even if we found an issue, we'll not fix it?
[Bug c++/79774] gcc -fsanitize=address with error
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
[Bug c++/79774] gcc -fsanitize=address with error
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 \ CameraParametersManagerImpl.cpp \ CameraManager.cpp LOCAL_SHARED_LIBRARIES := \ libcutils \ libutils \ liblog \ libbinder \ libhardware \ libui \ libgui \ libcamera_metadata \ libcamera_client \ libHWCamCfgSvr \ libvconf \ libc_secshared LOCAL_C_INCLUDES += \ bionic \ $(TOP)/frameworks/multimedia/av/include/ \ $(TOP)/frameworks/api/include/ \ $(TOP)/frameworks/api/camera/include/ \ $(TOP)/vendor/hisi/ap/hardware/camera3/include/ \ $(TOP)/external/vconf/include \ $(TOP)/external/vconf-internal-keys/include \ $(TOP)/vendor/huawei/chipset_common/modules/libc_sec/include LOCAL_CXX_STL := libc++ LOCAL_CFLAGS := -lasan -fsanitize=address -DLOG_TAG=\"Camera\" LOCAL_MODULE:= libcameramanager LOCAL_MODULE_TAGS:= optional include $(BUILD_SHARED_LIBRARY) for LOCAL_CFLAGS := -lasan -fsanitize=address -DLOG_TAG=\"Camera\" if I add -lasan -fsanitize=address ,then appears such error: undefined reference to '__asan_report_load8' if I get rid of -lasan -fsanitize=address ,then there is no errors.
[Bug c++/79774] gcc -fsanitize=address with error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79774 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed||2017-03-01 CC||marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Liška --- Can you please provide full command line? Or output with '--verbose' and you command line.