Displaying 20 results from an estimated 55 matches for "ashoknn".
Did you mean:
ashok
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 bit...
2012 May 17
2
[LLVMdev] clang looking for gold plugin when used with '-emit-llvm' option
Are you intending to try to link? That error message isn't coming from clang, but from /usr/bin/ld. If you just want the bitcode for the one source file, you need to pass "-c" as well, just like if you want an object file.
-Jim
On May 16, 2012, at 5:39 PM, Ashok Nalkund <ashoknn at qualcomm.com> wrote:
> Resending, can somebody please help?
>
> 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:
>>
>>...
2012 May 17
0
[LLVMdev] clang looking for gold plugin when used with '-emit-llvm' option
...mebody please help?
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$
>...
2012 May 17
0
[LLVMdev] clang looking for gold plugin when used with '-emit-llvm' option
...you intending to try to link? That error message isn't coming from clang, but from /usr/bin/ld. If you just want the bitcode for the one source file, you need to pass "-c" as well, just like if you want an object file.
>
> -Jim
> On May 16, 2012, at 5:39 PM, Ashok Nalkund<ashoknn at qualcomm.com> wrote:
>
>> Resending, can somebody please help?
>>
>> 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...
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
...leaseEv]+0x88):
> undefined reference to `clang::DiagnosticIDs::~DiagnosticIDs()'
> clang-3: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
>
> ------------------------------------------------------------------------
> *From:* Ashok Nalkund <ashoknn at qualcomm.com>
> *To:* NY Knicks Fan <nyknicksfan92009 at yahoo.com>
> *Cc:* "llvmdev at cs.uiuc.edu" <llvmdev at cs.uiuc.edu>
> *Sent:* Tuesday, July 10, 2012 12:11 PM
> *Subject:* Re: [LLVMdev] Unable to do even basic Clang tutorial
>
> You will need t...
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
...Ev]+0x88):
> undefined reference to `clang::DiagnosticIDs::~DiagnosticIDs()'
> clang-3: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
>
>
> ------------------------------------------------------------------------
> *From:* Ashok Nalkund <ashoknn at qualcomm.com>
> *To:* NY Knicks Fan <nyknicksfan92009 at yahoo.com>
> *Cc:* "llvmdev at cs.uiuc.edu" <llvmdev at cs.uiuc.edu>
> *Sent:* Tuesday, July 10, 2012 11:28 AM
> *Subject:* Re: [LLVMdev] Unable to do even basic Clang tutorial
>
> Add -D__STDC_LI...
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
...sticIDsEE7ReleaseEv[_ZNK4llvm14RefCountedBaseIN5clang13DiagnosticIDsEE7ReleaseEv]+0x88): undefined reference to `clang::DiagnosticIDs::~DiagnosticIDs()'
clang-3: error: linker command failed with exit code 1 (use -v to see invocation)
________________________________
From: Ashok Nalkund <ashoknn at qualcomm.com>
To: NY Knicks Fan <nyknicksfan92009 at yahoo.com>
Cc: "llvmdev at cs.uiuc.edu" <llvmdev at cs.uiuc.edu>
Sent: Tuesday, July 10, 2012 12:11 PM
Subject: Re: [LLVMdev] Unable to do even basic Clang tutorial
You will need to link to the LLVM/clang libraries...
2012 May 14
2
[LLVMdev] MCJIT
On May 14, 2012, at 11:12 AM, Ashok Nalkund <ashoknn at qualcomm.com> wrote:
> On 5/14/2012 10:40 AM, Ashok Nalkund wrote:
>>>
>>> Hm. OK, that's odd. It should change which constructor gets called in EngineBuilder::create() (which is in lib/ExecutionEngine/ExecutionEngine.cpp). Are you perhaps calling setUseMCJIT(true)...
2012 Jul 10
3
[LLVMdev] Unable to do even basic Clang tutorial
...gt;= 64 || (-(INT64_C(1)<<(N-1)) <= x && x < (INT64_C(1)<<(N-1)));
> ^
> 7 errors generated.
>
>
> ------------------------------------------------------------------------
> *From:* Ashok Nalkund <ashoknn at qualcomm.com>
> *To:* NY Knicks Fan <nyknicksfan92009 at yahoo.com>
> *Cc:* "llvmdev at cs.uiuc.edu" <llvmdev at cs.uiuc.edu>
> *Sent:* Tuesday, July 10, 2012 12:44 AM
> *Subject:* Re: [LLVMdev] Unable to do even basic Clang tutorial
>
> Looks like your...
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
...ticIDsEE7ReleaseEv[_ZNK4llvm14RefCountedBaseIN5clang13DiagnosticIDsEE7ReleaseEv]+0x88): undefined reference to `clang::DiagnosticIDs::~DiagnosticIDs()'
clang-3: error: linker command failed with exit code 1 (use -v to see invocation)
________________________________
From: Ashok Nalkund <ashoknn at qualcomm.com>
To: NY Knicks Fan <nyknicksfan92009 at yahoo.com>
Cc: "llvmdev at cs.uiuc.edu" <llvmdev at cs.uiuc.edu>
Sent: Tuesday, July 10, 2012 11:28 AM
Subject: Re: [LLVMdev] Unable to do even basic Clang tutorial
Add -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACRO...
2012 May 14
2
[LLVMdev] MCJIT
On 5/14/2012 10:28 AM, Jim Grosbach wrote:
>
> On May 14, 2012, at 10:21 AM, Ashok Nalkund<ashoknn at qualcomm.com> wrote:
>
>> On 5/14/2012 9:51 AM, Jim Grosbach wrote:
>>>
>>>>>
>>>>> If you're hitting that code, you're running the old JIT (which does indeed not support inline assembly), not the MCJIT.
>>>>>
>>>...
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
.../usr/local/include does not have
> clang/ or clang-c/.
>
> I'm unable to do a make or make install in the Clang build directory.
> How do I fix this?
>
> Thanks!
>
> ------------------------------------------------------------------------
> *From:* Ashok Nalkund <ashoknn at qualcomm.com>
> *To:* NY Knicks Fan <nyknicksfan92009 at yahoo.com>; "llvmdev at cs.uiuc.edu"
> <llvmdev at cs.uiuc.edu>
> *Sent:* Monday, July 9, 2012 3:30 PM
> *Subject:* Re: [LLVMdev] Unable to do even basic Clang tutorial
>
> Use the -I<install p...
2012 May 14
2
[LLVMdev] MCJIT
On 5/14/2012 9:18 AM, Jim Grosbach wrote:
>
> 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).
>>
>&g...
2012 May 14
0
[LLVMdev] MCJIT
...nd ran lli, but it gives the
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/l...
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
...6: error: use of undeclared identifier 'INT64_C'
return N >= 64 || (-(INT64_C(1)<<(N-1)) <= x && x < (INT64_C(1)<<(N-1)));
^
7 errors generated.
________________________________
From: Ashok Nalkund <ashoknn at qualcomm.com>
To: NY Knicks Fan <nyknicksfan92009 at yahoo.com>
Cc: "llvmdev at cs.uiuc.edu" <llvmdev at cs.uiuc.edu>
Sent: Tuesday, July 10, 2012 12:44 AM
Subject: Re: [LLVMdev] Unable to do even basic Clang tutorial
Looks like your make/install is incomplete wrt cl...
2012 May 20
2
[LLVMdev] lli unable to resolve symbol _ZNKSt3__16locale9use_facetERNS0_2idE in bitcode
...2svn (r156975). I have a bitcode 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 \...
2012 Jul 09
3
[LLVMdev] Unable to do even basic Clang tutorial
..._ostream.h' file not found
> #include "llvm/Support/raw_ostream.h"
> ^
> 1 error generated.
>
> Any help you can provide is very much appreciated.
>
> ------------------------------------------------------------------------
> *From:* Ashok Nalkund <ashoknn at qualcomm.com>
> *To:* NY Knicks Fan <nyknicksfan92009 at yahoo.com>; "llvmdev at cs.uiuc.edu"
> <llvmdev at cs.uiuc.edu>
> *Sent:* Monday, July 9, 2012 3:30 PM
> *Subject:* Re: [LLVMdev] Unable to do even basic Clang tutorial
>
> Use the -I<install p...
2012 May 14
2
[LLVMdev] MCJIT
...'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.
>>
>
>
> 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&...
2012 Jul 09
4
[LLVMdev] Unable to do even basic Clang tutorial
...an't even get started.
>
> Can you tell me how to "include the installed location ofclang/llvm
> headers directories in your include path"?
>
> Thanks!
>
>
> ------------------------------------------------------------------------
> *From:* Ashok Nalkund <ashoknn at qualcomm.com>
> *To:* NY Knicks Fan <nyknicksfan92009 at yahoo.com>
> *Cc:* Chad Rosier <mcrosier at apple.com>; "llvmdev at cs.uiuc.edu"
> <llvmdev at cs.uiuc.edu>
> *Sent:* Monday, July 9, 2012 2:39 PM
> *Subject:* Re: [LLVMdev] Unable to do even b...
2012 May 14
0
[LLVMdev] MCJIT
On May 14, 2012, at 9:42 AM, Ashok Nalkund <ashoknn at qualcomm.com> wrote:
>
> On 5/14/2012 9:18 AM, Jim Grosbach wrote:
>>
>> 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...