On 13.05.2012, at 21:46, Andreas Färber wrote:
Am 13.05.2012 21:36, schrieb Marcus Meissner:
On Sun, May 13, 2012 at 09:29:21PM +0200, Andreas Färber wrote:
Am 13.05.2012 20:59, schrieb Marcus Meissner:
Why?
Because, according to my submit request, in Factory glib2 has a dependency on -lpcre in the pkg-config file, but only for the static library.
qemu is built twice, once dynamically (for qemu-system-* and tools), once statically for linux-user (qemu-*).
-lpcre caused the static build to fail. This and another weird glib2 issue on 11.4 (clock_gettime undefined) is what's keeping us from updating qemu (and in turn kvm) to 1.1-rc1 in Factory for 12.2.
Why do you need qemu built statically? Is it really necessary?
linux-user emulation is used in chroot'ed environments such as our ARM builds. I'm still new to SUSE so don't ask me why it's been like that, I'm just trying to get the upstream code we've been working on into our 12.2 release.
Cc'ing Adrian, Alex and Uli, maybe they can explain.
Qemu's linux-user code is usually running in a chroot of a different architecture. /lib and friends are all of a different architecture than the QEMU binary itself. So we have 2 choices: * rewrite all library path resolutions of the QEMU binary to a different path and somehow teach users to copy host libraries into that directory for a chroot environment * use a static QEMU binary The latter is a lot easier for users :) Alex -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org