On Tue, Dec 19, 2017 at 4:41 AM, Andreas Schwab <sch...@suse.de> wrote:
> On Dez 19 2017, "H.J. Lu" <hjl.to...@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.
>

Correct.

https://sourceware.org/ml/libc-alpha/2017-12/msg00638.html

has

(CFLAGS-tst-context1.c): Add -fcf-protection=branch -mno-shstk
-mibt.
(CFLAGS-bug-getcontext.c): Likewise.
(CFLAGS-tst-makecontext.c): Likewise.
(CFLAGS-tst-makecontext2.c): Likewise.
(CFLAGS-tst-makecontext3.c): Likewise.
(CFLAGS-tst-setcontext.c): Likewise.
(CFLAGS-tst-setcontext2.c): Likewise.
(CFLAGS-tst-setcontext3.c): Likewise.
(CFLAGS-tst-xbzero-opt.c): Likewise.

-- 
H.J.

Reply via email to