Hi, I got multiple failures on PowerPC64, crashes are the same: [ 1346s] 0 lli 0x00000000107bca00 [ 1346s] 1 lli 0x00000000107bcd14 [ 1346s] 2 lli 0x00000000107bcfb8 [ 1346s] 3 linux-vdso64.so.1 0x00000fff850f0418 __kernel_sigtramp_rt64 + 0 [ 1346s] 4 lli 0x00000000100bdc98 [ 1346s] 5 lli 0x00000000102f40d0 [ 1346s] 6 lli 0x00000000100180f4 [ 1346s] 7 libc.so.6 0x00000fff84c357ac [ 1346s] 8 libc.so.6 0x00000fff84c359d4 __libc_start_main + 4293391356 The following tests fail: LLVM :: ExecutionEngine/test-common-symbols.ll LLVM :: ExecutionEngine/test-constantexpr.ll LLVM :: ExecutionEngine/test-fp-no-external-funcs.ll LLVM :: ExecutionEngine/test-fp.ll LLVM :: ExecutionEngine/test-global-init-nonzero.ll LLVM :: ExecutionEngine/test-global.ll LLVM :: ExecutionEngine/test-interp-vec-arithm_float.ll LLVM :: ExecutionEngine/test-interp-vec-arithm_int.ll LLVM :: ExecutionEngine/test-interp-vec-loadstore.ll LLVM :: ExecutionEngine/test-interp-vec-logical.ll LLVM :: ExecutionEngine/test-interp-vec-setcond-fp.ll LLVM :: ExecutionEngine/test-interp-vec-setcond-int.ll LLVM :: ExecutionEngine/test-loadstore.ll LLVM :: ExecutionEngine/test-local.ll LLVM :: ExecutionEngine/test-logical.ll LLVM :: ExecutionEngine/test-loop.ll LLVM :: ExecutionEngine/test-phi.ll LLVM :: ExecutionEngine/test-ret.ll LLVM :: ExecutionEngine/test-return.ll LLVM :: ExecutionEngine/test-setcond-fp.ll LLVM :: ExecutionEngine/test-setcond-int.ll LLVM :: ExecutionEngine/test-shift.ll Any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130713/fbd1dcc4/attachment.html>
Hi,> LLVM :: ExecutionEngine/test-shift.ll > > Any ideas?Those tests are for the old JIT, and shouldn't be run at all on PowerPC. The host_arch field in your lit.site.cfg (somewhere in the build directory) is probably being set incorrectly. I've seen this when LLVM is cross-compiled with CMake before. I had to set CMAKE_SYSTEM_PROCESSOR in my toolchain file (in your case to "PowerPC"). But your situation could be completely different, of course. So are you using autotools or CMake? And with what options? Cheers. Tim.
Hi, On Sat, Jul 13, 2013 at 6:03 PM, Tim Northover <t.p.northover at gmail.com>wrote:> Hi, > > > LLVM :: ExecutionEngine/test-shift.ll > > > > Any ideas? > > Those tests are for the old JIT, and shouldn't be run at all on > PowerPC. The host_arch field in your lit.site.cfg (somewhere in the > build directory) is probably being set incorrectly. > > I've seen this when LLVM is cross-compiled with CMake before. I had to > set CMAKE_SYSTEM_PROCESSOR in my toolchain file (in your case to > "PowerPC"). But your situation could be completely different, of > course. > > So are you using autotools or CMake? And with what options? >Using cmake, looks like it sets host_arch as ppc64 and hence the lit fails to parse it as PowerPC I guess. Will do more debugging and report. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130714/47b9e00b/attachment.html>