From 501f727e4aa8135a8afc7ef07a3e016ac6b977df Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 5 May 2022 03:39:28 -0500 Subject: system/libffi: Update to 3.4.2 Run-tested on PPC64. The new patch here fixes the few test failures. All other test failures from past versions seem fixed now. --- system/libffi/long-double-size.patch | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 system/libffi/long-double-size.patch (limited to 'system/libffi/long-double-size.patch') diff --git a/system/libffi/long-double-size.patch b/system/libffi/long-double-size.patch new file mode 100644 index 000000000..8f04496eb --- /dev/null +++ b/system/libffi/long-double-size.patch @@ -0,0 +1,44 @@ +--- libffi-3.4.2/testsuite/libffi.closures/huge_struct.c.old 2021-06-27 10:17:08.000000000 -0500 ++++ libffi-3.4.2/testsuite/libffi.closures/huge_struct.c 2022-05-05 03:22:39.842515657 -0500 +@@ -6,7 +6,7 @@ + */ + + /* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */ +-/* { dg-options -mlong-double-128 { target powerpc64*-*-linux* } } */ ++/* { dg-options -mlong-double-128 { target powerpc64*-*-linux-gnu* } } */ + /* { dg-options -Wformat=0 { target moxie*-*-elf or1k-*-* } } */ + + #include +--- libffi-3.4.2/testsuite/libffi.closures/cls_longdouble.c.old 2021-06-27 10:17:08.000000000 -0500 ++++ libffi-3.4.2/testsuite/libffi.closures/cls_longdouble.c 2022-05-05 03:22:48.131612271 -0500 +@@ -7,7 +7,7 @@ + /* This test is known to PASS on armv7l-unknown-linux-gnueabihf, so I have + remove the xfail for arm*-*-* below, until we know more. */ + /* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */ +-/* { dg-options -mlong-double-128 { target powerpc64*-*-linux* } } */ ++/* { dg-options -mlong-double-128 { target powerpc64*-*-linux-gnu* } } */ + + #include "ffitest.h" + +--- libffi-3.4.2/testsuite/libffi.closures/cls_align_longdouble_split.c.old 2021-06-27 10:17:08.000000000 -0500 ++++ libffi-3.4.2/testsuite/libffi.closures/cls_align_longdouble_split.c 2022-05-05 03:22:55.740782984 -0500 +@@ -5,7 +5,7 @@ + Originator: 20031203 */ + + /* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */ +-/* { dg-options -mlong-double-128 { target powerpc64*-*-linux* } } */ ++/* { dg-options -mlong-double-128 { target powerpc64*-*-linux-gnu* } } */ + + #include "ffitest.h" + +--- libffi-3.4.2/testsuite/libffi.closures/cls_align_longdouble_split2.c.old 2021-06-27 10:17:08.000000000 -0500 ++++ libffi-3.4.2/testsuite/libffi.closures/cls_align_longdouble_split2.c 2022-05-05 03:23:00.930217413 -0500 +@@ -6,7 +6,7 @@ + */ + + /* { dg-do run { xfail strongarm*-*-* } } */ +-/* { dg-options -mlong-double-128 { target powerpc64*-*-linux* } } */ ++/* { dg-options -mlong-double-128 { target powerpc64*-*-linux-gnu* } } */ + + #include "ffitest.h" + -- cgit v1.2.3-60-g2f50