On 8/1/23 06:49, Joel Stanley wrote:
On Mon, 31 Jul 2023 at 18:24, Helge Deller <deller@gmx.de> wrote:
As suggested, I've based my patches on top of yours and the tree can be
pulled from:
git pull https://github.com/hdeller/qemu-hppa/ brk-fixes-akihiko-2
My patches are neccessary to fix an arm-static testcase:
/usr/bin/qemu-arm-static ./fstype
Let's try this patch series...
The armhf static binary works with expected output.
Good!
The arm static binary causes qemu to segfault:
I can't reproduce here.
I tried it in an arm64 chroot which provided the cross-compiler and worked for
me:
(arm64-chroot)root@p100:/# uname -a
Linux p100 6.4.6-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 24 20:51:12 UTC
2023 aarch64 GNU/Linux
(arm64-chroot)root@p100:/# arm-linux-gnueabi-gcc-13 -o hello hello.c -static
(arm64-chroot)root@p100:/# file hello
hello: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically
linked, BuildID[sha1]=fa0f7cd6e1779fa8cd76c6e5d3123900ceefa952, for GNU/Linux
3.2.0, not stripped
(arm64-chroot)root@p100:/# ./hello
Hello, World!
Maybe you can send me your binary (and the needed klibc*so)?