On Thu, 2023-02-09 at 14:14 +, Peter Maydell wrote:
> On Thu, 9 Feb 2023 at 13:54, John Paul Adrian Glaubitz
> wrote:
> >
> > Hi!
> >
> > I usually build a static qemu-user binary from the git source using
> > the following
> > configure line:
> >
> > export ARCH=m68k && ./configure --targe
On Thu, 2023-02-09 at 14:23 +, Peter Maydell wrote:
> > So, just include "-ldl" in LD_FLAGS?
>
> If this is necessary, then pkg-config should tell us to do it :-)
>
> But in the usual situation that you put the statically linked
> QEMU binary into a chroot, the dlopen() that libdw is going to
On Thu, 9 Feb 2023 at 14:21, John Paul Adrian Glaubitz
wrote:
>
> Hi!
>
> On Thu, 2023-02-09 at 14:14 +, Peter Maydell wrote:
> > The "Using getpwuid in statically linked applications" etc warnings
> > are expected, so we can ignore those; this is the key error:
>
> OK.
>
> > > /usr/bin/ld: /u
Hi!
On Thu, 2023-02-09 at 14:14 +, Peter Maydell wrote:
> The "Using getpwuid in statically linked applications" etc warnings
> are expected, so we can ignore those; this is the key error:
OK.
> > /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libdw.a(debuginfod-client.o): in
> > function `__libdwf
On Thu, 9 Feb 2023 at 13:54, John Paul Adrian Glaubitz
wrote:
>
> Hi!
>
> I usually build a static qemu-user binary from the git source using the
> following
> configure line:
>
> export ARCH=m68k && ./configure --target-list=$ARCH-linux-user --static
> --disable-rdma \
> --d
Hi!
I usually build a static qemu-user binary from the git source using the
following
configure line:
export ARCH=m68k && ./configure --target-list=$ARCH-linux-user --static
--disable-rdma \
--disable-pie --disable-system --disable-xen
--disable-pvrdma \