All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/libffi: disable use of static exec trampolines
@ 2021-08-23 11:27 Romain Naour
  2021-08-25 19:47 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Romain Naour @ 2021-08-23 11:27 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour

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 <romain.naour@gmail.com>
---
 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.31.1

_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/libffi: disable use of static exec trampolines
  2021-08-23 11:27 [Buildroot] [PATCH] package/libffi: disable use of static exec trampolines Romain Naour
@ 2021-08-25 19:47 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2021-08-25 19:47 UTC (permalink / raw)
  To: Romain Naour, buildroot



On 23/08/2021 13:27, Romain Naour wrote:
> 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 <romain.naour@gmail.com>

 Applied to master, thanks.

 Regards,
 Arnout

> ---
>  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))
> 
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-25 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-23 11:27 [Buildroot] [PATCH] package/libffi: disable use of static exec trampolines Romain Naour
2021-08-25 19:47 ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.