[Bug sanitizer/59188] [4.9 Regression] lib64/libtsan.so: undefined reference to `sigsetjmp'
Joost.VandeVondele at mat dot ethz.ch
gcc-bugzilla@gcc.gnu.org
Tue Nov 19 15:24:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59188
Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Joost.VandeVondele at mat dot ethz
| |.ch
--- Comment #5 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
(In reply to Dmitry Vyukov from comment #3)
> Can you please try the following patch
compiles with warnings:
../../../../gcc/libsanitizer/tsan/tsan_interceptors.cc:2022:12: note: in
expansion of macro ‘REAL’
*(uptr*)&REAL(_setjmp) = dlsym(RTLD_NEXT, "_setjmp");
^
../../../../gcc/libsanitizer/interception/interception.h:145:25: warning:
dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
However, it fixes the issue mentioned.
More information about the Gcc-bugs
mailing list