Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user
Dixi quod…
>My guess here is that it’s, as usual, the fault of qemu-user,
>which has multiple outstanding emulation bugs, some of which
>affecting klibc-built binaries especially, though this, since
>a statically linked mksh works, is probably an issue with how
>qemu-user handles .interp *shrug*
An interesting data point (here on a bullseye/amd64 system):
$ /usr/lib/klibc/bin/fstype --help
--help: No such file or directory
$ /lib/klibc-YUkGbOClhnaZRUUd4cUed0X2XZI.so /usr/lib/klibc/bin/fstype --help
Segmentation fault (core dumped)
So running the interpreter directly is already not supported.
I’m guessing that that is what qemu-user tries, though.
Wild shoot into the blue but maybe it helps…
bye,
//mirabilos
--
„Cool, /usr/share/doc/mksh/examples/uhr.gz ist ja ein Grund,
mksh auf jedem System zu installieren.“
-- XTaran auf der OpenRheinRuhr, ganz begeistert
(EN: “[…]uhr.gz is a reason to install mksh on every system.”)
Reply to: