The source project of this merge request has been removed.
qemu: fix static build by disabling PIE
I understood we want a static build for qemu but it is not correctly built as a static one. Example in docker:
A possible fix which I've personally used was to also pass --disable-pie
alongside --static
This was based on the reference in upstream configure script:
Compare to the Ubuntu project's static build on my machine (installed by apt-get install -y qemu-user-static
):
Their build script:
https://git.launchpad.net/ubuntu/+source/qemu/tree/debian/rules?h=ubuntu/hirsute#n188