All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/4] package/qemu: disable libssh for the host variant
@ 2020-04-06 14:21 Romain Naour
  2020-04-06 14:21 ` [Buildroot] [PATCH 2/4] package/qemu: disable vnc optional support " Romain Naour
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Romain Naour @ 2020-04-06 14:21 UTC (permalink / raw)
  To: buildroot

There is no host-libssh in Buildroot, avoid qemu build system
to find libssh from the host.

Under certain circumstances (host distribution, openssl version), the
qemu-system binary fail to start:

host/bin/qemu-system-aarch64: symbol lookup error: /lib64/libssh.so.4: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b

$ ldd output/host/bin/qemu-system-aarch64
	[...]
	libssh.so.4 => /lib64/libssh.so.4

Explicitely disable libssh for the host variant.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 package/qemu/qemu.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index b2249ed4ee..3c3b098a5b 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -303,6 +303,7 @@ define HOST_QEMU_CONFIGURE_CMDS
 		--extra-cflags="$(HOST_QEMU_CFLAGS)" \
 		--extra-ldflags="$(HOST_LDFLAGS)" \
 		--python=$(HOST_DIR)/bin/python3 \
+		--disable-libssh \
 		$(HOST_QEMU_OPTS)
 endef
 
-- 
2.25.1

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

end of thread, other threads:[~2020-04-06 18:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-06 14:21 [Buildroot] [PATCH 1/4] package/qemu: disable libssh for the host variant Romain Naour
2020-04-06 14:21 ` [Buildroot] [PATCH 2/4] package/qemu: disable vnc optional support " Romain Naour
2020-04-06 14:21 ` [Buildroot] [PATCH 3/4] package/qemu: disable bzip2 " Romain Naour
2020-04-06 14:21 ` [Buildroot] [PATCH 4/4] package/qemu: disable SDL2 " Romain Naour
2020-04-06 18:20 ` [Buildroot] [PATCH 1/4] package/qemu: disable libssh " Yann E. MORIN

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.