Open madler opened 1 year ago
I am facing the same issue on enabling sanitizers for gcc on aarch64 linux. The issue was observed with the following command :- "aarch64-poky-linux-gcc -O1 -fsanitize=address -fno-omit-frame-pointer -o test test.c" I analyzed and tried to port the patch that fixes the issue for llvm. However, the file "sanitizer_runtime_select_allocator.h" is missing in gcc source. Hence, could not port the complete patch to test the fix on gcc. Can you please help me in resolving the issue on gcc.
On a fresh install from apt.llvm.org of clang 16.0.6 on an aarch64 Linux (Raspberry Pi OS Debian on a Pi 4 model B with 4GB), compiling and running a hello world C program, with virtual memory set to unlimited:
Same thing with clang 17 and 18:
The system this is on: