https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-12-08 Target Milestone|--- |8.0 Summary|-finstrument-control-flow |-fcf-protection -mcet is |-mcet is incompatible with |incompatible with |makecontext family |makecontext family |functions |functions Ever confirmed|0 |1 --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- There should be an option to disable it so that the SHSTK bit is still set on files which contain makecontext family functions within libc.