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.