[cfe-users] Address Sanitizer Link Error

David Blaikie dblaikie at gmail.com
Sun May 4 12:57:28 PDT 2014


Did you checkout the llvm/project/compiler-rt project and
build/install that too?

On Sun, May 4, 2014 at 12:31 PM, Peter Caspers <pcaspers1973 at gmail.com> wrote:
> Hi,
>
> I built clang from the svn repository. It works fine, except when using
>
> -fsanitize=address
>
> during linking I get messages like
>
> /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_algobase.h:372:
> undefined reference to `__asan_memmove'
>
> Anybody has an idea what I did wrong ?
>
> Thanks
> Peter
> _______________________________________________
> cfe-users mailing list
> cfe-users at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users



More information about the cfe-users mailing list