package/libffi: bump to version 3.4.8
PATCH 1/1 package/libffi: bump to version 3.4.8
Patches 0002-arc-Fix-warnings.patch and 0003-arc-Do-not-use-mov_s-and-movl_s-instructions.patch are upstream as part of commit 30e887f84e70c16df5c421983f074d07a93b4e58 (yes they have been squashed into a single commit upstream).
Patches 0004-src-or1k-ffi.c-fix-prototype-of-ffi_call_SYSV.patch and 0005-src-or1k-ffi.c-fix-incompatible-pointer-type.patch are upstream as part of commit 8a0d029244d9b0393db19898e603f24febfb53ee (here as well, they have been squashed into a single commit upstream).
Changes 3.4.6..3.4.7:
Add static trampoline support for Linux on s390x. Fix BTI support for ARM64.
Support pointer authentication for ARM64.
Fix ASAN compatibility.
Fix x86-64 calls with 6 GP registers and some SSE registers. Miscellaneous fixes for ARC and Darwin ARM64.
Fix OpenRISC or1k and Solaris 10 builds.
Remove nios2 port.
Changes 3.4.7..3.4.8:
aarch64: add PAC to GNU Notes by @billatarm in #882
MIPS: Dont import asm/sgidefs.h on linux by @fossdd in #885
Update the Simple Example from the Docs to fix a compile error by @Nikitf777 in #886 Fix bugs in the x86-64 and x32 target (#887) by @mikulas-patocka in #889 Add the "ABI_ATTR" attribute to called functions (#891) by @mikulas-patocka in #892
powerpc: Add static trampoline support (#894) by @peter-bergner in #895
testsuite: add two tests to Makefile.am by @thesamesam in #893
--- package/libffi/0002-arc-Fix-warnings.patch | 56 ------------------- ...ot-use-mov_s-and-movl_s-instructions.patch | 45 --------------- ...ffi.c-fix-prototype-of-ffi_call_SYSV.patch | 47 ---------------- ...-ffi.c-fix-incompatible-pointer-type.patch | 50 ----------------- package/libffi/libffi.hash | 2 +- package/libffi/libffi.mk | 2 +- 6 files changed, 2 insertions(+), 200 deletions(-) delete mode 100644 package/libffi/0002-arc-Fix-warnings.patch delete mode 100644 package/libffi/0003-arc-Do-not-use-mov_s-and-movl_s-instructions.patch delete mode 100644 package/libffi/0004-src-or1k-ffi.c-fix-prototype-of-ffi_call_SYSV.patch delete mode 100644 package/libffi/0005-src-or1k-ffi.c-fix-incompatible-pointer-type.patch
package/libffi/0002-arc-Fix-warnings.patch deleted +0 -56
@@ -1,56 +0,0 @@ -From 4f25e5be1a8a429b6925527c1cb94b6acd05642b Mon Sep 17 00:00:00 2001 -From: Yuriy Kolerov <[email protected]> -Date: Wed, 17 Jul 2024 18:56:52 +0300 -Subject: [PATCH] arc: Fix warnings - -These warnings are fixed: - -1. A series of "unused variables". -2. Implicit conversion from a pointer to uint32_t. - -Signed-off-by: Yuriy Kolerov <[email protected]> -Upstream: https://github.com/libffi/libffi/pull/844 -Signed-off-by: Thomas Petazzoni <[email protected]> ---- - src/arc/ffi.c | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/src/arc/ffi.c b/src/arc/ffi.c -index d729274..0632319 100644 ---- a/src/arc/ffi.c -+++ b/src/arc/ffi.c -@@ -192,9 +192,10 @@ static void unmarshal_atom(call_builder *cb, int type, void *data) { - /* for arguments passed by reference returns the pointer, otherwise the arg is copied (up to MAXCOPYARG bytes) */ - static void *unmarshal(call_builder *cb, ffi_type *type, int var, void *data) { - size_t realign[2]; -- void *pointer; - - #if defined(__ARC64_ARCH64__) -+ void *pointer; -+ - if (type->size > 2 * __SIZEOF_POINTER__) { - /* pass by reference */ - unmarshal_atom(cb, FFI_TYPE_POINTER, (char*)&pointer); -@@ -348,7 +349,10 @@ ffi_prep_closure_loc (ffi_closure * closure, ffi_cif * cif, - void *user_data, void *codeloc) - { - uint32_t *tramp = (uint32_t *) & (closure->tramp[0]); -+ -+#if defined(__ARC64_ARCH64__) - size_t address_ffi_closure = (size_t) ffi_closure_asm; -+#endif - - switch (cif->abi) - { -@@ -367,7 +371,7 @@ ffi_prep_closure_loc (ffi_closure * closure, ffi_cif * cif, - FFI_ASSERT (tramp == codeloc); - tramp[0] = CODE_ENDIAN (0x200a1fc0); /* mov r8, pcl */ - tramp[1] = CODE_ENDIAN (0x20200f80); /* j [long imm] */ -- tramp[2] = CODE_ENDIAN (ffi_closure_asm); -+ tramp[2] = CODE_ENDIAN ((uint32_t) ffi_closure_asm); - break; - #endif - --- -2.46.0 -
package/libffi/0003-arc-Do-not-use-mov_s-and-movl_s-instructions.patch deleted +0 -45
45 lines not on this page · raw message
package/libffi/0004-src-or1k-ffi.c-fix-prototype-of-ffi_call_SYSV.patch deleted +0 -47
47 lines not on this page · raw message
package/libffi/0005-src-or1k-ffi.c-fix-incompatible-pointer-type.patch deleted +0 -50
50 lines not on this page · raw message
package/libffi/libffi.hash +1 -1
@@ -1,4 +1,4 @@ # Locally calculated -sha256 b0dea9df23c863a7a50e825440f3ebffabd65df1497108e5d437747843895a4e libffi-3.4.6.tar.gz +sha256 bc9842a18898bfacb0ed1252c4febcc7e78fa139fd27fdc7a3e30d9d9356119b libffi-3.4.8.tar.gz # License files, locally calculated sha256 67894089811f93fca47a76f85e017da6f8582d4ba0905963c6e0f1ad6df7a195 LICENSE
package/libffi/libffi.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LIBFFI_VERSION = 3.4.6 +LIBFFI_VERSION = 3.4.8 LIBFFI_SITE = \ https://github.com/libffi/libffi/releases/download/v$(LIBFFI_VERSION) LIBFFI_LICENSE = MIT
Signature · 6 lines
2.49.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
On 15/04/2025 22:53, Thomas Petazzoni via buildroot wrote:
[...]
Quoted 1 line
Signed-off-by Thomas Petazzoni <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot