Bug 1431566

Summary: make check hangs on arm
Product: [Fedora] Fedora Reporter: Tom Stellard <tstellar>
Component: llvmAssignee: Tom Stellard <tstellar>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: ajax, bos, davejohansen, dmalcolm, fweimer, jistone, petersen, scottt.tw, tstellar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-05 14:40:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 245418    
Attachments:
Description Flags
Work around make check hangs on ARM none

Description Tom Stellard 2017-03-13 09:57:51 UTC
These make check hangs when run on arm:

test/ExecutionEngine/MCJIT/eh-lg-pic.ll
test/ExecutionEngine/MCJIT/eh-sm-pic.ll
test/ExecutionEngine/MCJIT/multi-module-eh-a.ll
test/ExecutionEngine/MCJIT/eh.ll

This is not a problem on f25.  My guess is that this is triggered by a change in libstdc++, since these test JIT code which call the low-level c++ exception handling routines.

Comment 1 Tom Stellard 2017-03-13 23:08:01 UTC
Created attachment 1262713 [details]
Work around make check hangs on ARM

There are more hanging tests than listed above.  Every test in test/ExecutionEngine with 'XFAIL: arm' hangs.  This patch removes those tests on ARM builds.

Comment 2 Fedora Update System 2017-03-14 11:20:35 UTC
llvm-3.9.1-5.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d1e1a00b8e

Comment 3 Fedora Update System 2017-03-14 22:58:16 UTC
clang-3.9.1-1.fc26 compiler-rt-3.9.1-1.fc26 lldb-3.9.1-2.fc26 llvm-3.9.1-5.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d1e1a00b8e

Comment 4 Fedora Update System 2017-03-15 04:23:05 UTC
clang-3.9.1-1.fc26, compiler-rt-3.9.1-1.fc26, lldb-3.9.1-2.fc26, llvm-3.9.1-5.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d1e1a00b8e

Comment 5 Florian Weimer 2017-03-20 10:59:05 UTC
(In reply to Tom Stellard from comment #0)
> These make check hangs when run on arm:
> 
> test/ExecutionEngine/MCJIT/eh-lg-pic.ll
> test/ExecutionEngine/MCJIT/eh-sm-pic.ll
> test/ExecutionEngine/MCJIT/multi-module-eh-a.ll
> test/ExecutionEngine/MCJIT/eh.ll
> 
> This is not a problem on f25.  My guess is that this is triggered by a
> change in libstdc++, since these test JIT code which call the low-level c++
> exception handling routines.

A libstdc++ change seems rather unlikely.  You wrote elsewhere that these tests call __cxa_begin_catch directly, but that in itself should not cause any issues because these functions are part of the ABI, so their behavior is tightly regulated.

Have you been able to capture any backtraces from the hang?  It could be TLS initialization changes which caused this (depending on what the test actually does).

Comment 6 Fedora Update System 2017-04-01 17:05:05 UTC
clang-3.9.1-1.fc26, compiler-rt-3.9.1-1.fc26, lldb-3.9.1-2.fc26, llvm-3.9.1-5.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Jan Kurik 2017-08-15 07:54:11 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 8 Fedora Update System 2018-03-28 04:38:17 UTC
llvm-5.0.1-6.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ec27b84fde

Comment 9 Fedora Update System 2018-03-29 00:43:35 UTC
llvm-5.0.1-6.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-ec27b84fde

Comment 10 Fedora Update System 2018-03-30 13:56:05 UTC
llvm-5.0.1-6.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2018-04-02 17:19:20 UTC
clang-6.0.0-5.fc28 lldb-6.0.0-3.fc28 llvm-6.0.0-11.fc28 mesa-18.0.0-2.fc28.1 pocl-1.1-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-02c4091319

Comment 12 Fedora Update System 2018-04-03 15:57:36 UTC
clang-6.0.0-5.fc28, lldb-6.0.0-3.fc28, llvm-6.0.0-11.fc28, mesa-18.0.0-2.fc28.1, pocl-1.1-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-02c4091319

Comment 13 Fedora Update System 2018-04-03 23:26:04 UTC
clang-6.0.0-5.fc28 lldb-6.0.0-3.fc28 llvm-6.0.0-11.fc28 mesa-18.0.0-3.fc28 pocl-1.1-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-02c4091319

Comment 14 Fedora Update System 2018-04-04 18:35:35 UTC
clang-6.0.0-5.fc28, lldb-6.0.0-3.fc28, llvm-6.0.0-11.fc28, mesa-18.0.0-3.fc28, pocl-1.1-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-02c4091319

Comment 15 Fedora Update System 2018-04-05 11:48:13 UTC
clang-6.0.0-5.fc28, lldb-6.0.0-3.fc28, llvm-6.0.0-11.fc28, mesa-18.0.0-3.fc28, pocl-1.1-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.