[LLVMdev] (Newbie) Using lli with clang++?
Christopher Jones
chrisjones.lambda at gmail.com
Thu Mar 1 21:38:44 PST 2012
I'm using 3.1 for both Clang and LLVM:
$ lli -version
LLVM version 3.1svn
DEBUG build with assertions.
Built Feb 29 2012 (17:54:38).
Default target: x86_64-unknown-linux-gnu
$ clang -v
clang version 3.1 (3edf02f66d339a3ae6d06aeb96c78d9089b53bc1)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Thanks,
Chris
On Mar 1, 2012, at 10:50 PM, 陳韋任 wrote:
>> $ clang++ -O3 -emit-llvm hello.cpp -c -o hello.bc
>> $ lli hello.bc
>> LLVM ERROR: Program used external function
>> '_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l'
>> which could not be resolved!
>
> What version of LLVM and Clang you are using? I have no such problem
> on my machine.
>
> Regards,
> chenwj
>
> --
> Wei-Ren Chen (陳韋任)
> Computer Systems Lab, Institute of Information Science,
> Academia Sinica, Taiwan (R.O.C.)
> Tel:886-2-2788-3799 #1667
> Homepage: http://people.cs.nctu.edu.tw/~chenwj
More information about the llvm-dev
mailing list