[LLVMbugs] [Bug 4276] New: llvm-config --ldflags lists too many libs

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed May 27 10:45:03 PDT 2009


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

           Summary: llvm-config --ldflags lists too many libs
           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: fvbommel at wxs.nl
                CC: llvmbugs at cs.uiuc.edu


llvm-config --ldflags lists all libs used *anywhere* in LLVM, regardless of
whether the user is linking to them.
For instance: this causes a static compiler to link to libffi, which is only
used by the JIT AFAIK[1].

Relevant link:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-February/020155.html


[1]: And which is not installed on all systems I might add, so this is a
problem for distributing binaries of said static compiler.

I'm working around this by manually editing llvm-config...


-- 
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