This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2142110 - dgels gives wrong result on aarch64 (RHEL 9)
Summary: dgels gives wrong result on aarch64 (RHEL 9)
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: openblas
Version: CentOS Stream
Hardware: aarch64
OS: Linux
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Matej Mužila
QA Contact: RHEL CS Apps Subsystem QE
URL:
Whiteboard:
Depends On: 2112099
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-11 16:04 UTC by Mattias Ellert
Modified: 2023-09-20 15:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-20 15:45:51 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Test program (15.19 KB, text/x-csrc)
2022-11-11 16:04 UTC, Mattias Ellert
no flags Details
Output of the test program when it fails (9.46 KB, text/plain)
2022-11-11 16:06 UTC, Mattias Ellert
no flags Details
Output of the test program when it succeeds (11.30 KB, text/plain)
2022-11-11 16:07 UTC, Mattias Ellert
no flags Details
Fix for the bug from upstream's git repository. (899 bytes, patch)
2022-11-19 02:06 UTC, Mattias Ellert
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-5517 0 None Migrated None 2023-09-20 15:45:44 UTC
Red Hat Issue Tracker RHELPLAN-139198 0 None None None 2022-11-11 16:16:03 UTC

Description Mattias Ellert 2022-11-11 16:04:55 UTC
Created attachment 1923800 [details]
Test program

Description of problem:

The attached test program fails on aarch64 on RHEL 8 and 9.
The failure in not present on other architectures.
It is not present on Fedora 36 and Fedora Rawhide on any architecture including aarch64.


Version-Release number of selected component (if applicable):

Failure seen with:

gcc-8.5.0-17.el8.aarch64
openblas-devel-0.3.15-4.el8.aarch64

gcc-11.3.1-2.1.el9.aarch64
openblas-devel-0.3.15-3.el9.aarch64

No failure seen with:

gcc-8.5.0-17.el8.x86_64
openblas-devel-0.3.15-4.el8.x86_64

gcc-11.3.1-2.1.el9.x86_64
openblas-devel-0.3.15-3.el9.x86_64

gcc-12.2.1-2.fc36.aarch64
openblas-devel-0.3.19-3.fc36.aarch64

gcc-12.2.1-2.fc36.x86_64
openblas-devel-0.3.19-3.fc36.x86_64

gcc-12.2.1-3.fc38.aarch64
openblas-devel-0.3.21-3.fc38.aarch64

gcc-12.2.1-3.fc38.x86_64
openblas-devel-0.3.21-3.fc38.x86_64


How reproducible:

Always on RHEL 8 aarch64 and RHEL 9 aarch64

Steps to Reproduce:
1. Compile the test program: gcc -o test test.c -lopenblaso
2. Run the test program: ./test

Actual results:

On RHEL 8 aarch64 and RHEL 9 aarch64 the 2nd and 3rd row of the matrix a[200] - a[599] consists of inf and nan:

a[200] = -inf;
a[201] = nan;
a[202] = -nan;
a[203] = -nan;

Expected results:

No inf and nan:

a[200] = -0.433977;
a[201] = 9.420676;
a[202] = -0.000003;
a[203] = 0.021688;


Additional info:

This causes build failures for the R-qtl package in EPEL 8 and EPEL 9

Comment 1 Mattias Ellert 2022-11-11 16:06:46 UTC
Created attachment 1923802 [details]
Output of the test program when it fails

Comment 2 Mattias Ellert 2022-11-11 16:07:55 UTC
Created attachment 1923804 [details]
Output of the test program when it succeeds

Comment 3 Mattias Ellert 2022-11-11 16:10:48 UTC
This bug was filed for RHEL 9. See bug 2142109 for the corresponding bug filed for RHEL 8.

Comment 4 Mattias Ellert 2022-11-19 02:06:27 UTC
Created attachment 1925551 [details]
Fix for the bug from upstream's git repository.

Backporting the attached commit fizes the bug.

Comment 5 Matej Mužila 2022-12-05 12:24:26 UTC
Thank you for your request, test case and solution. We are working on the fix. It will probably be fixed by update to version 0.3.21 that already contains the upstream commit 9d292d37b2cea829763f8f6bf8e5f4053bbf2a00.

Comment 6 Mattias Ellert 2023-05-10 03:22:47 UTC
Fixed in openblas-0.3.21-2.el9 (RHEL 9.2)

Comment 7 RHEL Program Management 2023-09-20 15:44:51 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 8 RHEL Program Management 2023-09-20 15:45:51 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.


Note You need to log in before you can comment on or make changes to this bug.