This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]