[cfe-dev] asan broken?

Howard Hinnant hhinnant at apple.com
Wed Mar 20 09:13:06 PDT 2013


Awesome, thanks!

Howard

On Mar 20, 2013, at 12:15 AM, Kostya Serebryany <kcc at google.com> wrote:

> 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
> 




More information about the cfe-dev mailing list