diff mbox series

[3/3] libffi: upgrade 3.8.1 -> 3.8.2

Message ID 20261127110246.512-3-jaipaul.cheernam@est.tech
State New
Headers show
Series [1/3] blueprint-compiler: Update release branch | expand

Commit Message

Jaipaul Cheernam Nov. 27, 2026, 11:02 a.m. UTC
ReleaseInfo: https://github.com/libffi/libffi/releases/tag/v3.8.2

Release 3.8.2
ABI and argument-handling fixes for 3.8.2
Refuse signatures too large for libffi's counters and size fields
MIPS N32/N64: handle complex values that only partly fit in the FP registers
MIPS O32: give ffi_closure_O32 a 16-byte result slot
powerpc64 ELFv2: do not quadword-align float/double/IBM long double aggregates
Static trampolines: make the temporary code-table file immutable
RISC-V, LoongArch: one-float struct takes the integer convention once FPRs run
out
powerpc64 ELFv2: set FLAG_ARG_NEEDS_PSAVE only when an argument is in memory
Pass by-value aggregates aligned beyond the stack alignment correctly
Reject vector types in the Win64 and CRIS ffi_prep_cif paths

loongarch: ignore return buffer for void calls
testsuite: use named fields, not arrays, in cls_struct_float_psave.c
SPARC64: fix the FP word mask for struct arguments in closures
testsuite: use __builtin_alloca in the over-aligned struct tests
SPARC64: keep SPARC_FLAG_FP_ARGS when ffi_call discards the result
testsuite: skip the over-aligned struct tests under MSVC
README: tighten the TBD changelog entries
README: correct the size-limit wording and the MIPS N32/N64 closure note
AIX: recompute struct alignment from the members on every layout pass
SPARC: allocate the scratch result for a NULL rvalue in ffi_call
README: cite the advisory for each TBD changelog entry
i386: give a struct argument 16-byte alignment only for an aligned member
i386: fix three raw-API bugs in ffi_raw_call and ffi_prep_raw_closure_loc
README: shorten the over-alignment changelog entry
aarch64: reserve 16 bytes per by-reference struct in the argument slab
loongarch: ignore return buffer for void calls

Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
 meta/recipes-support/libffi/libffi/not-win32.patch            | 4 ++--
 .../libffi/{libffi_3.8.1.bb => libffi_3.8.2.bb}               | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-support/libffi/{libffi_3.8.1.bb => libffi_3.8.2.bb} (94%)
diff mbox series

Patch

diff --git a/meta/recipes-support/libffi/libffi/not-win32.patch b/meta/recipes-support/libffi/libffi/not-win32.patch
index e1a6b187f5a..880a65d2fe0 100644
--- a/meta/recipes-support/libffi/libffi/not-win32.patch
+++ b/meta/recipes-support/libffi/libffi/not-win32.patch
@@ -1,4 +1,4 @@ 
-From 948a108c78f9030d1f1ea87af62ccd257da4b82b Mon Sep 17 00:00:00 2001
+From dc67387ff4383bbf0f77ea6a45779983ca525baf Mon Sep 17 00:00:00 2001
 From: Ross Burton <ross.burton@intel.com>
 Date: Thu, 4 Feb 2016 16:22:50 +0000
 Subject: [PATCH] libffi: ensure sysroot paths are not in libffi.pc
@@ -20,7 +20,7 @@  Signed-off-by: Ross Burton <ross.burton@intel.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/configure.ac b/configure.ac
-index 63731dd..cd78322 100644
+index 2237b05..658b4ae 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -449,7 +449,7 @@ done
diff --git a/meta/recipes-support/libffi/libffi_3.8.1.bb b/meta/recipes-support/libffi/libffi_3.8.2.bb
similarity index 94%
rename from meta/recipes-support/libffi/libffi_3.8.1.bb
rename to meta/recipes-support/libffi/libffi_3.8.2.bb
index 318cc7ef469..317bf8d938c 100644
--- a/meta/recipes-support/libffi/libffi_3.8.1.bb
+++ b/meta/recipes-support/libffi/libffi_3.8.2.bb
@@ -13,7 +13,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=5e9a8df556846bb3d1edec0d968a2311"
 SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BPN}-${PV}.tar.gz \
            file://not-win32.patch \
            "
-SRC_URI[sha256sum] = "81e879c094cc5ec3186c48510c6385ac6b3e866192e8bc71a35245703757ee40"
+SRC_URI[sha256sum] = "a699fda2b090c4b46cb79cf60c4dacfce480eb05742c0de66acf3af174a47f92"
 
 EXTRA_OECONF = "--disable-builddir"
 EXTRA_OECONF:class-native += "--with-gcc-arch=generic"