Displaying 20 results from an estimated 158 matches for "lllvmsupport".
Did you mean:
llvmsupport
2009 Jan 17
2
[LLVMdev] Build problems on MinGW
...:
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
...-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>
2012 Jul 17
3
[LLVMdev] llvm library linking issues
The output of `llvm-config --cppflags --ldflags --libs core support` and
`llvm-config --cppflags --ldflags --libs core` is the same. I've also tried specifying -lLLVMSupport manually. Same result.
--Eugene
----- Original Message -----
Hi Eugene, >I do this, and I've tried a few variations of on it: >clang++ `llvm-config --cppflags --ldflags --libs core` -o clangtest clangtest.cpp the missing routine is defined in the support library, not the core librar...
2009 May 27
2
[LLVMdev] CMake build maturity
...~/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&...
2009 Jan 17
0
[LLVMdev] Build problems on MinGW
...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 processed libraries,...
2010 Sep 07
0
[LLVMdev] llvm-config error
...als.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
2009 Dec 12
0
[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
...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.
> Have you access to other...
2009 Jun 01
0
[LLVMdev] CMake build maturity
...m-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 jug...
2009 Jan 18
4
[LLVMdev] Build problems on MinGW solved - possible llvm-config bug
...gehlp.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 to getting --...
2009 May 27
0
[LLVMdev] CMake build maturity
...-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-config
/home/m...
2009 Jan 02
2
[LLVMdev] link problem with llvm-pass
...hony/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/tools/llx -D_...
2012 Jul 17
0
[LLVMdev] llvm library linking issues
...st.cpp `llvm-config --ldflags --libs core`
(I guess linking order would be)
2012/7/18 Eugene <code_ep at yahoo.com>:
> The output of `llvm-config --cppflags --ldflags --libs core support` and
> `llvm-config --cppflags --ldflags --libs core` is the same. I've also tried specifying -lLLVMSupport manually. Same result.
>
> --Eugene
>
> ----- Original Message -----
> Hi Eugene, >I do this, and I've tried a few variations of on it: >clang++ `llvm-config --cppflags --ldflags --libs core` -o clangtest clangtest.cpp the missing routine is defined in the support library...
2012 Jul 17
2
[LLVMdev] llvm library linking issues
...lt;llvm/Constants.h>
> #include <llvm/DerivedTypes.h>
>
>
> int main(){
>
> llvm::APInt(1,0);
>
> return 0;
> }
>
> I get an error like:
> undefined reference to `llvm::APInt::initSlowCase(unsigned int, unsigned long long, bool)
did you link with -lLLVMSupport (see the output of `llvm-config --libs
support`)? What link command did you use?
Ciao, Duncan.
>
> (this function is called by the inline APInt constructor)
>
> The library seems to be found correctly; it doesn't give any other errors. Using nm I can see the mangled function init...
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
2012 Jul 17
0
[LLVMdev] llvm library linking issues
...es.h>
>>
>>
>> int main(){
>>
>> llvm::APInt(1,0);
>>
>> return 0;
>> }
>>
>> I get an error like:
>> undefined reference to `llvm::APInt::initSlowCase(unsigned int, unsigned long long, bool)
>
> did you link with -lLLVMSupport (see the output of `llvm-config --libs
> support`)? What link command did you use?
>
> Ciao, Duncan.
>
>>
>> (this function is called by the inline APInt constructor)
>>
>> The library seems to be found correctly; it doesn't give any other errors. Using nm I...
2009 Jan 04
0
[LLVMdev] link problem with llvm-pass
.../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/sy...
2009 Apr 09
2
[LLVMdev] Link error building llc
.../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)'
/home/ne...
2005 Oct 25
2
[LLVMdev] newbie llc build problem: BreakCriticalEdges.cpp:44: undefined reference to `llvm::LoopSimplifyID'
...ug/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-linux/3.4.3/../../../crtn.o
/home/kh/llvm/obj/Debug/lib/libLLVMTransformUtils.a(BreakCriticalEdge...
2013 Nov 21
2
[LLVMdev] Building LLVM with asan
...gInfo
-lLLVMExecutionEngine -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_6...