[Bug sanitizer/59063] [4.9 Regression] ASAN: segfault in __interceptor_clock_gettime
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 11 07:44:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59063
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Yury Gribov from comment #9)
> (In reply to Jakub Jelinek from comment #8)
> > No. Just add it to STATIC_LIBASAN_LIBS and make sure libasan is linked against librt.
>
> Hm, I was under impression that these only get activated when user has
> specified -static-libasan on cmdline...
Sure. But for dynamically linked libasan.so you just add it to
libasan_la_LDFLAGS
and it will DTRT.
More information about the Gcc-bugs
mailing list