[Bug c++/79774] New: gcc -fsanitize=address with error

2017-03-01 Thread zhoujun48 at huawei dot com
++ 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&#x

[Bug c++/79774] gcc -fsanitize=address with error

2017-03-01 Thread zhoujun48 at huawei dot com
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

[Bug c++/79774] gcc -fsanitize=address with error

2017-03-01 Thread zhoujun48 at huawei dot com
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

2017-03-02 Thread zhoujun48 at huawei dot com
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++/79823] New: Address Sanitize compile,got undefined reference to '__asan' errors

2017-03-02 Thread zhoujun48 at huawei dot com
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