<div>Hi,</div>
<div> </div>
<div>Sorry for the newbie question. I downloaded llvm 1.8a and llvm-gcc3.4-binary, tried out the simple cpp program like this:</div>
<div>#include <iostream></div>
<div>using std::cout;</div>
<div>using std::endl;</div>
<div> </div>
<div>int main()</div>
<div>{</div>
<div>cout << "Hello World" << endl;</div>
<div>return 0;</div>
<div>}</div>
<div> </div>
<div>but got the following error:</div>
<div>lli((anonymous namespace)::PrintStackTrace()+0x15)[0x85c4d85]</div>
<div>lli(llvm::JIT::runFunction(llvm::Function*, std::vector<llvm::GenericValue, std::allocator<llvm::GenericValue> > const&)+0x3d0)[0x81bcce0]</div>
<div>Segmentation fault</div>
<div> </div>
<div>My system is Debian-31r2 linux 2.6.8-2-686-smp and gcc version 3.4.4</div>
<div> </div>
<div>Thanks</div>
<div>Arthur.</div>