Yes, this toolchain I made only have static asan runtime, Why this would 
not work on android? we have to use a shared asan runtime? 
I found a wiki page about the problem what I am dealing with(FYI: android 
platform):
https://code.google.com/p/address-sanitizer/wiki/AsanAsDso

   - There is third-party executable binary which can not be recompiled 
   - It loads shared libraries that can be recompiled and we want to test 
   them with ASAN 

And I don't want use LD_PRELOAD things, so I try to build GCC asan myself, 
but only got static asan runtime in my toolchain.


在 2014年7月24日星期四UTC+8下午3时29分05秒,Evgeniy Stepanov写道:
>
> I'm not familiar with gcc build system, but it looks like this 
> toolchain has only static asan runtime. This would not work on 
> Android. 
>
> Error looks a bit strange though. Is it possible that you link static 
> asan runtime into the binary, and then LD_PRELOAD a shared runtime? 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to