I run a few low-spec VMs in VMD which as of 7.9 are seeing occasional crashes
during kernel relinking. They have quite little RAM, only 768 MiB, but it has
worked well for many years, 7.8 included. Relinking has never even touched
swap memory, and with 7.9 it still doesn't when relinking succeeds.
I slightly upped the VMs' memory allotment to 1024 MiB to see if a memory
shortage is the cause after all, but the crashes still happen.
The VMs are 7.9/amd64 and here's the log output from reorder_kernel:
=== /usr/share/relink/kernel/GENERIC/relink.log ===
(SHA256) /bsd: OK
LD="ld" sh makegap.sh 0xcccccccc gapdummy.o
ld -T ld.script -X --warn-common -nopie --no-mmap-output-file -o newbsd
${SYSTEM_HEAD} vers.o ${OBJS}
LLVM ERROR: IO failure on output stream: Bad address
*** Error 1 in /usr/share/relink/kernel/GENERIC (Makefile:2477 'newbsd': @echo
ld -T ld.script -X --warn-common -nopie --no-mmap-output-file...)