Displaying 20 results from an estimated 57 matches for "lllvmbitwrit".
Did you mean:
lllvmbitwriter
2010 Jul 30
2
[LLVMdev] Building LLVM 2.7 on OpenSolaris
...top level Makefile.rules, the variable is set to "support system",
however, these do not seem to make it to the 'opt' make context.
The list of libraries for 'opt' is (from the g++ link command):
... -lLLVMipo -lLLVMScalarOpts -lLLVMInstrumentation -lLLVMAsmParser -
lLLVMBitWriter -lLLVMBitReader ...
It is missing at a minimum LLVMCore, which when added reduces the
unresolved externals to 400+.
Guidance about how to deal with the link process would be great.
[Background]
$ uname -a
SunOS A64009 5.11 snv_111b i86pc i386 i86pc
GCC-4.4.4, GMP-4.3.2, MPFR-2.4.2
$ gc...
2013 Nov 21
2
[LLVMdev] Building LLVM with asan
...8
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu
-L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -L/lib -L/usr/lib -R
"\$ORIGIN" --whole-archive -lLLVMAnalysis -lLLVMAsmParser -lLLVMAsmPrinter
-lLLVMBitReader -lLLVMBitWriter -lLLVMCodeGen -lLLVMCore -lLLVMDebugInfo
-lLLVMExecutionEngine -lLLVMInstCombine -lLLVMInstrumentation
-lLLVMInterpreter -lLLVMipa -lLLVMipo -lLLVMIRReader -lLLVMLinker -lLLVMLTO
-lLLVMMC -lLLVMMCDisassembler -lLLVMMCJIT -lLLVMMCParser -lLLVMObjCARCOpts
-lLLVMObject -lLLVMOption -lLLVMRuntimeDyld...
2010 Jun 05
1
[LLVMdev] undefined reference when using llvm-config
...free.fr> wrote:
> Hi Tom,
>
> I'm pretty sure that the LLVMContext constructor is defined in libLLVMCore.a
> What is the output of `llvm-config --libs bitwriter`? Does it include
> -lLLVMCore?
Hi Duncan,
e0082888 at e0082888-laptop:~$ local/bin/llvm-config --libs bitwriter
-lLLVMBitWriter -lLLVMCore -lLLVMSupport -lLLVMSystem
I verified it's pulling from the right library directory, because if I
hide libLLVMCore.a from view and I get:
e0082888 at e0082888-laptop:~/projects/llvm-hs/tools/ModuleMaker$ g++
`$HOME/local/bin/llvm-config --cppflags --cxxflags --ldflags --libs
bit...
2010 Mar 21
3
[LLVMdev] LLVM on Solaris/Intel?
> I don't know anything about Solaris, but your paste doesn't actually
> contain any errors, just warnings (unless I'm reading "ld: warning:
> relocation error:" wrong). It might help to run make without -j until
> it fails, and then use `make VERBOSE=1` to print the exact commands
> it's running.
Sorry. There was so much output I wasn't sure how much
2013 Nov 21
2
[LLVMdev] Building LLVM with asan
...ts/lib
-L/home/kfischer/julia/deps/llvm-svn/build_Release+Asserts+Sanitize/Release+Asserts/lib
-shared -o
/home/kfischer/julia/deps/llvm-svn/build_Release+Asserts+Sanitize/Release+Asserts/lib/
libLLVM-3.5svn.so -Wl,--whole-archive -lLLVMAnalysis -lLLVMAsmParser
-lLLVMAsmPrinter -lLLVMBitReader -lLLVMBitWriter -lLLVMCodeGen -lLLVMCore
-lLLVMDebugInfo -lLLVMExecutionEngine -lLLVMInstCombine
-lLLVMInstrumentation -lLLVMInterpreter -lLLVMipa -lLLVMipo -lLLVMIRReader
-lLLVMLinker -lLLVMLTO -lLLVMMC -lLLVMMCDisassembler -lLLVMMCJIT
-lLLVMMCParser -lLLVMObjCARCOpts -lLLVMObject -lLLVMOption
-lLLVMRuntimeDyld...
2018 Jul 31
2
LLJVM make error
...aybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -g
-fno-exceptions -fno-rtti -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -L/usr/local/lib
-lLLVMSelectionDAG -lLLVMCodeGen -lLLVMTarget -lLLVMScalarOpts
-lLLVMInstCombine -lLLVMTransformUtils -lLLVMBitWriter -lLLVMAnalysis
-lLLVMProfileData -lLLVMObject -lLLVMMCParser -lLLVMMC -lLLVMBitReader
-lLLVMCore -lLLVMBinaryFormat -lLLVMSupport -lLLVMDemangle -c main.cpp
In file included from main.cpp:23:0:
backend.h:29:44: fatal error: llvm/Analysis/ConstantsScanner.h: No such
file or directory
#include &...
2010 Jul 30
0
[LLVMdev] Building LLVM 2.7 on OpenSolaris
...e variable is set to "support system",
> however, these do not seem to make it to the 'opt' make context.
>
> The list of libraries for 'opt' is (from the g++ link command):
>
> ... -lLLVMipo -lLLVMScalarOpts -lLLVMInstrumentation -lLLVMAsmParser -
> lLLVMBitWriter -lLLVMBitReader ...
>
> It is missing at a minimum LLVMCore, which when added reduces the
> unresolved externals to 400+.
>
> Guidance about how to deal with the link process would be great.
>
It should work, however, none of us that I know of have access to solaris.
At m...
2011 Mar 09
1
[LLVMdev] Discrepancies between bin/llvm-config --libs and LLVM_LINK_COMPONENTS in CMake.
Hello. When i run
llvm-config --libs jit bitreader bitwriter ipo linker engine
i get:
-lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG
-lLLVMAsmPrinter -lLLVMMCParser -lLLVMX86AsmPrinter -lLLVMX86Utils
-lLLVMX86Info -lLLVMLinker -lLLVMArchive -lLLVMipo -lLLVMBitWriter
-lLLVMBitReader -lLLVMJIT -lLLVMExecutionEngine -lLLVMCodeGen
-lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa
-lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport
Now i use in CMakeLists.txt following line:
set(LLVM_LINK_COMPONENTS jit bitreader bitwriter ipo linker e...
2013 Nov 21
0
[LLVMdev] Building LLVM with asan
...8
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu
-L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -L/lib -L/usr/lib -R
"\$ORIGIN" --whole-archive -lLLVMAnalysis -lLLVMAsmParser -lLLVMAsmPrinter
-lLLVMBitReader -lLLVMBitWriter -lLLVMCodeGen -lLLVMCore -lLLVMDebugInfo
-lLLVMExecutionEngine -lLLVMInstCombine -lLLVMInstrumentation
-lLLVMInterpreter -lLLVMipa -lLLVMipo -lLLVMIRReader -lLLVMLinker -lLLVMLTO
-lLLVMMC -lLLVMMCDisassembler -lLLVMMCJIT -lLLVMMCParser -lLLVMObjCARCOpts
-lLLVMObject -lLLVMOption -lLLVMRuntimeDyld...
2014 Feb 27
2
[LLVMdev] llvm-config --system-libs has newlines in output
...-libs
-lz -ltinfo -lrt -ldl -lm
If I use --system-libs together with --libs the LLVM libraries and the
system libraries are separated by a newline:
$ ../../tools_llvm_new/obj/Debug+Asserts/bin/llvm-config --libs
--system-libs
-lLLVMLTO -lLLVMObjCARCOpts -lLLVMLinker -lLLVMipo -lLLVMVectorize
-lLLVMBitWriter ...
-lz -ltinfo -lrt -ldl -lm
Is there any reason for this? It just seems to make it harder to parse
the output of llvm-config, but I wanted to check that it wasn't
intentional before putting together a patch.
Thanks,
Richard
--
Richard Osborne | XMOS
http://www.xmos.com
2013 Nov 21
2
[LLVMdev] Building LLVM with asan
..._64-linux-gnu/4.8/../../../x86_64-linux-gnu
> -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu
> -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -L/lib -L/usr/lib -R
> "\$ORIGIN" --whole-archive -lLLVMAnalysis -lLLVMAsmParser -lLLVMAsmPrinter
> -lLLVMBitReader -lLLVMBitWriter -lLLVMCodeGen -lLLVMCore -lLLVMDebugInfo
> -lLLVMExecutionEngine -lLLVMInstCombine -lLLVMInstrumentation
> -lLLVMInterpreter -lLLVMipa -lLLVMipo -lLLVMIRReader -lLLVMLinker -lLLVMLTO
> -lLLVMMC -lLLVMMCDisassembler -lLLVMMCJIT -lLLVMMCParser -lLLVMObjCARCOpts
> -lLLVMObject -lLLVMOpti...
2013 Nov 21
0
[LLVMdev] Building LLVM with asan
...kfischer/julia/deps/llvm-svn/build_Release+Asserts+Sanitize/Release+Asserts/lib
> -shared -o
> /home/kfischer/julia/deps/llvm-svn/build_Release+Asserts+Sanitize/Release+Asserts/lib/libLLVM-3.5svn.so
> -Wl,--whole-archive -lLLVMAnalysis -lLLVMAsmParser -lLLVMAsmPrinter
> -lLLVMBitReader -lLLVMBitWriter -lLLVMCodeGen -lLLVMCore -lLLVMDebugInfo
> -lLLVMExecutionEngine -lLLVMInstCombine -lLLVMInstrumentation
> -lLLVMInterpreter -lLLVMipa -lLLVMipo -lLLVMIRReader -lLLVMLinker -lLLVMLTO
> -lLLVMMC -lLLVMMCDisassembler -lLLVMMCJIT -lLLVMMCParser -lLLVMObjCARCOpts
> -lLLVMObject -lLLVMOpti...
2013 Nov 21
0
[LLVMdev] Building LLVM with asan
...8/../../../x86_64-linux-gnu
>> -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu
>> -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -L/lib -L/usr/lib -R
>> "\$ORIGIN" --whole-archive -lLLVMAnalysis -lLLVMAsmParser -lLLVMAsmPrinter
>> -lLLVMBitReader -lLLVMBitWriter -lLLVMCodeGen -lLLVMCore -lLLVMDebugInfo
>> -lLLVMExecutionEngine -lLLVMInstCombine -lLLVMInstrumentation
>> -lLLVMInterpreter -lLLVMipa -lLLVMipo -lLLVMIRReader -lLLVMLinker -lLLVMLTO
>> -lLLVMMC -lLLVMMCDisassembler -lLLVMMCJIT -lLLVMMCParser -lLLVMObjCARCOpts
>> -lLLVMO...
2010 Jun 04
2
[LLVMdev] undefined reference when using llvm-config
...ence to
`llvm::Type::getInt32Ty(llvm::LLVMContext&)'
...
For reference:
$ $HOME/local/bin/llvm-config --cppflags --ldflags --libs bitwriter
-I/home/e0082888/local/include -D_DEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
-L/home/e0082888/local/lib -lpthread -ldl -lm
-lLLVMBitWriter -lLLVMCore -lLLVMSupport -lLLVMSystem
I also get the same result if I remove 'bitwriter' from the
llvm-config argument list so as to link with all libraries.
Any suggestions? BTW, my llvm-g++ is from a ubuntu package, whereas
as the libraries I'm attempting to link against (2.7) we...
2014 Dec 17
5
[LLVMdev] How to figure out what #includes are needed?
...E -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -g -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual -Wcast-qual
-lLLVMInstrumentation -lLLVMIRReader -lLLVMAsmParser -lLLVMDebugInfo -lLLVMOption -lLLVMLTO -lLLVMLinker -lLLVMipo -lLLVMVectorize -lLLVMBitWriter -lLLVMBitReader -lLLVMTableGen -lLLVMR600CodeGen -lLLVMR600Desc -lLLVMR600Info -lLLVMR600AsmPrinter -lLLVMSystemZDisassembler -lLLVMSystemZCodeGen -lLLVMSystemZAsmParser -lLLVMSystemZDesc -lLLVMSystemZInfo -lLLVMSystemZAsmPrinter -lLLVMHexagonCodeGen -lLLVMHexagonAsmPrinter -lLLVMHexagonDesc -lLL...
2011 Aug 03
0
[LLVMdev] Building LLVM on Solaris/Sparc
...-lpthread -lmalloc -lm
It seems like you're missing a whole bunch of libraries on the command line. This is what I have when I compile it:
-lLLVMipo -lLLVMScalarOpts -lLLVMInstCombine -lLLVMInstrumentation -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMAsmParser -lLLVMBitWriter -lLLVMBitReader -lLLVMCore -lLLVMSupport
I'm not sure what the -lLLVM-2.9svn is...
-bw
2015 Apr 01
2
[LLVMdev] Dynamic linking (dlopen/dlsym) against LLVM from a C program
.../lib/llvm-3.5/include -DNDEBUG -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-g -O2 -fomit-frame-pointer -std=c++11 -fvisibility-inlines-hidden
-fno-exceptions -fPIC -Woverloaded-virtual -ffunction-sections
-fdata-sections -Wcast-qual -L/usr/lib/llvm-3.5/lib -lLLVMBitWriter
-lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen
-lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMX86Desc -lLLVMObject
-lLLVMMCParser -lLLVMBitReader -lLLVMX86Info -lLLVMX86AsmPrinter
-lLLVMX86Utils -lLLVMInterpreter -lLLVMJIT -lLLVMCodeGen
-lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtil...
2007 Dec 23
3
[LLVMdev] Odd problem with command line options
...o figure out what's going wrong.
The link command is:
g++ -o ellsif ellsif.o elsa.o -g -Wall ../elsa/libelsa.a
../elkhound/libelkhound.a ../ast/libast.a ../smbase/libsmbase.a
-L/home/rich/llvm-install/lib -lpthread -ldl -lm -lelf -lLLVMLinker
-lLLVMArchive -lLLVMipo -lLLVMInstrumentation -lLLVMBitWriter
-lLLVMBitReader /home/rich/llvm-install/lib/LLVMMSIL.o
/home/rich/llvm-install/lib/LLVMCBackend.o
/home/rich/llvm-install/lib/LLVMCellSPU.o
/home/rich/llvm-install/lib/LLVMMips.o
/home/rich/llvm-install/lib/LLVMARM.o
/home/rich/llvm-install/lib/LLVMIA64.o
/home/rich/llvm-install/lib/LLVMAl...
2010 May 05
0
[LLVMdev] Is the option --enable-shared discontinued in 2.7?
...hared -o
/tmp/llvm-build/2.7/llvm-objects/Release/lib/libLLVM-2.7.so
-Wl,--whole-archive -lLLVMARMAsmParser -lLLVMARMAsmPrinter
-lLLVMARMCodeGen -lLLVMARMInfo -lLLVMAlphaAsmPrinter -lLLVMAlphaCodeGen
-lLLVMAlphaInfo -lLLVMAnalysis -lLLVMArchive -lLLVMAsmParser
-lLLVMAsmPrinter -lLLVMBitReader -lLLVMBitWriter
-lLLVMBlackfinAsmPrinter -lLLVMBlackfinCodeGen -lLLVMBlackfinInfo
-lLLVMCBackend -lLLVMCBackendInfo -lLLVMCellSPUAsmPrinter
-lLLVMCellSPUCodeGen -lLLVMCellSPUInfo -lLLVMCodeGen -lLLVMCore
-lLLVMCppBackend -lLLVMCppBackendInfo -lLLVMExecutionEngine
-lLLVMInstCombine -lLLVMInstrumentation -lLL...
2010 May 05
2
[LLVMdev] Is the option --enable-shared discontinued in 2.7?
...lvm-build/2.7/llvm-objects/Release/lib/libLLVM-2.7.so
> -Wl,--whole-archive -lLLVMARMAsmParser -lLLVMARMAsmPrinter -lLLVMARMCodeGen
> -lLLVMARMInfo -lLLVMAlphaAsmPrinter -lLLVMAlphaCodeGen -lLLVMAlphaInfo
> -lLLVMAnalysis -lLLVMArchive -lLLVMAsmParser -lLLVMAsmPrinter
> -lLLVMBitReader -lLLVMBitWriter -lLLVMBlackfinAsmPrinter
> -lLLVMBlackfinCodeGen -lLLVMBlackfinInfo -lLLVMCBackend -lLLVMCBackendInfo
> -lLLVMCellSPUAsmPrinter -lLLVMCellSPUCodeGen -lLLVMCellSPUInfo -lLLVMCodeGen
> -lLLVMCore -lLLVMCppBackend -lLLVMCppBackendInfo -lLLVMExecutionEngine
> -lLLVMInstCombine -lLLVMInstr...