diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-07-16 17:14:18 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-18 23:09:51 +0100 |
commit | dadfef3950fae4e93ce4c13ab91a2a7f41b3702e (patch) | |
tree | d11c1a78237f2440aa44459823a147d4f3dc2dea /meta/recipes-support/libffi | |
parent | 1a135f58e311938559f22a299ad1ca7fc2d59354 (diff) | |
download | poky-dadfef3950fae4e93ce4c13ab91a2a7f41b3702e.tar.gz |
libffi: disable use of static exec trampolines
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
(From OE-Core rev: 2173003df3beedf49aa0ce30d79a1158179fa3e4)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libffi')
-rw-r--r-- | meta/recipes-support/libffi/libffi_3.4.2.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
18 | UPSTREAM_CHECK_URI = "https://github.com/libffi/libffi/releases/" | 18 | UPSTREAM_CHECK_URI = "https://github.com/libffi/libffi/releases/" |
19 | UPSTREAM_CHECK_REGEX = "libffi-(?P<pver>\d+(\.\d+)+)\.tar" | 19 | UPSTREAM_CHECK_REGEX = "libffi-(?P<pver>\d+(\.\d+)+)\.tar" |
20 | 20 | ||
21 | EXTRA_OECONF += "--disable-builddir" | 21 | EXTRA_OECONF += "--disable-builddir --disable-exec-static-tramp" |
22 | EXTRA_OEMAKE_class-target = "LIBTOOLFLAGS='--tag=CC'" | 22 | EXTRA_OEMAKE_class-target = "LIBTOOLFLAGS='--tag=CC'" |
23 | inherit autotools texinfo multilib_header | 23 | inherit autotools texinfo multilib_header |
24 | 24 | ||