All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [OE-core] [PATCH] libffi: disable use of static exec trampolines
       [not found] <16923A6A65274009.3881@lists.openembedded.org>
@ 2021-07-16  9:13 ` Yi Zhao
  0 siblings, 0 replies; only message in thread
From: Yi Zhao @ 2021-07-16  9:13 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1770 bytes --]

Sorry. Please ignore this.


On 7/16/21 5:10 PM, Yi Zhao wrote:
> Issue: LINCD-6022
>
> We encountered a blueman-applet segfault with libffi 3.4.2:
> $ blueman-applet
> blueman-applet 01.58.45 WARNING  PluginManager:148 __load_plugin: Not loading DhcpClient because its conflict has higher priority
> blueman-applet 01.58.45 WARNING  TransferService:189 _make_share_path: Failed to get Download dir from XDG
> blueman-applet 01.58.45 WARNING  PluginManager:148 __load_plugin: Not loading PPPSupport because its conflict has higher priority
> Segmentation fault
>
> This is because the static exec trampolines is enabled by default in
> libffi 3.4.2. However it doesn't work with gobject-introspection[1].
>
> [1] https://github.com/libffi/libffi/commit/132699b95d3ee4d889ea2a80540acf3300987dad
>
> (LOCAL REV: NOT UPSTREAM) -- Sent to oe-core on 20210716
>
> Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
> ---
>   meta/recipes-support/libffi/libffi_3.4.2.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-support/libffi/libffi_3.4.2.bb b/meta/recipes-support/libffi/libffi_3.4.2.bb
> index 47b230afa2..19b6ed3e58 100644
> --- a/meta/recipes-support/libffi/libffi_3.4.2.bb
> +++ b/meta/recipes-support/libffi/libffi_3.4.2.bb
> @@ -18,7 +18,7 @@ SRC_URI[sha256sum] = "540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9
>   UPSTREAM_CHECK_URI = "https://github.com/libffi/libffi/releases/"
>   UPSTREAM_CHECK_REGEX = "libffi-(?P<pver>\d+(\.\d+)+)\.tar"
>   
> -EXTRA_OECONF += "--disable-builddir"
> +EXTRA_OECONF += "--disable-builddir --disable-exec-static-tramp"
>   EXTRA_OEMAKE_class-target = "LIBTOOLFLAGS='--tag=CC'"
>   inherit autotools texinfo multilib_header
>   
>
> 
>

[-- Attachment #2: Type: text/html, Size: 2524 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-16  9:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <16923A6A65274009.3881@lists.openembedded.org>
2021-07-16  9:13 ` [OE-core] [PATCH] libffi: disable use of static exec trampolines Yi Zhao

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.