Open CyberShadow opened 6 years ago
lld-link can't seem to be able to link some Microsoft .lib files. One example of this is ddraw.lib from the DirectX 7 SDK.
Upon attempting to read the file, lld prints:
error: broken object file: ddraw.lib(ddraw.dll)
and exits.
Since the ddraw.lib file is publicly available, I've mirrored it here: https://dump.thecybershadow.net/cf12728e199866ddb654463cd555f7c7/ddraw.lib
Other examples of files that cause lld-link to fail with the same error are dsound.dll (from the same SDK), and ltkrn_n.lib from the LeadTools SDK.
LLD 8.0.0 now prints:
lld-link: error: ddraw.lib(DDRAW.dll): .idata$4 should not refer to special section 0
Linking still fails.
Extended Description
lld-link can't seem to be able to link some Microsoft .lib files. One example of this is ddraw.lib from the DirectX 7 SDK.
Upon attempting to read the file, lld prints:
error: broken object file: ddraw.lib(ddraw.dll)
and exits.
Since the ddraw.lib file is publicly available, I've mirrored it here: https://dump.thecybershadow.net/cf12728e199866ddb654463cd555f7c7/ddraw.lib
Other examples of files that cause lld-link to fail with the same error are dsound.dll (from the same SDK), and ltkrn_n.lib from the LeadTools SDK.