summaryrefslogtreecommitdiff
path: root/system/libffi/long-double-size.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-05 03:39:28 -0500
committerZach van Rijn <me@zv.io>2022-05-06 12:37:31 -0500
commit501f727e4aa8135a8afc7ef07a3e016ac6b977df (patch)
tree33a04db90b83853777fca366bc318eb567b47f9b /system/libffi/long-double-size.patch
parent48081df32ece3c04cfdc798cff96213287311c7e (diff)
downloadpackages-501f727e4aa8135a8afc7ef07a3e016ac6b977df.tar.gz
packages-501f727e4aa8135a8afc7ef07a3e016ac6b977df.tar.bz2
packages-501f727e4aa8135a8afc7ef07a3e016ac6b977df.tar.xz
packages-501f727e4aa8135a8afc7ef07a3e016ac6b977df.zip
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.
Diffstat (limited to 'system/libffi/long-double-size.patch')
-rw-r--r--system/libffi/long-double-size.patch44
1 files changed, 44 insertions, 0 deletions
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 <inttypes.h>
+--- 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: <hos@tamanegi.org> 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"
+