Displaying 20 results from an estimated 125 matches for "lllvmcore".
Did you mean:
llvmcore
2010 Jun 05
1
[LLVMdev] undefined reference when using llvm-config
On Sat, Jun 5, 2010 at 3:18 AM, Duncan Sands <baldrick at 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...
2009 Jan 17
2
[LLVMdev] Build problems on MinGW
...-
returns:
00000000 T _GetProcessMemoryInfo at 12
00000000 I __imp__GetProcessMemoryInfo at 12
And llvm-config seems to be asking for them to be picked up:
-I//include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -O2
-fomit-frame-pointer -Woverloaded-virtual
-L//lib -lpsapi -limagehlp -lm
-lLLVMCore -lLLVMSupport -lLLVMSystem
So I'm still mystified.
Best regards,
Duncan
2010 Sep 07
2
[LLVMdev] llvm-config error
...libs core` -o toy
> > sh: llvm-config: command not found
>
> You need MSYS's perl to use llvm-config on mingw.
>
> Does this below work?
> -D_DEBUG (might be -DNDEBUG)
> -D__NO_CTYPE_INLINE
> -D_GNU_SOURCE
> -D__STDC_LIMIT_MACROS
> -D__STDC_CONSTANT_MACROS
> -lLLVMCore -lLLVMSupport -lLLVMSystem
> -lpsapi -limagehlp -lm
>
> ...Takumi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100907/58ea3332/attachment.html>
2009 May 27
2
[LLVMdev] CMake build maturity
...at juggle2:~/c/llvm-svn> llvm-config --cxxflags --ldflags --libs core
> -I/home/melis/llvm/include -D_DEBUG -D_GNU_SOURCE
> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fomit-frame-pointer
> -fPIC -Woverloaded-virtual
> -L/home/melis/llvm/lib -lpthread -ldl -lm -lelf
> -lLLVMCore -lLLVMSupport -lLLVMSystem
>
> melis at juggle2:~/c/llvm-svn-build> cmake /home/melis/c/llvm-svn
> -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/melis/llvm-cmake
> -DLLVM_ENABLE_THREADS=ON
> melis at juggle2:~/c/llvm-svn-build> make install
> melis at juggle2:~/c/l...
2010 Jun 04
2
[LLVMdev] undefined reference when using llvm-config
...ype::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) were compiled
a...
2009 Jan 17
0
[LLVMdev] Build problems on MinGW
...moryInfo at 12
> 00000000 I __imp__GetProcessMemoryInfo at 12
>
> And llvm-config seems to be asking for them to be picked up:
>
> -I//include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -O2
> -fomit-frame-pointer -Woverloaded-virtual
> -L//lib -lpsapi -limagehlp -lm
> -lLLVMCore -lLLVMSupport -lLLVMSystem
>
> So I'm still mystified.
Put them at the end of the library list:
-lLLVMCore -lLLVMSupport -lLLVMSystem -limagehlp -lpsapi -lm
Unless recently changed, mingw's ld resolves symbols sequentially on the
library list, it does not look on previously process...
2010 Sep 07
0
[LLVMdev] llvm-config error
...als.o):Signals.cpp:(.text+0x4d4):
> undefined reference to `_imp__SymSetOptions at 4'
I guess it might be a known issue;
http://llvm.org/bugs/show_bug.cgi?id=3347
Would you like me to show the result of "llvm-config –cppflags
–ldflags –libs core"?
And please try specifying libs (-lLLVMCore -lLLVMSupport -lLLVMSystem
-lpsapi -limagehlp -lm) manually.
...Takumi
2010 Jun 05
0
[LLVMdev] undefined reference when using llvm-config
...llvm::LLVMContext&)'
> ModuleMaker.cpp:(.text+0x7a): undefined reference to
> `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
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?
Ciao,
Duncan.
PS: There should be no need to use llvm-g++ rather than g++. If it makes a
difference, then that is a bug.
2009 Dec 12
0
[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
...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 bit code though.
&...
2009 Jun 01
0
[LLVMdev] CMake build maturity
...svn> llvm-config --cxxflags --ldflags --libs core
>> -I/home/melis/llvm/include -D_DEBUG -D_GNU_SOURCE
>> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fomit-frame-pointer
>> -fPIC -Woverloaded-virtual
>> -L/home/melis/llvm/lib -lpthread -ldl -lm -lelf
>> -lLLVMCore -lLLVMSupport -lLLVMSystem
>>
>> melis at juggle2:~/c/llvm-svn-build> cmake /home/melis/c/llvm-svn
>> -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/melis/llvm-cmake
>> -DLLVM_ENABLE_THREADS=ON
>> melis at juggle2:~/c/llvm-svn-build> make install
>>...
2009 Jan 18
4
[LLVMdev] Build problems on MinGW solved - possible llvm-config bug
.../lib/libimagehlp.a and /lib/libpsapi.a
> > And llvm-config seems to be asking for them to be picked up:
> >
> > -I//include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -O2
> > -fomit-frame-pointer -Woverloaded-virtual
> > -L//lib -lpsapi -limagehlp -lm
> > -lLLVMCore -lLLVMSupport -lLLVMSystem
> >
> > So I'm still mystified.
>
> Put them at the end of the library list:
>
> -lLLVMCore -lLLVMSupport -lLLVMSystem -limagehlp -lpsapi -lm
This works. I had a look at changing the llvm-config.in.in but my Perl hacking
skills aren't up...
2009 May 27
0
[LLVMdev] CMake build maturity
...vm/bin/llvm-config
melis at juggle2:~/c/llvm-svn> llvm-config --cxxflags --ldflags --libs core
-I/home/melis/llvm/include -D_DEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fomit-frame-pointer
-fPIC -Woverloaded-virtual
-L/home/melis/llvm/lib -lpthread -ldl -lm -lelf
-lLLVMCore -lLLVMSupport -lLLVMSystem
melis at juggle2:~/c/llvm-svn-build> cmake /home/melis/c/llvm-svn
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/melis/llvm-cmake
-DLLVM_ENABLE_THREADS=ON
melis at juggle2:~/c/llvm-svn-build> make install
melis at juggle2:~/c/llvm-svn-build> which llvm-...
2009 Jan 02
2
[LLVMdev] link problem with llvm-pass
...k/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/synphony/llvmllila...
2009 May 22
2
[LLVMdev] CMake build maturity
Paul Melis <llvm at assumetheposition.nl> writes:
> Hi, just chiming in here...
>
> Óscar Fuentes wrote:
>> [...]
>>
>> This is a simple guide for using cmake with LLVM:
>>
>> http://www.llvm.org/docs/CMake.html
>>
>> The makefiles distributed with LLVM have nothing to do with cmake.
>>From the few times I tried building LLVM with
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
...llila/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/m...
2009 Apr 09
2
[LLVMdev] Link error building llc
...b -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::SelectionDAGISel*, bool)...
2013 Nov 21
2
[LLVMdev] Building LLVM with asan
...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 -lLLVMScalarOpts
-lLLVMSel...
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
...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 -lLLVMScalarOpts -lLLVMSel...