address sanitizer in ARM GNU-A 8.2-2018.11 arm-linux-gnueabihf

Hi all,

I'm trying to compile my application with -fsanitize but when linking it fails complaining that it cannot find any library for the linker flag '-lasan'. I did check and it seems that the ARM toolchain 8.2-2018.11 does not ship with asan runtime library libasan.so.

Is there any way to get this library without having to resort to another toolchain or building libasan from source or am I missing something?

Moreover it seems quite strange that while GCC 8.2 indeed supports building with the address sanitizer support the ARM toolchain does not ship its runtime library.

More questions in this forum