qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/6] configure: Try to fix --static linking


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 0/6] configure: Try to fix --static linking
Date: Fri, 14 Jun 2019 09:53:50 +0100

On Fri, 14 Jun 2019 at 08:27, Philippe Mathieu-Daudé <address@hidden> wrote:
> Apparently QEMU static linking is slowly bitroting. Obviously it
> depends the libraries an user has installed, anyway it seems there
> are not much testing done.

The main reason for supporting static linking is so we can build
the user-mode emulators. Almost always the problems with
static linking the softmmu binaries and the tools are
issues with the distro's packaging of the static libraries
(pkg-config files which specify things that don't work for
static is a common one).

So we could put in a lot of checking of "is what pkg-config
tells us broken". Or we could just say "we don't support static
linking for anything except the usermode binaries". We
should probably phase in deprecation of that because it's
possible somebody's using it seriously, but it seems like
a fairly weird thing to do to me.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]