libffi: Update to version 3.7.1
Commit Message
- Update from version 3.5.2 to 3.7.1
- Update of rootfile
- Changelog
3.7.1
Fix aarch64 ffi_call memory corruption when passing many large
structs by value.
Fix i386 thiscall/fastcall closure stack cleanup for 64-bit
integer and struct arguments.
Fix aarch64 int128 argument split between x7 and the stack on
Darwin (#993).
Fix aarch64 clang-cl link failure for HFA helper functions (#996).
Build a generic ffi_call_plan fallback on Windows x86-64.
Add Windows ARM64 (MSVC) build and continuous integration support.
3.7.0
Add reusable call plans (ffi_call_plan_alloc/ffi_call_plan_invoke/ffi_call_plan_free).
Fix PA-RISC build broken by the conditional __int128 support added in 3.6.0.
Fix PA-RISC stack overflow passing many small structs by value.
Fix powerpc aix/darwin closure build errors (#987).
Include .note.GNU-stack on FreeBSD/x86 (#991).
Fix MSVC Win32 spin-lock atomics in bundled dlmalloc (#989).
Harden static trampoline and x86_64 closure internals.
Fix ffi_call clobbering the caller's argument pointer array
when passing large structs by value.
Allow a NULL rvalue in ffi_call to discard the return value.
Fix wasm widening of integral returns narrower than ffi_arg.
3.6.0
Add LoongArch32 support.
Add RISC-V static trampoline support.
Add aarch64 GCS (Guarded Control Stack) support.
Add aarch64 feature build attribute support.
Add ppc64le ELFv2 complex type support.
Add conditional target support for __int128.
Add x86_64 IEEE binary128 long double support (e.g. x86_64 Android).
Update bundled dlmalloc to upstream 2.8.6.
Fix closures using FFI_REGISTER ABI.
Fix SH linker errors with USER_LABEL_PREFIX.
Fix compilation for ARM Windows targets.
Fix compilation for Cortex-A53.
Fix test compilation for some Android platforms.
Fix x86 ASAN compatibility for win64.
Fix clang -Werror-semi builds on riscv, or1k, loongarch.
Fix NULL deref in dlmalloc sys_trim on heap corruption.
Fix ThreadSanitizer data race in dlmalloc mparams init (#873).
Define WIN32_LEAN_AND_MEAN before including windows.h.
Fix comments that trip up some toolchains.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
config/rootfiles/common/libffi | 2 +-
lfs/libffi | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
@@ -4,7 +4,7 @@
#usr/lib/libffi.la
#usr/lib/libffi.so
usr/lib/libffi.so.8
-usr/lib/libffi.so.8.2.0
+usr/lib/libffi.so.8.4.1
#usr/lib/pkgconfig/libffi.pc
#usr/share/info/libffi.info
#usr/share/man/man3/ffi.3
@@ -1,7 +1,7 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2025 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2026 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
@@ -24,7 +24,7 @@
include Config
-VER = 3.5.2
+VER = 3.7.1
THISAPP = libffi-$(VER)
DL_FILE = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 35ce590926bcdd2556c30c94bb0fef3f0cfe8f32e809ffad00eb0bc7a8ba1ba40da844b108069c87e86bff278221cc42dc7c7aacd02a7b7bc408ea054085398c
+$(DL_FILE)_BLAKE2 = 642741667d55aa2921fc250adea68eafd2519e786199fd2d0463a57ab6e830b51d97a361156bc2761d8c1bfecb9156ddc3147b6f81f4379bc054b98a29675526
install : $(TARGET)