Skip to content

chore(deps): update dependency libffi/libffi to v3.8.0 - #305

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

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

Conversation

@renovate

@renovate renovate Bot commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
libffi/libffi minor v3.5.2 → v3.8.0

Release Notes

libffi/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.

v3.6.0: libffi 3.6.0

Compare Source

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.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "every weekend"
  • 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 force-pushed the renovate/libffi-libffi-3.x branch from 736e485 to 7c24165 Compare August 19, 2026 09:54
@renovate
renovate Bot force-pushed the renovate/libffi-libffi-3.x branch from 7c24165 to e95b718 Compare September 25, 2026 02:07
@coderabbitai

coderabbitai Bot commented Sep 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: d6af5f7d-f215-4426-87ae-cf6b5b9536f2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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