public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/29463] New: math/test-float128-y1 fails on x86_64
@ 2022-08-09 10:48 michael.hudson at canonical dot com
  2022-08-09 22:29 ` [Bug math/29463] " michael.hudson at canonical dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: michael.hudson at canonical dot com @ 2022-08-09 10:48 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29463

            Bug ID: 29463
           Summary: math/test-float128-y1 fails on x86_64
           Product: glibc
           Version: 2.36
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: michael.hudson at canonical dot com
  Target Milestone: ---

Building glibc 2.36 on Ubuntu 22.10 using gcc 12 fails like so:

FAIL: math/test-float128-y1
original exit status 1
testing _Float128 (without inline functions)
Failure: Test: y1_downward (0x1.c1badep+0)
Result:
 is:         -2.49850711930108135145795303826944004e-01 
-0x1.ffb1bae4fa20118544b142160f5fp-3
 should be:  -2.49850711930108135145795303826943836e-01 
-0x1.ffb1bae4fa20118544b142160f58p-3
 difference:  1.68518870133883137142398069976181140e-34  
0x1.c000000000000000000000000000p-113
 ulp       :  7.0000
 max.ulp   :  5.0000
Maximal error of `y1_downward'
 is      : 7 ulp
 accepted: 5 ulp

Test suite completed:
  216 test cases plus 212 tests for exception flags and
    212 tests for errno executed.
  2 errors occurred.

I'm reasonably confident but not yet certain that building with gcc 11 works. I
see that fedora 37 built glibc 2.36 with gcc 12 without hitting this issue, so
it's possible it's the result of some Ubuntu-specific gcc issue but I'm not
really sure.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug math/29463] math/test-float128-y1 fails on x86_64
  2022-08-09 10:48 [Bug math/29463] New: math/test-float128-y1 fails on x86_64 michael.hudson at canonical dot com
@ 2022-08-09 22:29 ` michael.hudson at canonical dot com
  2022-08-09 22:32 ` michael.hudson at canonical dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: michael.hudson at canonical dot com @ 2022-08-09 22:29 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29463

--- Comment #1 from Michael Hudson-Doyle <michael.hudson at canonical dot com> ---
Turns out compiling just math/e_j1f128.os with gcc 11 is enough to make this
failure go away. So probably a gcc issue indeed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug math/29463] math/test-float128-y1 fails on x86_64
  2022-08-09 10:48 [Bug math/29463] New: math/test-float128-y1 fails on x86_64 michael.hudson at canonical dot com
  2022-08-09 22:29 ` [Bug math/29463] " michael.hudson at canonical dot com
@ 2022-08-09 22:32 ` michael.hudson at canonical dot com
  2022-08-10 21:14 ` michael.hudson at canonical dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: michael.hudson at canonical dot com @ 2022-08-09 22:32 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29463

--- Comment #2 from Michael Hudson-Doyle <michael.hudson at canonical dot com> ---
Compiling just math/e_j1f128.os with gcc 12 and -O2 rather than -O3 also fixes
this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug math/29463] math/test-float128-y1 fails on x86_64
  2022-08-09 10:48 [Bug math/29463] New: math/test-float128-y1 fails on x86_64 michael.hudson at canonical dot com
  2022-08-09 22:29 ` [Bug math/29463] " michael.hudson at canonical dot com
  2022-08-09 22:32 ` michael.hudson at canonical dot com
@ 2022-08-10 21:14 ` michael.hudson at canonical dot com
  2022-10-24 14:01 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: michael.hudson at canonical dot com @ 2022-08-10 21:14 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29463

--- Comment #3 from Michael Hudson-Doyle <michael.hudson at canonical dot com> ---
I filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106574 although at this
point it's not clear where the issue is.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug math/29463] math/test-float128-y1 fails on x86_64
  2022-08-09 10:48 [Bug math/29463] New: math/test-float128-y1 fails on x86_64 michael.hudson at canonical dot com
                   ` (2 preceding siblings ...)
  2022-08-10 21:14 ` michael.hudson at canonical dot com
@ 2022-10-24 14:01 ` cvs-commit at gcc dot gnu.org
  2022-10-24 15:32 ` adhemerval.zanella at linaro dot org
  2022-10-24 18:57 ` cvs-commit at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-10-24 14:01 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29463

--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tulio Magno Quites Machado Filho
<tuliom@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b6e37b7805b0182c3e25cdab39ebf5f001c04d05

commit b6e37b7805b0182c3e25cdab39ebf5f001c04d05
Author: Michael Hudson-Doyle <michael.hudson@canonical.com>
Date:   Mon Aug 22 14:05:04 2022 +1200

    Fix BZ #29463 in the ibm128 implementation of y1l too

    Avoid moving code across SET_RESTORE_ROUNDL in order to fix
    [BZ #29463].

    Tested-by: Aurelien Jarno <aurelien@aurel32.net>
    Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
    Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug math/29463] math/test-float128-y1 fails on x86_64
  2022-08-09 10:48 [Bug math/29463] New: math/test-float128-y1 fails on x86_64 michael.hudson at canonical dot com
                   ` (3 preceding siblings ...)
  2022-10-24 14:01 ` cvs-commit at gcc dot gnu.org
@ 2022-10-24 15:32 ` adhemerval.zanella at linaro dot org
  2022-10-24 18:57 ` cvs-commit at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2022-10-24 15:32 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29463

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.37
                 CC|                            |adhemerval.zanella at linaro dot o
                   |                            |rg

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug math/29463] math/test-float128-y1 fails on x86_64
  2022-08-09 10:48 [Bug math/29463] New: math/test-float128-y1 fails on x86_64 michael.hudson at canonical dot com
                   ` (4 preceding siblings ...)
  2022-10-24 15:32 ` adhemerval.zanella at linaro dot org
@ 2022-10-24 18:57 ` cvs-commit at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-10-24 18:57 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29463

--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.36/master branch has been updated by Aurelien Jarno
<aurel32@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b357157361117182c7a68c90fda7ba431b64442c

commit b357157361117182c7a68c90fda7ba431b64442c
Author: Michael Hudson-Doyle <michael.hudson@canonical.com>
Date:   Mon Aug 22 14:05:04 2022 +1200

    Fix BZ #29463 in the ibm128 implementation of y1l too

    Avoid moving code across SET_RESTORE_ROUNDL in order to fix
    [BZ #29463].

    Tested-by: Aurelien Jarno <aurelien@aurel32.net>
    Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
    Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
    (cherry picked from commit b6e37b7805b0182c3e25cdab39ebf5f001c04d05)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-24 18:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09 10:48 [Bug math/29463] New: math/test-float128-y1 fails on x86_64 michael.hudson at canonical dot com
2022-08-09 22:29 ` [Bug math/29463] " michael.hudson at canonical dot com
2022-08-09 22:32 ` michael.hudson at canonical dot com
2022-08-10 21:14 ` michael.hudson at canonical dot com
2022-10-24 14:01 ` cvs-commit at gcc dot gnu.org
2022-10-24 15:32 ` adhemerval.zanella at linaro dot org
2022-10-24 18:57 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).