public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/28400] New: [2.35 Regression] string/test-strncasecmp: cannot set locale "en_US.UTF-8"
@ 2021-09-30 17:49 hjl.tools at gmail dot com
  2021-09-30 17:54 ` [Bug libc/28400] " hjl.tools at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2021-09-30 17:49 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 28400
           Summary: [2.35 Regression] string/test-strncasecmp: cannot set
                    locale "en_US.UTF-8"
           Product: glibc
           Version: 2.35
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

With

commit a725ff1de965f4cc4f36a7e8ae795d40ca0350d7
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed May 19 16:48:19 2021 +0100

    Suppress -Wcast-qual warnings in bsearch

    The first cast to (void *) is redundant but should be (const void *)
    anyway, because that's the type of the lvalue being assigned to.

    The second cast is necessary and intentionally not const-correct, so
    tell the compiler not to warn about it.

    Reviewed-by: Florian Weimer <fweimer@redhat.com>

I got

/export/build/gnu/tools-build/glibc-x32-cet/build-x86_64-linux/string/test-strcasecmp:
cannot set locale "en_US.ISO-8859-1"
/export/build/gnu/tools-build/glibc-x32-cet/build-x86_64-linux/string/test-strncasecmp:
cannot set locale "en_US.ISO-8859-1"
/export/build/gnu/tools-build/glibc-x32-cet/build-x86_64-linux/string/test-strcasecmp:
cannot set locale "en_US.UTF-8"
/export/build/gnu/tools-build/glibc-x32-cet/build-x86_64-linux/string/test-strncasecmp:
cannot set locale "en_US.UTF-8"
/export/build/gnu/tools-build/glibc-x32-cet/build-x86_64-linux/string/test-strcasecmp:
cannot set locale "tr_TR.ISO-8859-9"
/export/build/gnu/tools-build/glibc-x32-cet/build-x86_64-linux/string/test-strncasecmp:
cannot set locale "tr_TR.ISO-8859-9"
/export/build/gnu/tools-build/glibc-x32-cet/build-x86_64-linux/string/test-strcasecmp:
cannot set locale "tr_TR.UTF-8"
/export/build/gnu/tools-build/glibc-x32-cet/build-x86_64-linux/string/test-strncasecmp:
cannot set locale "tr_TR.UTF-8"

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

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

* [Bug libc/28400] [2.35 Regression] string/test-strncasecmp: cannot set locale "en_US.UTF-8"
  2021-09-30 17:49 [Bug libc/28400] New: [2.35 Regression] string/test-strncasecmp: cannot set locale "en_US.UTF-8" hjl.tools at gmail dot com
@ 2021-09-30 17:54 ` hjl.tools at gmail dot com
  2021-09-30 18:16 ` fweimer at redhat dot com
  2021-09-30 18:41 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2021-09-30 17:54 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
I got

FAIL: catgets/de/libc.cat
FAIL: catgets/test-gencat
FAIL: catgets/test1.cat
FAIL: debug/tst-chk1
FAIL: debug/tst-chk2
FAIL: debug/tst-chk3
FAIL: debug/tst-chk4
FAIL: debug/tst-chk5
FAIL: debug/tst-chk6
FAIL: debug/tst-lfschk1
FAIL: debug/tst-lfschk2
FAIL: debug/tst-lfschk3
FAIL: debug/tst-lfschk4
FAIL: debug/tst-lfschk5
FAIL: debug/tst-lfschk6
FAIL: elf/tst-platform-1
FAIL: grp/testgrp
FAIL: grp/tst-initgroups1
FAIL: grp/tst-initgroups2
FAIL: iconv/tst-iconv-opt
FAIL: iconv/tst-iconv9
FAIL: iconvdata/bug-iconv6
FAIL: iconvdata/tst-iconv-big5-hkscs-to-2ucs4
FAIL: iconvdata/tst-iconv7
FAIL: inet/tst-gethnm
FAIL: inet/tst-idna_name_classify
FAIL: intl/tst-codeset
FAIL: intl/tst-gettext
FAIL: intl/tst-gettext2
FAIL: intl/tst-gettext3
FAIL: intl/tst-gettext4
FAIL: intl/tst-gettext5
FAIL: intl/tst-translit
FAIL: libio/bug-ftell
FAIL: libio/bug-ungetwc2
FAIL: libio/tst-fgetwc
FAIL: libio/tst-fgetws
FAIL: libio/tst-fopenloc
FAIL: libio/tst-fopenloc-cmp
FAIL: libio/tst-fseek
FAIL: libio/tst-ftell-active-handler
FAIL: libio/tst-ftell-append
FAIL: libio/tst-ftell-partial-wide
FAIL: libio/tst-swscanf
FAIL: libio/tst-ungetwc1
FAIL: libio/tst-ungetwc2
FAIL: libio/tst-wfile-sync
FAIL: libio/tst-widetext
FAIL: localedata/bug-iconv-trans
FAIL: localedata/bug-setlocale1
FAIL: localedata/bug-setlocale1-static
FAIL: localedata/sort-test
FAIL: localedata/tst-ctype
FAIL: localedata/tst-digits
FAIL: localedata/tst-fmon
FAIL: localedata/tst-iconv-math-trans
FAIL: localedata/tst-langinfo-newlocale
FAIL: localedata/tst-langinfo-setlocale
FAIL: localedata/tst-langinfo-setlocale-static
FAIL: localedata/tst-mbswcs1
FAIL: localedata/tst-mbswcs2
FAIL: localedata/tst-mbswcs3
FAIL: localedata/tst-mbswcs4
FAIL: localedata/tst-mbswcs5
FAIL: localedata/tst-mbswcs6
FAIL: localedata/tst-numeric
FAIL: localedata/tst-rpmatch
FAIL: localedata/tst-setlocale
FAIL: localedata/tst-setlocale2
FAIL: localedata/tst-setlocale3
FAIL: localedata/tst-sscanf
FAIL: localedata/tst-strfmon1
FAIL: localedata/tst-trans
FAIL: localedata/tst-wctype
FAIL: localedata/tst-xlocale1
FAIL: localedata/tst-xlocale2
FAIL: localedata/tst_iswalnum
FAIL: localedata/tst_iswalpha
FAIL: localedata/tst_iswcntrl
FAIL: localedata/tst_iswctype
FAIL: localedata/tst_iswdigit
FAIL: localedata/tst_iswgraph
FAIL: localedata/tst_iswlower
FAIL: localedata/tst_iswprint
FAIL: localedata/tst_iswpunct
FAIL: localedata/tst_iswspace
FAIL: localedata/tst_iswupper
FAIL: localedata/tst_iswxdigit
FAIL: localedata/tst_mblen
FAIL: localedata/tst_mbrlen
FAIL: localedata/tst_mbrtowc
FAIL: localedata/tst_mbsrtowcs
FAIL: localedata/tst_mbstowcs
FAIL: localedata/tst_mbtowc
FAIL: localedata/tst_strcoll
FAIL: localedata/tst_strfmon
FAIL: localedata/tst_strxfrm
FAIL: localedata/tst_swscanf
FAIL: localedata/tst_towctrans
FAIL: localedata/tst_towlower
FAIL: localedata/tst_towupper
FAIL: localedata/tst_wcrtomb
FAIL: localedata/tst_wcscat
FAIL: localedata/tst_wcschr
FAIL: localedata/tst_wcscmp
FAIL: localedata/tst_wcscoll
FAIL: localedata/tst_wcscpy
FAIL: localedata/tst_wcscspn
FAIL: localedata/tst_wcslen
FAIL: localedata/tst_wcsncat
FAIL: localedata/tst_wcsncmp
FAIL: localedata/tst_wcsncpy
FAIL: localedata/tst_wcspbrk
FAIL: localedata/tst_wcsrtombs
FAIL: localedata/tst_wcsspn
FAIL: localedata/tst_wcsstr
FAIL: localedata/tst_wcstod
FAIL: localedata/tst_wcstok
FAIL: localedata/tst_wcstombs
FAIL: localedata/tst_wcswidth
FAIL: localedata/tst_wcsxfrm
FAIL: localedata/tst_wctob
FAIL: localedata/tst_wctomb
FAIL: localedata/tst_wctrans
FAIL: localedata/tst_wctype
FAIL: localedata/tst_wcwidth
FAIL: login/tst-getlogin
FAIL: math/test-double-cacos
FAIL: math/test-double-cacosh
FAIL: math/test-double-casin
FAIL: math/test-double-casinh
FAIL: math/test-double-catanh
FAIL: math/test-double-clog
FAIL: math/test-double-clog10
FAIL: math/test-double-cpow
FAIL: math/test-double-csin
FAIL: math/test-double-csqrt
FAIL: math/test-double-ctan
FAIL: math/test-double-ctanh
FAIL: math/test-double-j0
FAIL: math/test-double-j1
FAIL: math/test-double-tgamma
FAIL: math/test-float-cacos
FAIL: math/test-float-cacosh
FAIL: math/test-float-casin
FAIL: math/test-float-casinh
FAIL: math/test-float-catanh
FAIL: math/test-float-ccosh
FAIL: math/test-float-clog
FAIL: math/test-float-clog10
FAIL: math/test-float-cpow
FAIL: math/test-float-csin
FAIL: math/test-float-csqrt
FAIL: math/test-float-ctan
FAIL: math/test-float-ctanh
FAIL: math/test-float128-cacos
FAIL: math/test-float128-cacosh
FAIL: math/test-float128-casin
FAIL: math/test-float128-casinh
FAIL: math/test-float128-catan
FAIL: math/test-float128-catanh
FAIL: math/test-float128-ccos
FAIL: math/test-float128-ccosh
FAIL: math/test-float128-cexp
FAIL: math/test-float128-clog
FAIL: math/test-float128-clog10
FAIL: math/test-float128-cpow
FAIL: math/test-float128-csin
FAIL: math/test-float128-csinh
FAIL: math/test-float128-csqrt
FAIL: math/test-float128-ctan
FAIL: math/test-float128-ctanh
FAIL: math/test-float32-cacos
FAIL: math/test-float32-cacosh
FAIL: math/test-float32-casin
FAIL: math/test-float32-casinh
FAIL: math/test-float32-catanh
FAIL: math/test-float32-ccosh
FAIL: math/test-float32-clog
FAIL: math/test-float32-clog10
FAIL: math/test-float32-cpow
FAIL: math/test-float32-csin
FAIL: math/test-float32-csqrt
FAIL: math/test-float32-ctan
FAIL: math/test-float32-ctanh
FAIL: math/test-float32x-cacos
FAIL: math/test-float32x-cacosh
FAIL: math/test-float32x-casin
FAIL: math/test-float32x-casinh
FAIL: math/test-float32x-catanh
FAIL: math/test-float32x-clog
FAIL: math/test-float32x-clog10
FAIL: math/test-float32x-cpow
FAIL: math/test-float32x-csin
FAIL: math/test-float32x-csqrt
FAIL: math/test-float32x-ctan
FAIL: math/test-float32x-ctanh
FAIL: math/test-float32x-j0
FAIL: math/test-float32x-j1
FAIL: math/test-float32x-tgamma
FAIL: math/test-float64-cacos
FAIL: math/test-float64-cacosh
FAIL: math/test-float64-casin
FAIL: math/test-float64-casinh
FAIL: math/test-float64-catanh
FAIL: math/test-float64-clog
FAIL: math/test-float64-clog10
FAIL: math/test-float64-cpow
FAIL: math/test-float64-csin
FAIL: math/test-float64-csqrt
FAIL: math/test-float64-ctan
FAIL: math/test-float64-ctanh
FAIL: math/test-float64-j0
FAIL: math/test-float64-j1
FAIL: math/test-float64-tgamma
FAIL: math/test-float64x-cacos
FAIL: math/test-float64x-cacosh
FAIL: math/test-float64x-casin
FAIL: math/test-float64x-casinh
FAIL: math/test-float64x-catan
FAIL: math/test-float64x-catanh
FAIL: math/test-float64x-clog
FAIL: math/test-float64x-clog10
FAIL: math/test-float64x-cpow
FAIL: math/test-float64x-csqrt
FAIL: math/test-float64x-ctan
FAIL: math/test-float64x-ctanh
FAIL: math/test-float64x-j0
FAIL: math/test-float64x-j1
FAIL: math/test-float64x-lgamma
FAIL: math/test-float64x-y0
FAIL: math/test-float64x-y1
FAIL: math/test-ldouble-cacos
FAIL: math/test-ldouble-cacosh
FAIL: math/test-ldouble-casin
FAIL: math/test-ldouble-casinh
FAIL: math/test-ldouble-catan
FAIL: math/test-ldouble-catanh
FAIL: math/test-ldouble-clog
FAIL: math/test-ldouble-clog10
FAIL: math/test-ldouble-cpow
FAIL: math/test-ldouble-csqrt
FAIL: math/test-ldouble-ctan
FAIL: math/test-ldouble-ctanh
FAIL: math/test-ldouble-j0
FAIL: math/test-ldouble-j1
FAIL: math/test-ldouble-lgamma
FAIL: math/test-ldouble-y0
FAIL: math/test-ldouble-y1
FAIL: nss/bug17079
FAIL: nss/test-netdb
FAIL: nss/tst-cancel-getpwuid_r
FAIL: nss/tst-nss-compat1
FAIL: nss/tst-nss-db-endgrent
FAIL: nss/tst-nss-files-alias-leak
FAIL: nss/tst-nss-files-alias-truncated
FAIL: nss/tst-nss-files-hosts-erange
FAIL: nss/tst-nss-files-hosts-getent
FAIL: nss/tst-nss-files-hosts-multi
FAIL: nss/tst-nss-getpwent
FAIL: nss/tst-nss-test1
FAIL: nss/tst-nss-test2
FAIL: nss/tst-nss-test3
FAIL: nss/tst-nss-test4
FAIL: nss/tst-nss-test5
FAIL: nss/tst-reload1
FAIL: nss/tst-reload2
FAIL: posix/bug-ga2
FAIL: posix/bug-regex17
FAIL: posix/bug-regex18
FAIL: posix/bug-regex19
FAIL: posix/bug-regex20
FAIL: posix/bug-regex22
FAIL: posix/bug-regex30
FAIL: posix/bug-regex32
FAIL: posix/bug-regex33
FAIL: posix/bug-regex34
FAIL: posix/bug-regex35
FAIL: posix/bug-regex5
FAIL: posix/bug-regex6
FAIL: posix/globtest
FAIL: posix/tst-fnmatch
FAIL: posix/tst-fnmatch4
FAIL: posix/tst-fnmatch5
FAIL: posix/tst-fnmatch6
FAIL: posix/tst-regcomp-truncated
FAIL: posix/tst-regex
FAIL: posix/tst-regexloc
FAIL: posix/tst-rxspencer
FAIL: posix/wordexp-test
FAIL: pwd/tst-getpw
FAIL: resolv/tst-bug18665
FAIL: resolv/tst-bug18665-tcp
FAIL: resolv/tst-leaks2
FAIL: resolv/tst-res_hconf_reorder
FAIL: resolv/tst-resolv-ai_idn-nolibidn2
FAIL: resolv/tst-resolv-basic
FAIL: resolv/tst-resolv-edns
FAIL: resolv/tst-resolv-network
FAIL: resolv/tst-resolv-res_init-multi
FAIL: resolv/tst-resolv-search
FAIL: resolv/tst-resolv-threads
FAIL: resolv/tst-resolv-trailing
FAIL: stdio-common/bug14
FAIL: stdio-common/scanf13
FAIL: stdio-common/tst-grouping
FAIL: stdio-common/tst-sprintf
FAIL: stdio-common/tst-swprintf
FAIL: stdio-common/tst-vfprintf-mbs-prec
FAIL: stdlib/testmb2
FAIL: stdlib/tst-bsearch
FAIL: stdlib/tst-strfmon_l
FAIL: stdlib/tst-strfrom-locale
FAIL: stdlib/tst-strtod-nan-locale
FAIL: stdlib/tst-strtod1i
FAIL: stdlib/tst-strtod3
FAIL: stdlib/tst-strtod4
FAIL: stdlib/tst-strtod5
FAIL: stdlib/tst-strtod5i
FAIL: stdlib/tst-strtol-locale
FAIL: string/bug-strcoll2
FAIL: string/test-strcasecmp
FAIL: string/test-strncasecmp
FAIL: string/tst-strerror
FAIL: string/tst-strsignal
FAIL: string/tst-strxfrm
FAIL: string/tst-strxfrm2
FAIL: sunrpc/test-rpcent
FAIL: time/tst-ftime_l
FAIL: time/tst-strftime3
FAIL: time/tst-strptime
FAIL: wcsmbs/tst-btowc
FAIL: wcsmbs/tst-c16-surrogate
FAIL: wcsmbs/tst-c16c32-1
FAIL: wcsmbs/tst-c32-state
FAIL: wcsmbs/tst-mbrtowc
FAIL: wcsmbs/tst-mbrtowc2
FAIL: wcsmbs/tst-wcstod-nan-locale
FAIL: wcsmbs/tst-wcstol-locale

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

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

* [Bug libc/28400] [2.35 Regression] string/test-strncasecmp: cannot set locale "en_US.UTF-8"
  2021-09-30 17:49 [Bug libc/28400] New: [2.35 Regression] string/test-strncasecmp: cannot set locale "en_US.UTF-8" hjl.tools at gmail dot com
  2021-09-30 17:54 ` [Bug libc/28400] " hjl.tools at gmail dot com
@ 2021-09-30 18:16 ` fweimer at redhat dot com
  2021-09-30 18:41 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2021-09-30 18:16 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |fweimer at redhat dot com
           Assignee|unassigned at sourceware dot org   |fweimer at redhat dot com
              Flags|                            |security-

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

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

* [Bug libc/28400] [2.35 Regression] string/test-strncasecmp: cannot set locale "en_US.UTF-8"
  2021-09-30 17:49 [Bug libc/28400] New: [2.35 Regression] string/test-strncasecmp: cannot set locale "en_US.UTF-8" hjl.tools at gmail dot com
  2021-09-30 17:54 ` [Bug libc/28400] " hjl.tools at gmail dot com
  2021-09-30 18:16 ` fweimer at redhat dot com
@ 2021-09-30 18:41 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2021-09-30 18:41 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.35
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
Fixed for glibc 2.35 via:

commit 32b96d0dec0294465d2221a8f049703599d9d8e4
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Sep 30 18:44:06 2021 +0200

    Add missing braces to bsearch inline implementation [BZ #28400]

    GCC treats the pragma as a statement, so that the else branch only
    consists of the pragma, not the return statement.

    Fixes commit a725ff1de965f4cc4f36a7e8ae795d40ca0350d7 ("Suppress
    -Wcast-qual warnings in bsearch").

    Reviewed-by: H.J. Lu <hjl.tools@gmail.com>

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

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

end of thread, other threads:[~2021-09-30 18:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-30 17:49 [Bug libc/28400] New: [2.35 Regression] string/test-strncasecmp: cannot set locale "en_US.UTF-8" hjl.tools at gmail dot com
2021-09-30 17:54 ` [Bug libc/28400] " hjl.tools at gmail dot com
2021-09-30 18:16 ` fweimer at redhat dot com
2021-09-30 18:41 ` fweimer at redhat 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).