A bootloader component of FreeBSD/mips64 uses a linker script with an expression containing a bitwise not (~), which lld does not accept: line 53: malformed number: ~ . = ((. + 0x1000) & ~(0x1000 - 1)); ^ The script in question can be found at https://svnweb.freebsd.org/base/head/sys/boot/mips/uboot/ldscript.mips?annotate=296183#l53
Fixed at r280546.