I already had the cross compiler installed on my bookworm64 system, and I do not remember how or why. But I think the libraries you need are libc6:armhf libgcc-s1:armhf.I was able to install arm-linux-gnueabihf-gcc-12 on aarch64 Bookworm, but the armhf shared libraries are missing. Since you were able to run sudoku, I know you must have them properly installed.
Are you sure you are not already using a 32bit compiler? I still cannot see how you would avoid the warnings or have the JIT work, unless your target environment has int the same width as pointer.
strace -i gives us just enough information to debug the crash:
Code:
[b5923158] --- SIGBUS {si_signo=SIGBUS, si_code=BUS_ADRALN, si_addr=0xb652517f} ---Code:
9c: e305c17f movw ip, #20863 @ 0x517f a0: e34bc652 movt ip, #46674 @ 0xb652 a4: e59cf000 ldr pc, [ip]Code:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al [10] .got PROGBITS b6525173 001173 000018 04 WA 0 0 4Statistics: Posted by jojopi — Fri Apr 25, 2025 6:07 pm