[LLVMbugs] [Bug 19937] New: llvm-config lists static libraries even when shared libraries were built.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jun 3 16:21:53 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19937
Bug ID: 19937
Summary: llvm-config lists static libraries even when shared
libraries were built.
Product: tools
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: llvm-config
Assignee: unassignedbugs at nondot.org
Reporter: rnddim at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
After compiling shared libraries with CMake, I noticed that the output of
llvm-config --libnames and --libfiles apparently don't bother checking to see
what kind of libraries were installed, assuming you went with static:
$ llvm-config --libnames
libLLVMLTO.a libLLVMObjCARCOpts.a libLLVMLinker.a libLLVMipo.a
libLLVMVectorize.a libLLVMBitWriter.a libLLVMTableGen.a libLLVMLineEditor.a
libLLVMInstrumentation.a libLLVMProfileData.a libLLVMIRReader.a
libLLVMAsmParser.a libLLVMARMDisassembler.a libLLVMARMCodeGen.a
libLLVMARMAsmParser.a libLLVMARMDesc.a libLLVMARMInfo.a libLLVMARMAsmPrinter.a
libLLVMMipsDisassembler.a libLLVMMipsCodeGen.a libLLVMMipsAsmParser.a
libLLVMMipsDesc.a libLLVMMipsInfo.a libLLVMMipsAsmPrinter.a libLLVMDebugInfo.a
libLLVMOption.a libLLVMX86Disassembler.a libLLVMX86AsmParser.a
libLLVMX86CodeGen.a libLLVMSelectionDAG.a libLLVMAsmPrinter.a libLLVMMCParser.a
libLLVMX86Desc.a libLLVMX86Info.a libLLVMX86AsmPrinter.a libLLVMX86Utils.a
libLLVMJIT.a libLLVMMCDisassembler.a libLLVMInterpreter.a libLLVMCodeGen.a
libLLVMScalarOpts.a libLLVMInstCombine.a libLLVMTransformUtils.a libLLVMipa.a
libLLVMAnalysis.a libLLVMMCJIT.a libLLVMTarget.a libLLVMRuntimeDyld.a
libLLVMExecutionEngine.a libLLVMMC.a libLLVMObject.a libLLVMBitReader.a
libLLVMCore.a libLLVMSupport.a
$ llvm-config --libfiles
/usr/local/lib/libLLVMLTO.a /usr/local/lib/libLLVMObjCARCOpts.a
/usr/local/lib/libLLVMLinker.a /usr/local/lib/libLLVMipo.a
/usr/local/lib/libLLVMVectorize.a /usr/local/lib/libLLVMBitWriter.a
/usr/local/lib/libLLVMTableGen.a /usr/local/lib/libLLVMLineEditor.a
/usr/local/lib/libLLVMInstrumentation.a /usr/local/lib/libLLVMProfileData.a
/usr/local/lib/libLLVMIRReader.a /usr/local/lib/libLLVMAsmParser.a
/usr/local/lib/libLLVMARMDisassembler.a /usr/local/lib/libLLVMARMCodeGen.a
/usr/local/lib/libLLVMARMAsmParser.a /usr/local/lib/libLLVMARMDesc.a
/usr/local/lib/libLLVMARMInfo.a /usr/local/lib/libLLVMARMAsmPrinter.a
/usr/local/lib/libLLVMMipsDisassembler.a /usr/local/lib/libLLVMMipsCodeGen.a
/usr/local/lib/libLLVMMipsAsmParser.a /usr/local/lib/libLLVMMipsDesc.a
/usr/local/lib/libLLVMMipsInfo.a /usr/local/lib/libLLVMMipsAsmPrinter.a
/usr/local/lib/libLLVMDebugInfo.a /usr/local/lib/libLLVMOption.a
/usr/local/lib/libLLVMX86Disassembler.a /usr/local/lib/libLLVMX86AsmParser.a
/usr/local/lib/libLLVMX86CodeGen.a /usr/local/lib/libLLVMSelectionDAG.a
/usr/local/lib/libLLVMAsmPrinter.a /usr/local/lib/libLLVMMCParser.a
/usr/local/lib/libLLVMX86Desc.a /usr/local/lib/libLLVMX86Info.a
/usr/local/lib/libLLVMX86AsmPrinter.a /usr/local/lib/libLLVMX86Utils.a
/usr/local/lib/libLLVMJIT.a /usr/local/lib/libLLVMMCDisassembler.a
/usr/local/lib/libLLVMInterpreter.a /usr/local/lib/libLLVMCodeGen.a
/usr/local/lib/libLLVMScalarOpts.a /usr/local/lib/libLLVMInstCombine.a
/usr/local/lib/libLLVMTransformUtils.a /usr/local/lib/libLLVMipa.a
/usr/local/lib/libLLVMAnalysis.a /usr/local/lib/libLLVMMCJIT.a
/usr/local/lib/libLLVMTarget.a /usr/local/lib/libLLVMRuntimeDyld.a
/usr/local/lib/libLLVMExecutionEngine.a /usr/local/lib/libLLVMMC.a
/usr/local/lib/libLLVMObject.a /usr/local/lib/libLLVMBitReader.a
/usr/local/lib/libLLVMCore.a /usr/local/lib/libLLVMSupport.a
$ ls /usr/local/lib/libLLVM*.a | wc -l
ls: cannot access /usr/local/lib/libLLVM*.a: No such file or directory
0
$ ls /usr/local/lib/libLLVM*.so | wc -l
54
--
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/20140603/75a2960a/attachment.html>
More information about the llvm-bugs
mailing list