Dominique Martinet wrote on Wed, Nov 20, 2024 at 11:17:26AM +0900: > Looking further into the configure arguments, I've trimmed down the > difference to --disable-pie: just adding that flag makes my hand build > reproduce this.
Ah, I just remembered why I wanted to build manually in the first place; that means I can now properly check newer qemu versions. I've confirmed master does work properly even with --disable-pie. The first commit that does not segfault with this build is this one: dd55885516 ("linux-user: Rewrite non-fixed probe_guest_base") OTOH there have been many other changes to linux-user/elfload.c in the mean time, so it's not easy to backport, and there might be other indirect requirements; I've not taken the time to untangle that. I've also had a quick look at the launchpad[1] that introduced --disable-pie, and agree with you; the only difference seems to be 'file' output of statically linked -> (now) static-pie linked and foreign containers work just as well with the static-pie version. I see you've removed the option in newer debian[2], so as far as debian bookworm is concerned I'm still of the opinion that removing `--disable-pie` is probably the easiest way forward unless someone knows of a good reason we need to keep it. [1] https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1908331 [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053101 (But, once again I see no rush on this; this can easily wait until you get back from your trip. I have much more pressing things to do which means I obviously had to find something to procrastinate on :-) ) Thanks, -- Dominique