This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5726: GCC address sanitizer

Part Number: AM5726

Hello 

I woul like to use the gcc adress sanitizer with arm-linux-gnueabihf-gcc version 8.3-2019.03, that was shipped with ti-processor-sdk-linux-rt-am57xx-evm-06.00.00.07 but the libasan seems to be missing in the sdk 6.

With SDK 5 I compiled and linked with 

-fsanitize=address
-lasan
-ldl
-fno-omit-frame-pointer

in addition to our other compiler flags and the address sanitizer worked.

With SDK 6 I get the following linker error:

/home/mv/ti-processor-sdk-linux-rt-am57xx-evm-06.00.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: cannot find libasan_preinit.o: No such file or directory

Could someone tell me how to install the missing library into the SDK.

Thanks,

    Stephan