Found; https://github.com/mesonbuild/Meson/issues/5191.
(With the fix there's no rpath at all in the QEMU build process). Let's ask for a backport to 0.55.2. Paolo Il gio 27 ago 2020, 10:22 Paolo Bonzini <pbonz...@redhat.com> ha scritto: > > > Il gio 27 ago 2020, 09:33 Laurent Vivier <laur...@vivier.eu> ha scritto: > >> This actually fixes the '-Wl,-rpath,$ORIGIN/', but doesn't fix the crash >> with statically linked binaries. >> > > I will try to reproduce when I am back; it works for Peter so there must > be something different in the setup. > > In any case, if needed we can both momentarily hack around it in > Makefiles, and fix it for good in Meson. > > Paolo > > >> Could we simply remove the the '-Wl,-rpath,$ORIGIN/' in the case of >> "-static" build? >> >> Thanks, >> Laurent >> >>