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

Peter Maydell peter.maydell at linaro.org
Fri Jun 14 14:30:36 UTC 2019


On Fri, 14 Jun 2019 at 14:58, Alex Bennée <alex.bennee at linaro.org> wrote:

> It would be nice to have a --static-user config flag and deprecate the
> --static flag. I don't think there is a decent use case for system
> emulation targets.

It would be really tricky to build half with static and half
without: our configure and build system really assumes that
fundamental stuff like "what libraries" and "what compiler flags"
are the same across the whole of the build.

Is --static-user really much better than:
 * allow --static --disable-system --disable-tools
 * forbid --static without --disable-system --disable-tools
 * require users to build the static usermode binaries separately
   from the system/tools build

(which is in practice what we have now) ?

Debian wants both static usermode and non-static usermode
binaries, so they'd still need to build multiple times anyway.

thanks
-- PMM


More information about the integration mailing list