Displaying 4 results from an estimated 4 matches for "_zn4llvm16getglobalcontextev".
2014 Aug 01
2
[LLVMdev] LLVM Basic Program Compilation
...g --cxxflags --ldflags --libs`
I get the a.out file. No worries.
But, I am interested in getting the LLVM IR file.So, I compiled with
llvm-g++ try.cpp -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -S -emit-llvm
lli try.s
I get an error saying
LLVM ERROR: Program used external function
'_ZN4llvm16getGlobalContextEv' which could not be resolved!
The command :
llvm-g++ try.cpp -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
`llvm-config --cxxflags --ldflags --libs` -S -emit-llvm
leaves me with several warnings and when i execute the resultant .s file
with lli , I get the same error as before.
Thanks a...
2014 Aug 01
3
[LLVMdev] LLVM Basic Program Compilation
...g --cxxflags --ldflags --libs`
I get the a.out file. No worries.
But, I am interested in getting the LLVM IR file.So, I compiled with
llvm-g++ try.cpp -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -S -emit-llvm
lli try.s
I get an error saying
LLVM ERROR: Program used external function
'_ZN4llvm16getGlobalContextEv' which could not be resolved!
The command :
llvm-g++ try.cpp -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
`llvm-config --cxxflags --ldflags --libs` -S -emit-llvm
leaves me with several warnings and when i execute the resultant .s file
with lli , I get the same error as before.
Thanks a...
2014 Aug 02
2
[LLVMdev] LLVM Basic Program Compilation
...g clang++ as
well.
$ clang++ try.cpp -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
`llvm-config --cxxflags --ldflags --libs` -S -emit-llvm
gives me errors
$clang++ try.cpp -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -S
-emit-llvm
$ lli try.s
gives me Program used external function '_ZN4llvm16getGlobalContextEv'
which could not be resolved!
Thank you
On Fri, Aug 1, 2014 at 7:25 PM, Chris Cadwallader <ccadwallader at arxan.com>
wrote:
> What version of LLVM are you using? llvm-gcc was deprecated a long time
> ago, and while it doesn’t directly address your question, I suggest trying
&g...
2014 Aug 04
2
[LLVMdev] LLVM Basic Program Compilation
...rning: -lLLVMCore: 'linker' input unused
> clang: warning: -lLLVMSupport-o3: 'linker' input unused
> clang: warning: argument unused during compilation: '-L/usr/local/lib'
and when i compile the .s file with lli
i get
LLVM ERROR: Program used external function '_ZN4llvm16getGlobalContextEv'
> which could not be resolved!
Can you kindly help me resolve it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140804/e6c4f962/attachment.html>