[cfe-dev] asan broken?

Kostya Serebryany kcc at google.com
Tue Mar 19 21:15:41 PDT 2013


I've recently bumped the asan API version from v1 to v2.
You need to rebuild compiler-rt.

hth,
--kcc


On Wed, Mar 20, 2013 at 1:11 AM, Howard Hinnant <hhinnant at apple.com> wrote:

> Is anyone having linking problems when compiling tot with
> -fsanitize=address?  I'm seeing:
>
> Undefined symbols for architecture x86_64:
>   "___asan_init_v2", referenced from:
>       _asan.module_ctor in test-OIs56r.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
> with a fresh llvm/clang build on OS X and:
>
> clang version 3.3 (trunk 177431)
> Target: x86_64-apple-darwin12.2.0
> Thread model: posix
>
> Thanks,
> Howard
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130320/a30841c4/attachment.html>


More information about the cfe-dev mailing list