From patchwork Fri Jul 24 17:44:07 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 10060 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4h6Fjz5m2Wz3wqN for ; Fri, 24 Jul 2026 17:44:39 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE1" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4h6Fjz3zVRz7Qf for ; Fri, 24 Jul 2026 17:44:39 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4h6Fjq6p2dz36XP for ; Fri, 24 Jul 2026 17:44:31 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4h6Fjg4Hd8z36VV for ; Fri, 24 Jul 2026 17:44:23 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4h6Fjd4QBGz7NB; Fri, 24 Jul 2026 17:44:21 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1784915061; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uh7+CC+DFuACvKCSMBfQAXg2HN2ineaNyQYTYyCYCvg=; b=WNHYcgGB7nNDSVqgAPO65DbAdjAUjUtTqiUa/B6Qtwjq2AyIrWPDr7YuxeYTFF2aUoEVUf pmIGDtK4v3wo4xCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1784915061; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uh7+CC+DFuACvKCSMBfQAXg2HN2ineaNyQYTYyCYCvg=; b=ML3+1xNWcoj0m9h+T/MvXTKEofxHRM0b4NwdiNwjwmL2DBQKqv6DgNGkHMOs2Lbbv7ffY5 BKllh4QTfiwf8J0S9b9/HcgU16AjCzkqZzywuwtyQZBxzbd0ZNRSkTiAXIPQVICyoPp/D5 QAITTu91LtgJYldBKbXqAeae59vFwUp0Biiq60XgqQw3RKQK2a/AWPl513le5Ba+F5ZL2t UpL6MaSMioRT/utokdwXcCwxGEk2/6qBWkXcSuyGelyEwlDu0e9hA1yfudwDQ1ODyJ4Fqh 3TmHHDU9/avGWF5eWpiY9LoQQ0vp1PKKk0Gg0cqsrBgRnpu8+Iplibcc8SyqmA== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] libffi: Update to version 3.7.1 Date: Fri, 24 Jul 2026 19:44:07 +0200 Message-ID: <20260724174412.3827472-16-adolf.belka@ipfire.org> In-Reply-To: <20260724174412.3827472-1-adolf.belka@ipfire.org> References: <20260724174412.3827472-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - 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 --- config/rootfiles/common/libffi | 2 +- lfs/libffi | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/rootfiles/common/libffi b/config/rootfiles/common/libffi index 2eba9dcab..3282b8113 100644 --- a/config/rootfiles/common/libffi +++ b/config/rootfiles/common/libffi @@ -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 diff --git a/lfs/libffi b/lfs/libffi index 2217a8ea7..2cfdbc414 100644 --- a/lfs/libffi +++ b/lfs/libffi @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2025 IPFire Team # +# Copyright (C) 2007-2026 IPFire Team # # # # 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)