[llvm-bugs] [Bug 34709] New: error: broken object file: ddraw.lib

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 22 20:57:48 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=34709

            Bug ID: 34709
           Summary: error: broken object file: ddraw.lib
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm at thecybershadow.net
                CC: llvm-bugs at lists.llvm.org

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170923/0bae559e/attachment.html>


More information about the llvm-bugs mailing list