[Buildroot] libasan.so missing

Peter Korsgaard peter at korsgaard.com
Tue Jul 4 12:22:24 UTC 2017


>>>>> "Wolfgang" == Wolfgang Grandegger <wg at grandegger.com> writes:

Hi,

 >> Correct. I've sent a patch fixing this for the internal and external
 >> toolchain. Could you give it a try?
 >> 
 >> https://patchwork.ozlabs.org/patch/783661/
 >> https://patchwork.ozlabs.org/patch/783660/

 > $ find . -name 'libasan*'
 > ./target/lib/libasan.so
 > ./target/lib/libasan_preinit.o
 > ./target/lib/libasan.so.2
 > ./target/lib/libasan.so.2.0.0

 > It works. The libsanitizer adds some extra space and runtime overhead,
 > I assume. Therefore, on Ubuntu, the libraries are not installed by
 > default. They can be added by installing the "libasan0" package. For
 > buildroot, would it make sense to make this option configurable as
 > well?

 > (libasan.*) Extra toolchain libraries to be copied to target

Yes, I'll respin the series to add an option to install
asan/lsan/tsan/usan.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list