Displaying 20 results from an estimated 107 matches for "lllvmtarget".
2006 Mar 22
0
[LLVMdev] Circular dependencies
...pend on LLVMIPA. If you knew what was pulling in IPA
> that would probably be an easy tie to sever.
>
> Ideally, none of the above should depend on libLLVMTransformUtils.
Yeah, I'm definitely having headaches with LLVMTransformUtils, which
needs to appear before LLVMAnalysis and lLLVMTarget.
-lLLVMTransformUtils -lLLVMAnalysis -lLLVMTarget
If I don't do this, I get link errors on:
__ZN4llvm11BasicAAStubEv
I think, for now, the only portable workaround is for me to link all
the *.a libraries in that loop twice, and hope we can clean up the
dependencies later.
There...
2006 Mar 22
2
[LLVMdev] Circular dependencies
...what was pulling in IPA
> > that would probably be an easy tie to sever.
> >
> > Ideally, none of the above should depend on libLLVMTransformUtils.
>
> Yeah, I'm definitely having headaches with LLVMTransformUtils, which
> needs to appear before LLVMAnalysis and lLLVMTarget.
>
> -lLLVMTransformUtils -lLLVMAnalysis -lLLVMTarget
>
> If I don't do this, I get link errors on:
>
> __ZN4llvm11BasicAAStubEv
>
> I think, for now, the only portable workaround is for me to link all
> the *.a libraries in that loop twice, and hope we ca...
2009 Dec 12
0
[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
...; causes the problem. Try removing it.
$ llvm-config --ldflags --libs x86
-L/home/Michael/llvm-2.6/lib -limagehlp -lpsapi -lLLVMX86AsmParser -lLLVMX86AsmPrinter
-lLLVMX86CodeGen
-lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMCodeGen -lLLVMScalarOpts -lLLVMTransformUtils
-lLLVMipa
-lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMX86Info -lLLVMSupport
-lLLVMSystem
> Was the assembler file generated by the same g++ you are using for
> linking it and, previously, for building LLVM?
No, the assembler file was generated by llvm-as. I did use the same
llvm-g++ to compile the C source file to...
2009 Jan 02
2
[LLVMdev] link problem with llvm-pass
.../Users/me/Work/code/synphony/llvmllila/build/Release//lib -L/
Users/me/Work/code/llvm-2.4/Release//lib -o /Users/me/Work/code/
synphony/llvmllila/build/Release//bin/llx /Users/me/Work/code/
synphony/llvmllila/build/tools/llx/Release/main.o -lLMABE -lPartition -
lLLVMBitReader -lLLVMAnalysis -lLLVMTarget -lLLVMCore -lLLVMSupport -
lLLVMSystem \
-lpthread -lm
g++ -I/Users/me/Work/code/llvm-2.4/include -I/Users/me/Work/code/
synphony/llvmllila/build/include -I/Users/me/Work/code/synphony/
llvmllila/build/tools/llx -I/Users/me/Work/code/synphony/llvmllila/
include -I/Users/me/Work/code/synphon...
2006 Mar 22
0
[LLVMdev] Circular dependencies
...> > that would probably be an easy tie to sever.
> > >
> > > Ideally, none of the above should depend on libLLVMTransformUtils.
> >
> > Yeah, I'm definitely having headaches with LLVMTransformUtils, which
> > needs to appear before LLVMAnalysis and lLLVMTarget.
> >
> > -lLLVMTransformUtils -lLLVMAnalysis -lLLVMTarget
> >
> > If I don't do this, I get link errors on:
> >
> > __ZN4llvm11BasicAAStubEv
> >
> > I think, for now, the only portable workaround is for me to link all
> > the *.a...
2009 Dec 11
3
[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
"Michael Ness" <mike at liquido2.com> writes:
[snip]
> I then used both of these builds to attempt to assemble and link my
> project with llvm-g++:
>
> $ llvm-g++ out.s -o out.exe `llvm-config --ldflags --libs x86 core
> system support`
>
> gave me the errors found in the attached file "errors_gcc.txt". And
>
> $ llvm-g++ out.s -o out.exe
2009 Jan 04
0
[LLVMdev] link problem with llvm-pass
...synphony/llvmllila/build/Release//lib -L/
> Users/me/Work/code/llvm-2.4/Release//lib -o /Users/me/Work/code/
> synphony/llvmllila/build/Release//bin/llx /Users/me/Work/code/
> synphony/llvmllila/build/tools/llx/Release/main.o -lLMABE -lPartition -
> lLLVMBitReader -lLLVMAnalysis -lLLVMTarget -lLLVMCore -lLLVMSupport -
> lLLVMSystem \
> -lpthread -lm
> g++ -I/Users/me/Work/code/llvm-2.4/include -I/Users/me/Work/code/
> synphony/llvmllila/build/include -I/Users/me/Work/code/synphony/
> llvmllila/build/tools/llx -I/Users/me/Work/code/synphony/llvmllila/
> include...
2009 Apr 09
2
[LLVMdev] Link error building llc
...llvm/Debug/lib -o
/home/neale/LLVM/llvm/Debug/bin/llc
/home/neale/LLVM/llvm/tools/llc/Debug/llc.o \
-lLLVMBitReader /home/neale/LLVM/llvm/Debug/lib/LLVMCBackend.o
-lLLVMCodeGen -lLLVMScalarOpts -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis
/home/neale/LLVM/llvm/Debug/lib/LLVMCppBackend.o -lLLVMTarget -lLLVMCore
-lLLVMSupport -lLLVMSystem -lpthread -ldl -lm -lelf
/home/neale/LLVM/llvm/tools/llc/Debug/llc.o: In function
`ForceCodegenLinking':
/home/neale/LLVM/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:45:
undefined reference to
`llvm::createBURRListDAGScheduler(llvm::SelectionDAGI...
2005 Oct 25
2
[LLVMdev] newbie llc build problem: BreakCriticalEdges.cpp:44: undefined reference to `llvm::LoopSimplifyID'
.../obj/Debug/lib/LLVMX86.o /home/kh/llvm/obj/Debug/lib/LLVMSelectionDAG.o
/home/kh/llvm/obj/Debug/lib/LLVMCodeGen.o /home/kh/llvm/obj/Debug/lib/LLVMBCReader.o
/home/kh/llvm/obj/Debug/lib/LLVMBCWriter.o /home/kh/llvm/obj/Debug/lib/LLVMCore.o
/home/kh/llvm/obj/Debug/lib/LLVMbzip2.o --export-dynamic -lLLVMTarget -lLLVMipa -lLLVMTransforms
-lLLVMScalarOpts -lLLVMAnalysis -lLLVMTransformUtils -lLLVMSupport -lLLVMSystem -lpthread
/usr/lib/libltdl.so -ldl --rpath /home/kh/llvm/obj/Debug/bin -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s
-lgcc /usr/lib/gcc/i386-redhat-linux/3.4.3/crtend.o /usr/lib/gcc/i386-redhat-li...
2013 Nov 21
2
[LLVMdev] Building LLVM with asan
...ecutionEngine -lLLVMInstCombine -lLLVMInstrumentation
-lLLVMInterpreter -lLLVMipa -lLLVMipo -lLLVMIRReader -lLLVMLinker -lLLVMLTO
-lLLVMMC -lLLVMMCDisassembler -lLLVMMCJIT -lLLVMMCParser -lLLVMObjCARCOpts
-lLLVMObject -lLLVMOption -lLLVMRuntimeDyld -lLLVMScalarOpts
-lLLVMSelectionDAG -lLLVMSupport -lLLVMTarget -lLLVMTransformUtils
-lLLVMVectorize -lLLVMX86AsmParser -lLLVMX86AsmPrinter -lLLVMX86CodeGen
-lLLVMX86Desc -lLLVMX86Disassembler -lLLVMX86Info -lLLVMX86Utils
--no-whole-archive --soname libLLVM-3.5svn.so --no-undefined -lz -ltinfo
-lm -lstdc++ -lm -lgcc_s -lc -lgcc_s
/usr/lib/gcc/x86_64-linux-gnu/4...
2006 Mar 22
5
[LLVMdev] Circular dependencies
On Tue, 21 Mar 2006, Reid Spencer wrote:
> About the only thing I can suggest are:
>
> 1. Combine LLVMSparc*.o into one LLVMSparc.a. That work is already
> happening with the new Sparc backend that is being developed. Should be
> out in 1.7 (Chris?)
I wouldn't worry about the SparcV9 backend for your project.
> 2. Combine the JIT/Interpreter/ExecutionEngine into one .a
2013 Nov 21
2
[LLVMdev] Building LLVM with asan
...ecutionEngine -lLLVMInstCombine
-lLLVMInstrumentation -lLLVMInterpreter -lLLVMipa -lLLVMipo -lLLVMIRReader
-lLLVMLinker -lLLVMLTO -lLLVMMC -lLLVMMCDisassembler -lLLVMMCJIT
-lLLVMMCParser -lLLVMObjCARCOpts -lLLVMObject -lLLVMOption
-lLLVMRuntimeDyld -lLLVMScalarOpts -lLLVMSelectionDAG -lLLVMSupport
-lLLVMTarget -lLLVMTransformUtils -lLLVMVectorize -lLLVMX86AsmParser
-lLLVMX86AsmPrinter -lLLVMX86CodeGen -lLLVMX86Desc -lLLVMX86Disassembler
-lLLVMX86Info -lLLVMX86Utils -Wl,--no-whole-archive -Wl,--soname,
libLLVM-3.5svn.so -Wl,--no-undefined -lz -ltinfo -lm
Am I doing something stupid?
Thanks,
Keno
--------...
2005 Jun 01
1
[LLVMdev] [Cygwin] 'make tools-only' configuration error
...ug/lib/LL
VMSelectionDAG.o /usr/build/llvm-2/Debug/lib/LLVMCodeGen.o /usr/build/llvm-2/Deb
ug/lib/LLVMScalarOpts.o /usr/build/llvm-2/Debug/lib/LLVMBCReader.o /usr/build/ll
vm-2/Debug/lib/LLVMBCWriter.o /usr/build/llvm-2/Debug/lib/LLVMCore.o /usr/build/
llvm-2/Debug/lib/LLVMbzip2.o --export-dynamic -lLLVMTarget -lLLVMipa -lLLVMTrans
forms -lLLVMAnalysis -lLLVMTransformUtils -lLLVMSupport -lLLVMSystem -lstdc++ -l
gcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc
/usr/build/llvm-2/Debug/lib/LLVMX86.o(.text+0x30406): In function `_GLOBAL__D__Z
N76_GLOBAL__N__usr_src_llvm_lib_Target_X86_X86ISelPatte...
2018 Jul 31
2
LLJVM make error
...-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wno-maybe-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: l...
2009 Apr 09
0
[LLVMdev] Link error building llc
Hello, Neale
> -lLLVMBitReader /home/neale/LLVM/llvm/Debug/lib/LLVMCBackend.o
> -lLLVMCodeGen -lLLVMScalarOpts -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis
> /home/neale/LLVM/llvm/Debug/lib/LLVMCppBackend.o -lLLVMTarget -lLLVMCore
> -lLLVMSupport -lLLVMSystem -lpthread -ldl -lm -lelf
It seems, that you did not specify any single backend except C. Please
do so.
> So it appears to be missing LLVMSelectionDAG in the link specification. I've
> been trying to wade through the Makefile* files to see how...
2011 Mar 09
1
[LLVMdev] Discrepancies between bin/llvm-config --libs and LLVM_LINK_COMPONENTS in CMake.
...en -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 engine)
After running CMake, target's link.txt contains following:
/usr/bin/c++ <...> -lLLVMBitWriter -lLLVMipo -lLLVMLinker -lLLVMJIT
-lLLVMArchiv...
2012 May 05
1
[LLVMdev] how compile subproject
...86CodeGen -lLLVMX86Desc -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMMCParser -lLLVMInterpreter -lLLVMJIT -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMMCJIT -lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore -lLLVMSupport
2008 Feb 21
0
[LLVMdev] LLVM Win32 Issue
...his is what I use on MinGW. It is for 2.1. I hope 2.2 is similar:
LIBFILES = $(LLVM_LIB_PATH)LLVMX86.o \
$(LLVM_LIB_PATH)LLVMExecutionEngine.o \
$(LLVM_LIB_PATH)LLVMJIT.o \
-lLLVMAsmParser \
-lLLVMSelectionDAG \
-lLLVMCodeGen \
-lLLVMScalarOpts \
-lLLVMTransformUtils \
-lLLVMAnalysis \
-lLLVMTarget \
-lLLVMCore \
-lLLVMSupport \
-lLLVMSystem \
-lpsapi \
-ldbghelp
If you are on VS, .o is .obj and -lLLVMWhatever is Whatever.lib.
If you still have problems, examine the commands that are executed for
building some example (examples/Fibonacci/fibonacci.cpp for instance).
HTH
--
Oscar
2013 Nov 21
0
[LLVMdev] Building LLVM with asan
...ecutionEngine -lLLVMInstCombine -lLLVMInstrumentation
-lLLVMInterpreter -lLLVMipa -lLLVMipo -lLLVMIRReader -lLLVMLinker -lLLVMLTO
-lLLVMMC -lLLVMMCDisassembler -lLLVMMCJIT -lLLVMMCParser -lLLVMObjCARCOpts
-lLLVMObject -lLLVMOption -lLLVMRuntimeDyld -lLLVMScalarOpts
-lLLVMSelectionDAG -lLLVMSupport -lLLVMTarget -lLLVMTransformUtils
-lLLVMVectorize -lLLVMX86AsmParser -lLLVMX86AsmPrinter -lLLVMX86CodeGen
-lLLVMX86Desc -lLLVMX86Disassembler -lLLVMX86Info -lLLVMX86Utils
--no-whole-archive --soname libLLVM-3.5svn.so --no-undefined -lz -ltinfo
-lm -lstdc++ -lm -lgcc_s -lc -lgcc_s
/usr/lib/gcc/x86_64-linux-gnu/4...
2013 Nov 21
2
[LLVMdev] Building LLVM with asan
...InstCombine -lLLVMInstrumentation
> -lLLVMInterpreter -lLLVMipa -lLLVMipo -lLLVMIRReader -lLLVMLinker -lLLVMLTO
> -lLLVMMC -lLLVMMCDisassembler -lLLVMMCJIT -lLLVMMCParser -lLLVMObjCARCOpts
> -lLLVMObject -lLLVMOption -lLLVMRuntimeDyld -lLLVMScalarOpts
> -lLLVMSelectionDAG -lLLVMSupport -lLLVMTarget -lLLVMTransformUtils
> -lLLVMVectorize -lLLVMX86AsmParser -lLLVMX86AsmPrinter -lLLVMX86CodeGen
> -lLLVMX86Desc -lLLVMX86Disassembler -lLLVMX86Info -lLLVMX86Utils
> --no-whole-archive --soname libLLVM-3.5svn.so --no-undefined -lz -ltinfo
> -lm -lstdc++ -lm -lgcc_s -lc -lgcc_s
> /usr/l...