Bug 1692415
| Summary: | crash on armv7hl | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dave Love <dave.love> | ||||
| Component: | clang | Assignee: | Tom Stellard <tstellar> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | airlied, hobbes1069, sbergman, sguelton, siddharth.kde, 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: | 2019-07-29 15:40:19 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: | |||||||
| Attachments: |
|
||||||
|
Description
Dave Love
2019-03-25 14:44:40 UTC
Created attachment 1549150 [details]
Reduced test case
Here is a reduced test case. I can reproduce the crash with
clang++ reduced.cpp
Same platform, clang segfaults when trying to compile this code:
using nullptr_t = void*;
struct exception_ptr
{
void* __ptr_;
exception_ptr(nullptr_t) : __ptr_() {}
~exception_ptr() ;
friend
bool operator!=(const exception_ptr& __x, const exception_ptr& __y) ;
};
struct __assoc_sub_state
{
exception_ptr __exception_;
unsigned __state_;
bool __has_value() const
{return (__state_ & 1) || (__exception_ != nullptr);}
void set_value();
};
void
__assoc_sub_state::set_value()
{
__has_value();
}
Also happening for me trying to build PySide2 (scratch build, not yet in Fedora proper) Build log: https://kojipkgs.fedoraproject.org//work/tasks/7227/33817227/build.log Scratch build link: https://koji.fedoraproject.org/koji/taskinfo?taskID=33817222 We think this is fixed now with clang-8.0.0-2.fc31, can you try building again? Apologies that I never tried this again. It is indeed fixed. |