[Bug sanitizer/59063] [4.9 Regression] ASAN: segfault in __interceptor_clock_gettime
y.gribov at samsung dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 11 07:09:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59063
--- Comment #4 from Yury Gribov <y.gribov at samsung dot com> ---
(In reply to Andrew Pinski from comment #3)
> I think in newer versions of glibc, clock_gettime is in libc.so now too.
I think Andrew is right - clock_gettime is in libc nowadays. Should we wontfix
this bug? A trivial WAR for users would be to add -lrt to cmdline.
(In reply to Evgeniy Stepanov from comment #2)
> We should link with libasan with librt. In Clang, we add -lrt to the linker
> flags when we see -fsanitize=(address|thread|memory).
Evgeniy, what about a warning in GetRealFunctionAddress if real symbol is NULL?
-Y
More information about the Gcc-bugs
mailing list