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

--- Comment #13 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 42895
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42895&action=edit
A patch to add -mcheck-shstk-compat

-mcheck-shstk-compat is on by default.  We can add

#if defined __SHSTK__ && defined __CHECK_SHSTK_COMPAT__
# error This source is incompatible with -mshstk
#endif

to <ucontext.h>.

Reply via email to