http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55379



--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-18 19:35:21 
UTC ---

(In reply to comment #3)

> Note: fully static linking is not supported by libsanitizer at all and I don't

> think it will. 

> Reason: on linux asan uses "dlsym(RTLD_NEXT, ...)" and on Mac it uses 

> (will soon use) function inerposition. 

> Neither works for fully static binaries, afaict.



Then we should issue an error if -static is used with -faddress-sanitizer.

Reply via email to