From 2463bebe471f071a0453dccab1851e11d61d4ab7 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Mon, 23 Aug 2021 13:27:29 +0200 Subject: [PATCH] package/libffi: disable use of static exec trampolines TestGst1Python test segfault since the libffi bump to 3.4.2. Apply the same fix from Yocto [1] disabling static exec trampolines. Fixes: https://gitlab.com/kubu93/buildroot/-/jobs/1522848331 [1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=dadfef3950fae4e93ce4c13ab91a2a7f41b3702e Signed-off-by: Romain Naour Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libffi/libffi.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/libffi/libffi.mk b/package/libffi/libffi.mk index 0ef2786988..85b4ab5b84 100644 --- a/package/libffi/libffi.mk +++ b/package/libffi/libffi.mk @@ -13,5 +13,9 @@ LIBFFI_INSTALL_STAGING = YES # We're patching Makefile.am LIBFFI_AUTORECONF = YES +# The static exec trampolines is enabled by default since +# libffi 3.4.2. However it doesn't work with gobject-introspection. +LIBFFI_CONF_OPTS = --disable-exec-static-tramp + $(eval $(autotools-package)) $(eval $(host-autotools-package)) -- 2.30.2