qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] Compiling static qemu


From: Paulo Matos
Subject: [Qemu-discuss] Compiling static qemu
Date: Mon, 11 Mar 2019 18:01:50 +0100

Hello,

I am trying to compile static qemu 3.1.0 on an ubuntu18.04 container:
 ./configure --static --disable-kvm --disable-xen --disable-spice
--target-list='i386-linux-user aarch64-linux-user mips-linux-user
mipsel-linux-user mips64el-linux-user s390x-linux-user
ppc64le-linux-user riscv64-linux-user' --prefix=/home/pmatos/installs

I got this (several of them):
(.text+0x267): warning: Using 'getpwuid' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking

I understand what this means but I googled online to see if there was a
way to work around this and found this mailing list thread from 2011:
https://lists.nongnu.org/archive/html/qemu-devel/2011-11/msg02878.html

This seems to imply that if I didn't build the softmmu targets, I
wouldn't get the warning, and yet I do.

Is there anything I can do, or the solution is to install on the guest,
the host qemu is running the same libc libraries?

Thanks,

-- 
Paulo Matos



reply via email to

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