impala-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Armstrong (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IMPALA-3390) Get llvm-codegen-test passing on PPC64LE
Date Mon, 12 Jun 2017 21:07:00 GMT

     [ https://issues.apache.org/jira/browse/IMPALA-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tim Armstrong resolved IMPALA-3390.
-----------------------------------
    Resolution: Won't Fix

Closing for now since it's unassigned and fairly narrow.

> Get llvm-codegen-test passing on PPC64LE
> ----------------------------------------
>
>                 Key: IMPALA-3390
>                 URL: https://issues.apache.org/jira/browse/IMPALA-3390
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Backend
>    Affects Versions: Impala 2.5.0
>         Environment: Ubuntu 15.10 PPC64LE
>            Reporter: Nishidha
>            Priority: Minor
>         Attachments: ImpalaLinkingError.txt
>
>
> LLVM has been upgraded locally to 3.7 as 3.3 is not supported on PPC64LE.
> After upgrading to LLVM 3.7, llvm-codegen-test (ReplaceFnCall) is failing. 
> As per comments in this test, this test loads a precompiled IR file (compiled from testdata/llvm/test-loop.cc).
I see this precompiled IR file at Impala/llvm-ir/test-loop.bc.
> I think I need to recreate this test-loop.bc on POWER as the one checked-into cdh5-trunk
branch is for x86. I did it as below -
>  ----   clang -O3 -emit-llvm test-loop.cc -c -o test-loop.bc
> Please let me know if I did it correctly.
> Then real failure I got is 
> [ RUN      ] LlvmCodeGenTest.ReplaceFnCall
> *** Check failure stack trace: ***
>     @         0x1298962c  google::LogMessage::Fail()
>     @         0x1298c7ec  google::LogMessage::SendToLog()
>     @         0x12988fc4  google::LogMessage::Flush()
>     @         0x1298d364  google::LogMessageFatal::~LogMessageFatal()
>     @         0x10db0f48  impala::LlvmCodegenHandleError()
>     @         0x1288e984  llvm::report_fatal_error()
>     @         0x1288eaf8  llvm::report_fatal_error()
>     @         0x1240b3c8  llvm::MCJIT::emitObject()
>     @         0x1240bc38  llvm::MCJIT::generateCodeForModule()
>     @         0x124061e4  llvm::MCJIT::getPointerToFunction()
>     @         0x10db952c  impala::LlvmCodeGen::JitFunction()
>     @         0x10db7c50  impala::LlvmCodeGen::FinalizeModule()
>     @         0x10d9f268  impala::LlvmCodeGenTest::FinalizeModule()
>     @         0x10d94678  impala::LlvmCodeGenTest_ReplaceFnCall_Test::TestBody()
>     @     0x3fff9164d304  testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @     0x3fff916429d4  testing::Test::Run()
>     @     0x3fff91642be8  testing::TestInfo::Run()
>     @     0x3fff91642d34  testing::TestCase::Run()
>     @     0x3fff9164475c  testing::internal::UnitTestImpl::RunAllTests()
>     @     0x3fff91644b28  testing::UnitTest::Run()
>     @         0x10d95f18  main
>     @     0x3fff90e43500  (unknown)
>     @     0x3fff90e43734  (unknown)
>     @              (nil)  (unknown)
> 0% tests passed, 1 tests failed out of 1
> Total Test time (real) =   0.16 sec
> The following tests FAILED:
>           1 - llvm-codegen-test (OTHER_FAULT)
> Attached log too.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message