This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/59063] [4.9 Regression] ASAN: segfault in __interceptor_clock_gettime
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Nov 2013 07:44:30 +0000
- Subject: [Bug sanitizer/59063] [4.9 Regression] ASAN: segfault in __interceptor_clock_gettime
- Auto-submitted: auto-generated
- References: <bug-59063-4 at http dot gcc dot gnu dot org/bugzilla/>
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.