[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 --- Comment #16 from H.J. Lu --- (In reply to Florian Weimer from comment #15) > I find it difficult to believe that there is no space left anyway to store > the shadow stack pointer information. Currently, we don't have good solution to

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-19 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 --- Comment #15 from Florian Weimer --- This is all very strange. How have extended makecontext for x86 AVX2/AVX-512 support? The CPU context needs to be stored somewhere, after all. I find it difficult to believe that there is no space left

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-19 Thread igor.v.tsimbalist at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 --- Comment #14 from igor.v.tsimbalist at intel dot com --- The new option is needed to support two cases: 1. Compilation of ucontext functions inside glibc. To have glibc itself be CET compatible all files comprises the library has to be CET

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 --- Comment #13 from H.J. Lu --- Created attachment 42895 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42895=edit A patch to add -mcheck-shstk-compat -mcheck-shstk-compat is on by default. We can add #if defined __SHSTK__ && defined

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 --- Comment #12 from H.J. Lu --- Maybe we should just simply poison to issue an error if SHSTK is enabled.

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 H.J. Lu changed: What|Removed |Added Attachment #42889|0 |1 is obsolete|

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 H.J. Lu changed: What|Removed |Added Attachment #42836|0 |1 is obsolete|

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 H.J. Lu changed: What|Removed |Added Attachment #42829|0 |1 is obsolete|

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 H.J. Lu changed: What|Removed |Added Attachment #42828|0 |1 is obsolete|

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 H.J. Lu changed: What|Removed |Added Attachment #42827|0 |1 is obsolete|

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 H.J. Lu changed: What|Removed |Added Attachment #42823|0 |1 is obsolete|

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 H.J. Lu changed: What|Removed |Added Attachment #42824|0 |1 is obsolete|

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 --- Comment #4 from H.J. Lu --- Created attachment 42824 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42824=edit The second patch

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 --- Comment #3 from H.J. Lu --- Created attachment 42823 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42823=edit The first patch

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|