http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59063
--- Comment #9 from Yury Gribov <y.gribov at samsung dot com> --- (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... > (dunno about tsan, does it require the same?), I don't think so, clock_* API are only intercepted by libasan.so.