[llvm-bugs] [Bug 43563] New: clang-cl - llvm-lib fails to link two static libraries together.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 4 05:32:58 PDT 2019


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

            Bug ID: 43563
           Summary: clang-cl - llvm-lib fails to link two static libraries
                    together.
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: gabriel at jadderson.com
                CC: llvm-bugs at lists.llvm.org

Hello, i'm trying to create a program that links to a static library which in
turn links to opengl32.lib. 

I get the following error:

opengl32.lib: not a COFF object, bitcode or resource file
"llvm-lib.exe" exited with code 1.

I am able to do this completely fine with MSVC v142.
I am running the latest version of clang-cl included with visual studio.

-- 
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/20191004/bfb064dd/attachment.html>


More information about the llvm-bugs mailing list