This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 08 Dec 2017 11:57:04 +0000
- Subject: [Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions
- Auto-submitted: auto-generated
- References: <bug-81842-4@http.gcc.gnu.org/bugzilla/>
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.