Bug 4276 - llvm-config --ldflags lists too many libs
: llvm-config --ldflags lists too many libs
Status: NEW
Product: new-bugs
Classification: Unclassified
Component: new bugs
: unspecified
: PC Linux
: P normal
Assigned To: Unassigned LLVM Bugs
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-05-27 12:44 CDT by Frits van Bommel
Modified: 2010-08-11 22:45 CDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frits van Bommel 2009-05-27 12:44:47 CDT
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...