public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/103735] New: [12 Regression] Extra glibc "make check" failures
@ 2021-12-15 14:32 hjl.tools at gmail dot com
  2021-12-15 19:47 ` [Bug middle-end/103735] " pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2021-12-15 14:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103735

            Bug ID: 103735
           Summary: [12 Regression] Extra glibc "make check" failures
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: crazylht at gmail dot com, joseph at codesourcery dot com
  Target Milestone: ---

With GCC master branch:

commit aeedb00a1ae2ccd10b1a5f00ff466081aeadb54b
Author: Roger Sayle <roger@nextmovesoftware.com>
Date:   Thu Dec 9 10:45:28 2021 +0100

    nvptx: Add (experimental) support for HFmode with -misa=sm_53

I got

FAIL: elf/tst-env-setuid
FAIL: math/test-float-clog10
FAIL: math/test-float-cos
FAIL: math/test-float-j0
FAIL: math/test-float-jn
FAIL: math/test-float-sin
FAIL: math/test-float-sincos
FAIL: math/test-float-y0
FAIL: math/test-float-y1
FAIL: math/test-float-yn
FAIL: math/test-float32-clog10
FAIL: math/test-float32-cos
FAIL: math/test-float32-j0
FAIL: math/test-float32-jn
FAIL: math/test-float32-sin
FAIL: math/test-float32-sincos
FAIL: math/test-float32-y0
FAIL: math/test-float32-y1
FAIL: math/test-float32-yn

in "make check" failures on glibc master branch on x86-64.  Some of failures
are

testing float (without inline functions)
Failure: cos (qNaN): Exception "Inexact" set
Failure: cos (-qNaN): Exception "Inexact" set
Failure: cos_downward (qNaN): Exception "Inexact" set
Failure: cos_downward (-qNaN): Exception "Inexact" set
Failure: cos_towardzero (qNaN): Exception "Inexact" set
Failure: cos_towardzero (-qNaN): Exception "Inexact" set
Failure: cos_upward (qNaN): Exception "Inexact" set
Failure: cos_upward (-qNaN): Exception "Inexact" set

GCC 11:

[hjl@gnu-skx-1 build-x86_64-linux]$ env
GCONV_PATH=/export/build/gnu/tools-build/glibc-cet/build-x86_64-linux/iconvdata
LOCPATH=/export/build/gnu/tools-build/glibc-cet/build-x86_64-linux/localedata
LC_ALL=C MALLOC_CHECK_=2 MALLOC_MMAP_THRESHOLD_=4096 LD_HWCAP_MASK=0x1
/export/build/gnu/tools-build/glibc-cet/build-x86_64-linux/elf/tst-env-setuid
error: tst-env-setuid.c:99: SGID failed: GID and EGID match (1000)

[hjl@gnu-skx-1 build-x86_64-linux]$ echo $?
77

GCC 12:

[hjl@gnu-skx-1 build-x86_64-linux]$ env
GCONV_PATH=/export/build/gnu/tools-build/glibc-cet/build-x86_64-linux/iconvdata
LOCPATH=/export/build/gnu/tools-build/glibc-cet/build-x86_64-linux/localedata
LC_ALL=C MALLOC_CHECK_=2 MALLOC_MMAP_THRESHOLD_=4096 LD_HWCAP_MASK=0x1
/export/build/gnu/tools-build/glibc-test/build-x86_64-linux/elf/tst-env-setuid
Segmentation fault (core dumped)
[hjl@gnu-skx-1 build-x86_64-linux]$ 

(gdb) set env MALLOC_CHECK_=2
(gdb) r --direct
Starting program:
/export/build/gnu/tools-build/glibc-test/build-x86_64-linux/elf/tst-env-setuid
--direct

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7f67053 in do_tunable_update_val (cur=cur@entry=0xffffefefe7f0,
valp=valp@entry=0x7fffffffdd38, minp=minp@entry=0x0, maxp=maxp@entry=0x0) at
dl-tunables.c:102
102       if (cur->type.type_code == TUNABLE_TYPE_STRING)
(gdb) bt
#0  0x00007ffff7f67053 in do_tunable_update_val (cur=cur@entry=0xffffefefe7f0, 
    valp=valp@entry=0x7fffffffdd38, minp=minp@entry=0x0, maxp=maxp@entry=0x0)
    at dl-tunables.c:102
#1  0x00007ffff7f6733c in tunable_initialize (strval=0x7fffffffefa7 "2", 
    cur=<optimized out>) at dl-tunables.c:151
#2  __tunables_init (envp=0x7fffffffe058) at dl-tunables.c:349
#3  0x00007ffff7f15f67 in __libc_start_main_impl (main=0x7ffff7f128f0 <main>, 
    argc=2, argv=0x7fffffffdea8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=0x0, stack_end=0x7fffffffde98) at ../csu/libc-start.c:291
#4  0x00007ffff7f129c5 in _start () at ../sysdeps/x86_64/start.S:115
(gdb)

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

* [Bug middle-end/103735] [12 Regression] Extra glibc "make check" failures
  2021-12-15 14:32 [Bug c/103735] New: [12 Regression] Extra glibc "make check" failures hjl.tools at gmail dot com
@ 2021-12-15 19:47 ` pinskia at gcc dot gnu.org
  2021-12-16 14:20 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-15 19:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103735

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0
           Keywords|                            |wrong-code
          Component|c                           |middle-end

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

* [Bug middle-end/103735] [12 Regression] Extra glibc "make check" failures
  2021-12-15 14:32 [Bug c/103735] New: [12 Regression] Extra glibc "make check" failures hjl.tools at gmail dot com
  2021-12-15 19:47 ` [Bug middle-end/103735] " pinskia at gcc dot gnu.org
@ 2021-12-16 14:20 ` hjl.tools at gmail dot com
  2021-12-16 18:15 ` [Bug middle-end/103735] [12 Regression] Extra glibc "make check" failures by r12-4764 hjl.tools at gmail dot com
  2021-12-27 13:40 ` hjl.tools at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2021-12-16 14:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103735

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-12-16
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
The glibc patch:

https://sourceware.org/pipermail/libc-alpha/2021-December/134254.html

fixed:

FAIL: elf/tst-env-setuid

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

* [Bug middle-end/103735] [12 Regression] Extra glibc "make check" failures by r12-4764
  2021-12-15 14:32 [Bug c/103735] New: [12 Regression] Extra glibc "make check" failures hjl.tools at gmail dot com
  2021-12-15 19:47 ` [Bug middle-end/103735] " pinskia at gcc dot gnu.org
  2021-12-16 14:20 ` hjl.tools at gmail dot com
@ 2021-12-16 18:15 ` hjl.tools at gmail dot com
  2021-12-27 13:40 ` hjl.tools at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2021-12-16 18:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103735

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[12 Regression] Extra glibc |[12 Regression] Extra glibc
                   |"make check" failures       |"make check" failures by
                   |                            |r12-4764
                 CC|                            |rguenth at gcc dot gnu.org

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
FAIL: math/test-float32-yn

is caused by

a84b9d5373c7e67fd0ab2a412c22162cdf969c91 is the first bad commit
commit a84b9d5373c7e67fd0ab2a412c22162cdf969c91
Author: Richard Biener <rguenther@suse.de>
Date:   Wed Oct 27 14:27:40 2021 +0200

    middle-end/57245 - honor -frounding-math in real truncation

    The following honors -frounding-math when converting a FP constant
    to another FP type.

    2021-10-27  Richard Biener  <rguenther@suse.de>

            PR middle-end/57245
            * fold-const.c (fold_convert_const_real_from_real): Honor
            -frounding-math if the conversion is not exact.
            * simplify-rtx.c (simplify_const_unary_operation): Do not
            simplify FLOAT_TRUNCATE with sign dependent rounding.

            * gcc.dg/torture/fp-double-convert-float-1.c: New testcase.

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

* [Bug middle-end/103735] [12 Regression] Extra glibc "make check" failures by r12-4764
  2021-12-15 14:32 [Bug c/103735] New: [12 Regression] Extra glibc "make check" failures hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2021-12-16 18:15 ` [Bug middle-end/103735] [12 Regression] Extra glibc "make check" failures by r12-4764 hjl.tools at gmail dot com
@ 2021-12-27 13:40 ` hjl.tools at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2021-12-27 13:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103735

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Moved to

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

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

end of thread, other threads:[~2021-12-27 13:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-15 14:32 [Bug c/103735] New: [12 Regression] Extra glibc "make check" failures hjl.tools at gmail dot com
2021-12-15 19:47 ` [Bug middle-end/103735] " pinskia at gcc dot gnu.org
2021-12-16 14:20 ` hjl.tools at gmail dot com
2021-12-16 18:15 ` [Bug middle-end/103735] [12 Regression] Extra glibc "make check" failures by r12-4764 hjl.tools at gmail dot com
2021-12-27 13:40 ` hjl.tools at gmail dot com

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).