This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [i386] PR81842 [CET] -fcf-protection -mcet is incompatible with makecontext family functions
On Dez 19 2017, "H.J. Lu" <hjl.tools@gmail.com> wrote:
> This isn't sufficient. I did get
>
> ../sysdeps/unix/sysv/linux/x86/tst-ucontext-1a.c:25:10: error: call to
> \u2018getcontext\u2019 declared with attribute error: -mshstk
> incompatible with ucontext.h APIs
> return getcontext (ucp);
Any test for the ucontext functions will have to be compiled without
-mshstk, of course.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."