<div dir="ltr">Hi folks,<div><br></div><div style>Three MCJIT tests are failing on both our buildbots (check-all and self-host) and I'm not sure what's the best way to fix it.</div><div style><br></div><div style>Some test passes, some not on { A9, A15 } x { Ubuntu 12.10, Ubuntu 12.04 }, the error is:</div>
<div style><br></div><div style><div>lli: /home/user/devel/llvm/src/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp:307: void llvm::RuntimeDyldELF::resolveARMRelocation(const llvm::SectionEntry&, uint64_t, uint32_t, uint32_t, int32_t): Assertion `(*TargetPtr & 0x000F0FFF) == 0' failed.</div>
<div>Stack dump:</div><div>0.<span class="" style="white-space:pre"> </span>Program arguments: /home/user/devel/llvm/build/bin//lli -use-mcjit -remote-mcjit /home/user/devel/llvm/src/test/ExecutionEngine/MCJIT/test-global-init-nonzero-remote.ll </div>
<div><br></div><div style>Since the test is marked as XFAIL on ARM, I suspect this is expected, and I'm surprised that it stopped failing on some runs and not others. Are they meant to be supported? Are they meant to be passing? Failing?</div>
<div style><br></div><div style>Most tests pass, and I understand MCJIT is being worked on for ARM, so there's no reason to mark the whole directory unsupported on ARM, but would be good if the flaky behaviour was marked unsupported until properly investigated.</div>
<div style><br></div><div style>I tried to add "UNSUPPORTED: arm" according to the docs, but it seems it's not making much difference. Any ideas? Should we move the "remote" tests to their own directory and mark that as unsupported? But, to be honest, if it's easy to fix, I'd rather someone fixed it for good.</div>
<div style><br></div><div style>Thanks,</div><div style>--renato</div></div></div>