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