From patchwork Thu Aug 13 13:39:36 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 10145 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 4hLRRZ4l3fz3wqM for ; Thu, 13 Aug 2026 13:44:26 +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 4hLRRQ3CBZz7Gp for ; Thu, 13 Aug 2026 13:44:18 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4hLRMK5BLRz37GP for ; Thu, 13 Aug 2026 13:40:45 +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 4hLRMH0WvXz2xMg for ; Thu, 13 Aug 2026 13:40:43 +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 4hLRM65d8jz3xV; Thu, 13 Aug 2026 13:40:34 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1786628434; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zO1QPGQpLaxUb6usGw3ft6UbIEcJcjyIatu9fPs+OQ4=; b=47RQWHmy2hR+Mk1NtDJufBSlam84ckZKnk6gFj2BXkn4E7bTwfFpF6MP8O7g4dkmsqqr6u TukjPlqlaceHnUBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1786628434; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zO1QPGQpLaxUb6usGw3ft6UbIEcJcjyIatu9fPs+OQ4=; b=PXJGBZuQu78cqffk1Ii6fgxuSmyb7by1guqpDtYKEXh/uuPEgKl3OHNMwj1Br7A+B7dX73 Bmv0uyH93AAmUDQXKqrBcitM2oqQ3kbrtGzRwQ4dg557vmfFrpnAa3JHPaUh3XCX4EGNBJ S1lyNpuyr8otGZAXH6j3J7UqyYuClklRVdeKrI1aW8MPn+k17B6JvylB+YeUBI3XoXvcCK zW+9mNJazAf/Jdk/L8Iajnnmq0i2OAu9w7/kXj6j1KSXdYRwPutuC21eUknZiwx3bra4us Gp39UEUc8fGYnTJxuL+ub6jUeXRD6g861vI0b6ik/t4Ee1/kpxUDRugiOgxPxA== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] libffi: Update to version 3.8.0 Date: Thu, 13 Aug 2026 15:39:36 +0200 Message-ID: <20260813133942.2669472-7-adolf.belka@ipfire.org> In-Reply-To: <20260813133942.2669472-1-adolf.belka@ipfire.org> References: <20260813133942.2669472-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.7.1 to 3.8.0 - Update of rootfile - Changelog 3.8.0 New features FFI_TYPE_VECTOR (SIMD) type support with libffi-computed layout, for aarch64 and x86-64 (#1000, closes #773). ffi_call_plan_size — report the total memory a reusable call plan owns, for embedders that account for the memory held by long-lived plans. powerpc64 ELFv2 _Complex long double support for both IBM-128 (double-double) and IEEE-128 formats (#1003, closes #1001). Fixes powerpc64 big-endian ELFv2 closures returning 5-, 6-, or 7-byte structs: missing return jump-table entries produced a wrong result and leaked a libffi code pointer. ia64 return-value jump-table desync after the FFI_TYPE_LAST bump, which corrupted small-struct and HFA returns. powerpc Darwin closure returns broken by #951 (#1002). i386 FreeBSD/OpenBSD small structs now returned in registers (1, 2, 4, or 8 bytes), matching the platform ABI and fixing a segfault on struct returns through ffi_call and closures. Performance Cache the static trampoline "unsupported" verdict on hosts whose page size exceeds the trampoline table mapping, avoiding redundant re-initialization on every closure allocation (e.g. 64K-page aarch64). Signed-off-by: Adolf Belka --- config/rootfiles/common/libffi | 2 +- lfs/libffi | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/rootfiles/common/libffi b/config/rootfiles/common/libffi index 3282b8113..41cc47b9e 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.4.1 +usr/lib/libffi.so.8.5.0 #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 2cfdbc414..df8f5c3ac 100644 --- a/lfs/libffi +++ b/lfs/libffi @@ -24,7 +24,7 @@ include Config -VER = 3.7.1 +VER = 3.8.0 THISAPP = libffi-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 642741667d55aa2921fc250adea68eafd2519e786199fd2d0463a57ab6e830b51d97a361156bc2761d8c1bfecb9156ddc3147b6f81f4379bc054b98a29675526 +$(DL_FILE)_BLAKE2 = 589f87f79ea637dbddd00db3e320090f17855da5b1669a42b154f1c61bcafd1e8a964738d25b424c95ba5e148565df4b7379800ba42f40149c74d749f4f4b096 install : $(TARGET)