[Bug sanitizer/81066] sanitizer_stoptheworld_linux_libcdep.cc:276:22: error: aggregate ‘sigaltstack handler_stack’ has incomplete type and cannot be defined

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 10 22:44:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81066

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think the tsan build issue can be fixed just by replacing
__res_state *statp = (__res_state*)state;
line with
struct __res_state *statp = (struct __res_state*)state;
It should then build hopefully with both old and new glibc.


More information about the Gcc-bugs mailing list