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 1623537 - glibc: Test suite failure: math/test-ildouble-fma, math/test-ldouble-fma on ppc64le
Summary: glibc: Test suite failure: math/test-ildouble-fma, math/test-ldouble-fma on p...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: glibc
Version: 8.0
Hardware: ppc64le
OS: Linux
high
medium
Target Milestone: beta
: 8.1
Assignee: Florian Weimer
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On: 1623533 1682593
Blocks: 1684553
TreeView+ depends on / blocked
 
Reported: 2018-08-29 14:53 UTC by Florian Weimer
Modified: 2023-07-18 14:30 UTC (History)
9 users (show)

Fixed In Version: glibc-2.28-44.el8
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of: 1623533
Environment:
Last Closed: 2019-11-05 21:28:31 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:3513 0 None None None 2019-11-05 21:28:55 UTC
Sourceware 23584 0 None None None 2019-07-29 07:50:04 UTC

Description Florian Weimer 2018-08-29 14:53:12 UTC
+++ This bug was initially created as a clone of Bug #1623533 +++

The full test outputs are:

=====FAIL: math/test-ildouble-fma.out=====
testing long double (inline functions)
Failure: Test: fma_downward (inf, inf, -max_value)
Result:
 is:         qNaN
 should be:   inf   inf
Failure: Test: fma_downward (-inf, -inf, -max_value)
Result:
 is:         qNaN
 should be:   inf   inf
Failure: Test: fma_upward (inf, -inf, max_value)
Result:
 is:         qNaN
 should be:  -inf  -inf
Failure: Test: fma_upward (-inf, inf, max_value)
Result:
 is:         qNaN
 should be:  -inf  -inf
Test suite completed:
  1458 test cases plus 0 tests for exception flags and
    0 tests for errno executed.
  4 errors occurred.

=====FAIL: math/test-ldouble-fma.out=====
testing long double (without inline functions)
Failure: fma_downward (inf, inf, -max_value): Exception "Invalid operation" set
Failure: fma_downward (inf, inf, -max_value): Exception "Overflow" set
Failure: Test: fma_downward (inf, inf, -max_value)
Result:
 is:         qNaN
 should be:   inf   inf
Failure: fma_downward (inf, -inf, -max_value): Exception "Overflow" set
Failure: fma_downward (-inf, inf, -max_value): Exception "Overflow" set
Failure: fma_downward (-inf, -inf, -max_value): Exception "Invalid operation" set
Failure: fma_downward (-inf, -inf, -max_value): Exception "Overflow" set
Failure: Test: fma_downward (-inf, -inf, -max_value)
Result:
 is:         qNaN
 should be:   inf   inf
Failure: fma_upward (inf, inf, max_value): Exception "Overflow" set
Failure: fma_upward (inf, -inf, max_value): Exception "Invalid operation" set
Failure: fma_upward (inf, -inf, max_value): Exception "Overflow" set
Failure: Test: fma_upward (inf, -inf, max_value)
Result:
 is:         qNaN
 should be:  -inf  -inf
Failure: fma_upward (-inf, inf, max_value): Exception "Invalid operation" set
Failure: fma_upward (-inf, inf, max_value): Exception "Overflow" set
Failure: Test: fma_upward (-inf, inf, max_value)
Result:
 is:         qNaN
 should be:  -inf  -inf
Failure: fma_upward (-inf, -inf, max_value): Exception "Overflow" set
Test suite completed:
  1458 test cases plus 1454 tests for exception flags and
    1454 tests for errno executed.
  16 errors occurred.

Also seen on rawhide.

Comment 1 Florian Weimer 2018-09-21 17:31:23 UTC
Latest upstream update is here:

https://sourceware.org/ml/libc-alpha/2018-09/msg00409.html

There is still no patch.

Comment 2 Florian Weimer 2019-01-16 14:57:33 UTC
Upstream has XFAILed these tests in this commit:

commit ecdacd34a2ac3b6d5a529ff218b29261d9d98a7a
Author: Tulio Magno Quites Machado Filho <tuliom.com>
Date:   Mon Jan 14 17:54:44 2019 -0200

    Add XFAIL_ROUNDING_IBM128_LIBGCC to more fma() tests
    
    Ignore 112 errors in math/test-ldouble-fma and math/test-ildouble-fma
    when IBM 128-bit long double used.
    These errors are caused by spurious overflows from libgcc.
    
            * math/libm-test-fma.inc (fma_test_data): Set
            XFAIL_ROUNDING_IBM128_LIBGCC to more tests.

Comment 3 Tulio Magno Quites Machado Filho 2019-01-16 18:04:38 UTC
A reduced version of the 2.29 patch was backported to glibc 2.28 as commit:

commit b297581acb66f80b513996c1580158b0fb12d469
Author: Tulio Magno Quites Machado Filho <tuliom.com>
Date:   Mon Jan 14 17:54:44 2019 -0200

    Add XFAIL_ROUNDING_IBM128_LIBGCC to more fma() tests
    
    Ignore 16 errors in math/test-ldouble-fma and 4 errors in
    math/test-ildouble-fma when IBM 128-bit long double used.
    These errors are caused by spurious overflows from libgcc.
    
            * math/libm-test-fma.inc (fma_test_data): Set
            XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
    
    Signed-off-by: Tulio Magno Quites Machado Filho <tuliom.com>
    (cherry picked from commit ecdacd34a2ac3b6d5a529ff218b29261d9d98a7a)

Comment 6 Sergey Kolosov 2019-04-30 12:39:47 UTC
Verified,

math/test-ildouble-fma, math/test-ldouble-fma tests pass in glibc-2.28-44.el8

Comment 8 errata-xmlrpc 2019-11-05 21:28:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:3513


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