<font color='black' size='2' face='arial'>
<div style="font-family: arial,helvetica; font-size: 10pt; color: black;">
<div id="AOLMsgPart_2_720fe648-8036-40ef-bc33-7ab358161c84">
<font face="arial" size="2" color="black">>>>>> I am using GCC 4.3.2 ( Debian 4.3.2-1.1) on x86. I will try out a different compiler.<br>
<br>
I tried out Sourcery G++ Lite 2009q1-203 (GCC 4.3.3). I still can't get lli to run. This time the error is like this:<br>
<br>
0 lli 0x00651128<br>
1 lli 0x00651960<br>
2 libc.so.6 0x40212600 __default_sa_restorer_v1 + 0<br>
3 lli 0x00282ef0<br>
4 lli 0x00283cec llvm::SelectionDAG::LegalizeTypes() + 608<br>
5 lli 0x00233a10 llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 2944<br>
6 lli 0x0023459c llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*, llvm::ilist_iterator<llvm::Instruction>, llvm::ilist_iterator<llvm::Instruction>, bool&) + 352<br>
7 lli 0x00236960 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function&, llvm::MachineFunction&, llvm::MachineModuleInfo*, llvm::DwarfWriter*, llvm::TargetInstrInfo const&) + 780<br>
8 lli 0x00237c4c llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 416<br>
9 lli 0x0035ce3c llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 52<br>
10 lli 0x005d979c llvm::FPPassManager::runOnFunction(llvm::Function&) + 512<br>
11 lli 0x005d9934 llvm::FunctionPassManagerImpl::run(llvm::Function&) + 100<br>
12 lli 0x005d9b9c llvm::FunctionPassManager::run(llvm::Function&) + 108<br>
13 lli 0x00306e7c llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard const&) + 44<br>
14 lli 0x00307a40 llvm::JIT::getPointerToFunction(llvm::Function*) + 452<br>
15 lli 0x00308d34 llvm::JIT::runFunction(llvm::Function*, std::vector<llvm::GenericValue, std::allocator<llvm::GenericValue> > const&) + 68<br>
16 lli 0x00322330 llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*, std::vector<std::string, std::allocator<std::string> > const&, char const* const*) + 364<br>
17 lli 0x000ebaf8 main + 1488<br>
18 libc.so.6 0x401fbfd4 __libc_start_main + 288<br>
Stack dump:<br>
0. Program arguments: /arm-linux-2.7/bin/lli -march=arm /twofunctions.bc <br>
1. Running pass 'ARM Instruction Selection' on function '@main'<br>
Segmentation fault<br>
<br>
<br>
How do I make this go away? Please could someone point in the right direction.<br>
<br>
Thanks<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</font>
</div>
<!-- end of AOLMsgPart_2_720fe648-8036-40ef-bc33-7ab358161c84 -->
</div>
</font>