Building NT Kernel Driver, especially under Visual Studio, an option named "RELEASE" will be set, which can add checksum to COFF. So an error will occur.
RELEASE
lld-link : error : could not open '/RELEASE': no such file or directory
This option like "kernel" and "pdbcompress", is defined only for link.exe compatibility. Moreover, in NT Kernel Driver, checksum is not commonly used, because OS uses CA to check raw file.