pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/libffi



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Aug  9 05:50:31 UTC 2026

Modified Files:
        pkgsrc/devel/libffi: Makefile distinfo

Log Message:
libffi: updated to 3.8.0

3.8.0

New features

FFI_TYPE_VECTOR (SIMD) type support with libffi-computed layout, for aarch64 and x86-64.
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.

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.
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).


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 pkgsrc/devel/libffi/Makefile
cvs rdiff -u -r1.72 -r1.73 pkgsrc/devel/libffi/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/libffi/Makefile
diff -u pkgsrc/devel/libffi/Makefile:1.61 pkgsrc/devel/libffi/Makefile:1.62
--- pkgsrc/devel/libffi/Makefile:1.61   Fri Jul 10 15:35:20 2026
+++ pkgsrc/devel/libffi/Makefile        Sun Aug  9 05:50:31 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.61 2026/07/10 15:35:20 adam Exp $
+# $NetBSD: Makefile,v 1.62 2026/08/09 05:50:31 adam Exp $
 
-DISTNAME=      libffi-3.7.1
+DISTNAME=      libffi-3.8.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libffi/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}

Index: pkgsrc/devel/libffi/distinfo
diff -u pkgsrc/devel/libffi/distinfo:1.72 pkgsrc/devel/libffi/distinfo:1.73
--- pkgsrc/devel/libffi/distinfo:1.72   Fri Jul 10 15:35:20 2026
+++ pkgsrc/devel/libffi/distinfo        Sun Aug  9 05:50:31 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.72 2026/07/10 15:35:20 adam Exp $
+$NetBSD: distinfo,v 1.73 2026/08/09 05:50:31 adam Exp $
 
-BLAKE2s (libffi-3.7.1.tar.gz) = 2ae62d2db06bf55728c2e3f11373efb80d637d5fdcc856bba298565741f879d3
-SHA512 (libffi-3.7.1.tar.gz) = 03c04616261a8199794d5d482d734298f2f60b2c9c5968cf717b58df7fd0e4bba33d0cb38f73aec361339128dddf4fdbe5d64002b54fdb8b3fc01c07d8b90a31
-Size (libffi-3.7.1.tar.gz) = 1515185 bytes
+BLAKE2s (libffi-3.8.0.tar.gz) = aa4e12d61448f32b0d0a33006f2a1319fa1d1bf3898a5b2ba623e53d9e29136f
+SHA512 (libffi-3.8.0.tar.gz) = a259d50f40b5dcde9cb6227bd105761e667290f107553b204a5a6cfdfbf2e6b022ed04be2ea4596da42961d11396125425def3cb67e2844a9eba90b6750c8c39
+Size (libffi-3.8.0.tar.gz) = 1581626 bytes
 SHA1 (patch-configure) = d332b665f4f3241da9ce98196dde9d99a9cb632b
 SHA1 (patch-configure_host) = a4c99cd0fbbbe0f2c806d662b85a6e2c56b31168
 SHA1 (patch-src_aarch64_ffi.c) = e46083e6e6892524868b88dfbcd292f11db036d9



Home | Main Index | Thread Index | Old Index