uname -r will confirm whether you are running a -v8 or -2712 kernel build. Make sure your kernel=kernel8.img line is outside of any conditional sections in /boot/firmware/config.txt (or inside a [pi5] section). Run the strace -i again to confirm where things are crashing.
The current code works for me on Pi5 with bookworm64, building as 32bit:(GDB still does not like the hello binary.)
The current code works for me on Pi5 with bookworm64, building as 32bit:
Code:
git clone https://github.com/HPCguy/Squintcd Squintmake VERBOSE=1 ARM_CC=arm-linux-gnueabihf-gcc-12 clean all./mc -o hello tests/hello.cfile hello# hello: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, stripped./hello # hello, worldStatistics: Posted by jojopi — Thu May 01, 2025 10:27 pm