From 091bc97ac899631cafc4769bfd4b88c5fdda0b4f Mon Sep 17 00:00:00 2001 From: kettenis <> Date: Mon, 19 Apr 2021 15:56:37 +0000 Subject: The powerpc64 ELFv2 ABI explicitly states that exception enable bits and rounding control bits are not restored by longjmp(3). So expect the some failures on that platform. ok bluhm@ --- src/regress/lib/libc/setjmp-fpu/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/regress/lib/libc/setjmp-fpu/Makefile b/src/regress/lib/libc/setjmp-fpu/Makefile index e3dd2daa52..203613931a 100644 --- a/src/regress/lib/libc/setjmp-fpu/Makefile +++ b/src/regress/lib/libc/setjmp-fpu/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2020/12/17 00:51:11 bluhm Exp $ +# $OpenBSD: Makefile,v 1.6 2021/04/19 15:56:37 kettenis Exp $ PROGS= fpu _setjmp setjmp sigsetjmp @@ -15,4 +15,12 @@ run-$p: $p ./$p .endfor +.if ${MACHINE} == powerpc64 +# The powerpc64 ELFv2 ABI explicitly states that exception enable bits +# and rounding control bits are not restored by longjmp(3) +.for p in ${PROGS:M*jmp} +REGRESS_EXPECTED_FAILURES += run-$p +.endfor +.endif + .include -- cgit v1.2.3-55-g6feb