[LLVMbugs] [Bug 4440] New: llvm-config --libs should not include libLLVMgold.so

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jun 24 12:56:06 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4440

           Summary: llvm-config --libs should not include libLLVMgold.so
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


Currently llvm-config --libs prints out all .a libraries and also
libLLVMgold.so.  The problem is that libLLVMgold.so links with
libLTO which itself links with vast numbers of LLVM libraries.
The result is that you can get symbols defined twice.  I noticed
this because the domtree constructor was registering domtree
twice with the pass manager (causing an assertion failure).
In fact there were two domtree constructors, one from the .a and
one from libLTO.

Presumably llvm-config should get a special option for printing
out libLLVMgold.so.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list