Skip to content

Bump libffi pin to v3.8.0 - #82

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/libffi-3.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/libffi-3.x

Conversation

@renovate

@renovate renovate Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
libffi minor 3.6.0 → 3.8.0

Release Notes

libffi/libffi (libffi)

v3.8.0: libffi 3.8.0

Compare Source

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

v3.7.1: libffi 3.7.1

Compare Source

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.

v3.7.0: libffi 3.7.0

Compare Source

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.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 6am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: MagPython/libffi-version
Post-upgrade command 'MagPython/update-libffi.sh 3.8.0' has not been added to the allowed list in allowedCommands

@renovate
renovate Bot force-pushed the renovate/libffi-3.x branch from 539dd1e to 8d7559e Compare August 9, 2026 02:00
@renovate renovate Bot changed the title Bump libffi pin to v3.7.1 Bump libffi pin to v3.8.0 Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants