CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2025/07/05 13:03:02
Modified files: sys/arch/amd64/conf: Makefile.amd64 sys/arch/arm64/conf: Makefile.arm64 sys/arch/armv7/conf: Makefile.armv7 sys/arch/i386/conf: Makefile.i386 sys/arch/macppc/conf: Makefile.macppc sys/arch/powerpc64/conf: Makefile.powerpc64 sys/arch/riscv64/conf: Makefile.riscv64 Log message: Prevent installing corrupted /bsd on relink errors Link with --no-mmap-output-file on LLD_ARCH to propagate failure, which defaults to mmap(2) and thus does not account for, e.g. running out of space in /usr/ or /tmp/. This causes targets like `newbsd', used by reorder_kernel and the installer, to install whatever ld.lld(1) produced despite errors before exiting zero. Seen by many, debugged by tb and semarie; undocumented flag found by jmatthew. "let's do it" deraadt