Required for riscv disk images https://github.com/gentoo/releng/blob/master/releases/specs-qemu/riscv/diskimage-stage1-cloudinit.spec#L24
Motto of the day, Don't assume as it makes a fool out of you and me. riscv64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -c -o src/arm.o src/arm.c In file included from src/arm.c:9: src/platforms.h:15:17: error: #error "Unsupported platform, please report" 15 | # error "Unsupported platform, please report" | ^~~~~ make[1]: *** [Makefile:797: src/arm.o] Error 1 Sorry for this one, I'll correct it in Releng instead for now.