Bug 1101811
| Summary: | ruby stops due to illegal instruction on Athlon MP (i686) but not x86_64 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Bruno Wolff III <bruno> |
| Component: | ruby | Assignee: | Jeroen van Meeuwen <vanmeeuwen+fedora> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | rawhide | CC: | bkabrda, bruno, caillon+fedoraproject, debarshir, fedora, jstribny, lmacken, mmorsi, mtasaka, orion, s, tagoh, vanmeeuwen+fedora, vondruch |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ruby-2.1.5-26.fc21 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-01-06 06:04:07 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
Bruno Wolff III
2014-05-28 02:25:00 UTC
I am still seeing this with xchat-2.8.8-22.fc21.i686. The instruction appears to be an sse2 instruction, which shouldn't be used without making sure the cpu supports it. Since this is in a ruby library, I am going to switch the bug to there. It looks like ruby checks to see if the build host can use sse2 during configure. It shouldn't be using sse2 unless there are run time checks to make sure the sse2 path is only used on cpus that support it. This is the original reason for addition the flag: https://bugs.ruby-lang.org/issues/8358 and the backport ticket: https://bugs.ruby-lang.org/issues/9495 I reported the issue upstream: https://bugs.ruby-lang.org/issues/10120 May be we should revert the specific backport commits ... Yes, this Ruby change MUST be reverted in Fedora. Why is that still not done 2 months later? -mfpmath=sse is NOT allowed in Fedora i686 (except if you're building a separate version of the library in /usr/lib/sse2, but then you need to weigh the performance and rounding pedanticness vs. the doubled space requirement). Actually, 3½ months later, even. This is breaking puppet on i686 as well. Perhaps all ruby code? ruby-2.1.5-26.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/ruby-2.1.5-26.fc21 Package ruby-2.1.5-26.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ruby-2.1.5-26.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-17682/ruby-2.1.5-26.fc21 then log in and leave karma (feedback). I tested xchat now that I have ruby-2.1.5-26.fc22 in rawhide and things seem to be working OK. Thanks. ruby-2.1.5-26.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |