Bug 1920533
Summary: | DWARF5 (probably) breaks Ruby on armv7hl + ppc64le | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> |
Component: | ruby | Assignee: | Vít Ondruch <vondruch> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 34 | CC: | aoliva, dmalcolm, fweimer, jakub, joe, jwakely, law, mjw, mo, mpolacek, msebor, mtasaka, nickc, pvalena, ruby-packagers-sig, sipoyare, s, strzibny, vanmeeuwen+fedora, vondruch |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ruby-3.0.0-146.fc35 ruby-3.0.0-146.eln110 ruby-3.0.0-146.fc34 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-03-03 11:08:21 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: |
Description
Vít Ondruch
2021-01-26 13:50:35 UTC
If ruby has its own DWARF reader and that reader doesn't understand DWARF5, then that support should be added, it isn't that hard. DWARF5 has been published in February 2017, so almost 4 years ago, it is nothing really new. Unless you have evidence that this is caused by incorrect DWARF5 produced from the GCC side, I don't see what can be done on the GCC side, we are not going to switch back to DWARF4 because of this. Is there a way to switch Ruby back to DWARF4? And why there should be issues just on two platforms? You can use -gdwarf-4 instead of -g to force DWARF4. But the system libraries will be still using DWARF5 and so will e.g. libgcc etc. that might be linked into the libraries or binaries. I think trying the -gdwarf-4 is probably worth the effort to try. As long as the Ruby stack doesn't need to unwind through system code that should restore proper behavior and give the Ruby project time to implement a complete dwarf-5 solution for the future. As to why it only fails on some architectures, there's a variety of reasons why this could be happening, but at the core I suspect that's just a red herring. dwarf-5 support is highly likely the core issue here. This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34. Might this be related to https://bugzilla.redhat.com/show_bug.cgi?id=1500863 ? (In reply to Mark Wielaard from comment #6) > Might this be related to https://bugzilla.redhat.com/show_bug.cgi?id=1500863 > ? You are right, it might. However, previously if failed occasionally, now it seems to fail deterministically. Also the platforms are different. Frankly, for Fedora/RHEL, it would be much better if the SIGSEV handler was completely removed, because such failures should be caught by ABRT instead. But I have never digged deep enough to explore this. Ruby upstream is working on DWARF5 support, therefore I move the ticket to Ruby and going to apply the patch. FEDORA-2021-e32e00afb5 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-358c6949a4 has been pushed to the Fedora ELN stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-cf72e44fc8 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-cf72e44fc8 FEDORA-2021-cf72e44fc8 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-cf72e44fc8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-cf72e44fc8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-cf72e44fc8 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-cf72e44fc8 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. |