<div dir="ltr">On 9 August 2013 13:16, Renato Golin <span dir="ltr"><<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="im"><a href="http://lab.llvm.org:8011/builders/clang-native-arm-cortex-a9/builds/10352" target="_blank">http://lab.llvm.org:8011/builders/clang-native-arm-cortex-a9/builds/10352</a><br>
</div><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Seems to be a segfault in lli, any ideas?</div></div></div></div></blockquote><div><br></div><div>Hi Machael,</div><div><br></div><div>Looks like an error on the way it's resolving the ARM relocations on MCJIT for the global constructors:</div>
<div><br></div><div><div>Program received signal SIGSEGV, Segmentation fault.</div><div>0x002c6e06 in llvm::RuntimeDyldELF::resolveARMRelocation(llvm::SectionEntry const&, unsigned long long, unsigned int, unsigned int, int) ()</div>
<div>(gdb) bt</div><div>#0 0x002c6e06 in llvm::RuntimeDyldELF::resolveARMRelocation(llvm::SectionEntry const&, unsigned long long, unsigned int, unsigned int, int) ()</div><div>#1 0x002c76f0 in llvm::RuntimeDyldELF::resolveRelocation(llvm::RelocationEntry const&, unsigned long long) ()</div>
<div>#2 0x002c204e in llvm::RuntimeDyldImpl::resolveRelocationList(llvm::SmallVector<llvm::RelocationEntry, 64u> const&, unsigned long long) ()</div><div>#3 0x002c471e in llvm::RuntimeDyldImpl::resolveRelocations() ()</div>
<div>#4 0x00050124 in llvm::MCJIT::loadObject(llvm::Module*) ()</div><div>#5 0x00050478 in llvm::MCJIT::finalizeObject() ()</div><div>#6 0x0003fd56 in main ()</div></div><div></div></div><br></div><div class="gmail_extra">
I'll compile it with debug symbols and see what's up.</div><div class="gmail_extra"><br></div><div class="gmail_extra">cheers,</div><div class="gmail_extra">--renato</div></div>