On Thu, 2023-02-09 at 14:23 +0000, 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
> try to do won't work anyway...

FWIW, passing --extra-ldflags="-ldl" fixes the issue for me.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to