search for: llvmsvn

Displaying 20 results from an estimated 26 matches for "llvmsvn".

Did you mean: llvm_svn
2012 May 16
2
[LLVMdev] clang looking for gold plugin when used with '-emit-llvm' option
Hi All, I built the binaries from the 3.1 final tag (http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_31/final/ etc) as below: > ../llvm/configure --enable-targets=host-only --prefix=/local/mnt/workspace/ashoknn/crd/neo/llvmsvn/build/bin > make install I notice that I can compile a program using clang as below: > ashoknn at ashoknn-vm:/local/mnt/workspace/ashoknn/crd/neo/temp/jit$clang test.c > ashoknn at ashoknn-vm:/local/mnt/workspace/ashoknn/crd/neo/temp/jit$ If I try to generate the bitcode only, it gi...
2012 May 17
2
[LLVMdev] clang looking for gold plugin when used with '-emit-llvm' option
...47 PM, Ashok Nalkund wrote: >> Hi All, >> I built the binaries from the 3.1 final tag >> (http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_31/final/ etc) as below: >> >>> ../llvm/configure --enable-targets=host-only --prefix=/local/mnt/workspace/ashoknn/crd/neo/llvmsvn/build/bin >>> make install >> >> I notice that I can compile a program using clang as below: >> >>> ashoknn at ashoknn-vm:/local/mnt/workspace/ashoknn/crd/neo/temp/jit$clang test.c >>> ashoknn at ashoknn-vm:/local/mnt/workspace/ashoknn/crd/neo/temp/j...
2012 May 17
0
[LLVMdev] clang looking for gold plugin when used with '-emit-llvm' option
...lp? On 5/16/2012 2:47 PM, Ashok Nalkund wrote: > Hi All, > I built the binaries from the 3.1 final tag > (http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_31/final/ etc) as below: > >> ../llvm/configure --enable-targets=host-only --prefix=/local/mnt/workspace/ashoknn/crd/neo/llvmsvn/build/bin >> make install > > I notice that I can compile a program using clang as below: > >> ashoknn at ashoknn-vm:/local/mnt/workspace/ashoknn/crd/neo/temp/jit$clang test.c >> ashoknn at ashoknn-vm:/local/mnt/workspace/ashoknn/crd/neo/temp/jit$ > > If I try...
2012 May 17
0
[LLVMdev] clang looking for gold plugin when used with '-emit-llvm' option
...wrote: >>> Hi All, >>> I built the binaries from the 3.1 final tag >>> (http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_31/final/ etc) as below: >>> >>>> ../llvm/configure --enable-targets=host-only --prefix=/local/mnt/workspace/ashoknn/crd/neo/llvmsvn/build/bin >>>> make install >>> >>> I notice that I can compile a program using clang as below: >>> >>>> ashoknn at ashoknn-vm:/local/mnt/workspace/ashoknn/crd/neo/temp/jit$clang test.c >>>> ashoknn at ashoknn-vm:/local/mnt/workspace...
2012 May 14
2
[LLVMdev] MCJIT
...nline asm not supported by this streamer because we don't have an asm parser for this target > > I add back the call to InitializeNativeTargetAsmParser() in lli.cpp, but compilation fails: Makes sense. >> make[4]: Leaving directory `/local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/build/tools/clang/tools/arcmt-test' >> /local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/build/tools/lli/Debug+Asserts/lli.o: In function `llvm::InitializeNativeTargetAsmParser()': >> /local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/llvm/include/llvm/Support/TargetS...
2012 May 14
2
[LLVMdev] MCJIT
...inline assembly), not the MCJIT. >>>>> >>>> >>>> Do I need to enable anything at configure, my configure looks like this: >>>>> ../llvm/configure --enable-libffi --enable-targets=host-only --prefix=/local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/build/bin >>>> >>>> I added the enable-libffi when trying to figure out resolving external libs. >>>> >>> >>> >>> No, selecting MCJIT vs. the old JIT is done in the EngineBuilder. If you're using lli, you can pass -use-mcjit on the...
2012 May 14
0
[LLVMdev] MCJIT
...e error: > LLVM ERROR: Inline asm not supported by this streamer because we don't have an asm parser for this target I add back the call to InitializeNativeTargetAsmParser() in lli.cpp, but compilation fails: > make[4]: Leaving directory `/local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/build/tools/clang/tools/arcmt-test' > /local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/build/tools/lli/Debug+Asserts/lli.o: In function `llvm::InitializeNativeTargetAsmParser()': > /local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/llvm/include/llvm/Support/TargetSelect.h:...
2012 May 13
1
[LLVMdev] Unable to link in X86AsmParser.cpp into lli
...ing the trunk of svn. I'm trying to get inline-asm working on X86. So I added call to: > InitializeNativeTargetAsmParser() during initialization. However, this causes a linking error: > llvm[2]: Linking Debug+Asserts executable lli > /local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/build/tools/lli/Debug+Asserts/lli.o: In function `llvm::InitializeNativeTargetAsmParser()': > /local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/llvm/include/llvm/Support/TargetSelect.h:149: undefined reference to `LLVMInitializeX86AsmParser' > collect2: ld returned 1 exit status...
2012 May 14
2
[LLVMdev] MCJIT
...e, you're running the old JIT (which does indeed not support inline assembly), not the MCJIT. > Do I need to enable anything at configure, my configure looks like this: > ../llvm/configure --enable-libffi --enable-targets=host-only --prefix=/local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/build/bin I added the enable-libffi when trying to figure out resolving external libs. thanks, ashok
2012 May 14
2
[LLVMdev] MCJIT
...(which does indeed not support inline assembly), not the MCJIT. >>> >> >> Do I need to enable anything at configure, my configure looks like this: >>> ../llvm/configure --enable-libffi --enable-targets=host-only --prefix=/local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/build/bin >> >> I added the enable-libffi when trying to figure out resolving external libs. >> > > > No, selecting MCJIT vs. the old JIT is done in the EngineBuilder. If you're using lli, you can pass -use-mcjit on the command line. If you're using your own drive...
2012 May 20
2
[LLVMdev] lli unable to resolve symbol _ZNKSt3__16locale9use_facetERNS0_2idE in bitcode
...tcode file that I'm trying to load/execute using lli as below but it reports an error about unresolved symbol: > LLVM ERROR: Program used external function '_ZNKSt3__16locale9use_facetERNS0_2idE' which could not be resolved! > lli: /local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/llvm/lib/Support/ThreadLocal.cpp:54: virtual llvm::sys::ThreadLocalImpl::~ThreadLocalImpl(): Assertion `errorcode == I've tried loading the following libs when running lli: > lli \ > -load=libQtCore.so.4 \ > -load=libpthread.so.0 \ > -load=libm.so.6 \ > -load=libgcc_s.so.1 \...
2012 May 14
0
[LLVMdev] MCJIT
...ng the old JIT (which does indeed not support inline assembly), not the MCJIT. >> > > Do I need to enable anything at configure, my configure looks like this: >> ../llvm/configure --enable-libffi --enable-targets=host-only --prefix=/local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/build/bin > > I added the enable-libffi when trying to figure out resolving external libs. > No, selecting MCJIT vs. the old JIT is done in the EngineBuilder. If you're using lli, you can pass -use-mcjit on the command line. If you're using your own driver, you can use the lli....
2012 May 14
0
[LLVMdev] MCJIT
...d not support inline assembly), not the MCJIT. >>>> >>> >>> Do I need to enable anything at configure, my configure looks like this: >>>> ../llvm/configure --enable-libffi --enable-targets=host-only --prefix=/local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/build/bin >>> >>> I added the enable-libffi when trying to figure out resolving external libs. >>> >> >> >> No, selecting MCJIT vs. the old JIT is done in the EngineBuilder. If you're using lli, you can pass -use-mcjit on the command line. If you...
2013 Jun 29
2
[LLVMdev] does clang and llvm take more time to compile c code
The options is cmake -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_INSTALL_PREFIX=~software/llvmsvn -DCMAKE_EXPORT_COMPILE_COMMANDS=ON /home/xxx/lsoftware/llvm-3.2-svn $make $make install On Fri, Jun 28, 2013 at 12:37 PM, Eric Christopher <echristo at gmail.com>wrote: > On Thu, Jun 27, 2013 at 6:04 PM, Eric Lu <eirc.lew at gmail.com> wrote: > > Hi, Ben > > gcc versi...
2012 May 21
0
[LLVMdev] lli unable to resolve symbol _ZNKSt3__16locale9use_facetERNS0_2idE in bitcode
...I'm > trying to load/execute using lli as below but it reports an error about > unresolved symbol: >> LLVM ERROR: Program used external function '_ZNKSt3__16locale9use_facetERNS0_2idE' which could not be resolved! >> lli: /local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/llvm/lib/Support/ThreadLocal.cpp:54: virtual llvm::sys::ThreadLocalImpl::~ThreadLocalImpl(): Assertion `errorcode == > > I've tried loading the following libs when running lli: >> lli \ >> -load=libQtCore.so.4 \ >> -load=libpthread.so.0 \ >> -load=libm.so.6 \ &...
2013 Jun 29
0
[LLVMdev] does clang and llvm take more time to compile c code
On Sat, Jun 29, 2013 at 8:41 AM, Eric Lu <eirc.lew at gmail.com> wrote: > The options is > cmake -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_INSTALL_PREFIX=~software/llvmsvn > -DCMAKE_EXPORT_COMPILE_COMMANDS=ON /home/xxx/lsoftware/llvm-3.2-svn > > That would do it; Debug builds are roughly 2x slower than Release builds. -Eli -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments...
2013 Jun 28
0
[LLVMdev] does clang and llvm take more time to compile c code
On Thu, Jun 27, 2013 at 6:04 PM, Eric Lu <eirc.lew at gmail.com> wrote: > Hi, Ben > gcc version is: 4.7.0 > clang version is: 3.2 > > The command options are: > 1) clang > generated object files: clang -O3 -c *.c -o x.o > link: clang *.o -lm -o mpeg2enc > > 2) gcc > generated object files: gcc -O3 -c *.c -o x.o > link: gcc *.o -lm -o mpeg2enc >
2017 Jun 05
2
Build problems
Hello, Could someone please tell me why LLVM and clang downloaded from here: svn co http://llvm.org/svn/llvm-project/llvm/trunk llvmsvn co http://llvm.org/svn/llvm-project/cfe/trunk clang and generated using cmake: cmake -G "Visual Studio 15 2017" ../llvm does not compile in Visual Studio? I am using Batch Build in Visual Studio and I have selected only ALL_BUILD project to build as required in step 7 from here. | |...
2012 May 21
2
[LLVMdev] lli unable to resolve symbol _ZNKSt3__16locale9use_facetERNS0_2idE in bitcode
...trying to load/execute using lli as below but it reports an error about >> unresolved symbol: >>> LLVM ERROR: Program used external function '_ZNKSt3__16locale9use_facetERNS0_2idE' which could not be resolved! >>> lli: /local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/llvm/lib/Support/ThreadLocal.cpp:54: virtual llvm::sys::ThreadLocalImpl::~ThreadLocalImpl(): Assertion `errorcode == >> >> I've tried loading the following libs when running lli: >>> lli \ >>> -load=libQtCore.so.4 \ >>> -load=libpthread.so.0 \ >&gt...
2012 May 14
0
[LLVMdev] MCJIT
On May 14, 2012, at 9:07 AM, Ashok Nalkund <ashoknn at qualcomm.com> wrote: > I was able to get past the error by calling InitializeNativeTargetAsmParser() in my code. Now I have a failure in resolving external libraries, so looking into that (recompiled with --enable-ffi but I now get an error LLVMgold.so not found). > > Then I hda to disable the following code in