Open rlcamp opened 1 year ago
@llvm/issue-subscribers-backend-aarch64
Author: None (rlcamp)
Update: I'm seeing this happen nondeterministically on any nontrivial C source file with clang on this particular OS image, on multiple instances of the same board, and not older OS images on the same hardware.
We are able to reproduce this on multiple Pi Zero 2W's, a Pi 3B, and NOT on a Pi 4 B, all with the same OS image. The same card was used with the Pi 3B and Pi 4B.
I first hit this when compiling some unrelated stack switching code, and then checked to see if it also affected libucontext, which it does. Steps to reproduce:
fresh install of latest bookworm-based 64-bit raspberry pi OS lite apt install git clang git clone --depth 1 https://github.com/kaniini/libucontext.git cd libucontext make CC=clang
results in:
makecontext-3639f8.c.txt makecontext-3639f8.sh.txt
I also followed the recommended steps in the LLVM bug report workflow which led to the following backend code generator result:
bugpoint-reduced-simplified.bc.zip