public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/13786] New: strcasecmp_l, strncasecmp_l act as strcmp for multiarch x86 (localedata/tst-xlocale1 fails)
@ 2012-02-29 21:45 jsm28 at gcc dot gnu.org
  2012-02-29 22:41 ` [Bug libc/13786] " jsm28 at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-02-29 21:45 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13786

             Bug #: 13786
           Summary: strcasecmp_l, strncasecmp_l act as strcmp for
                    multiarch x86 (localedata/tst-xlocale1 fails)
           Product: glibc
           Version: 2.15
            Status: NEW
          Keywords: glibc_2.15
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: jsm28@gcc.gnu.org
        ReportedBy: jsm28@gcc.gnu.org
                CC: carlos@systemhalted.org, drepper.fsp@gmail.com
    Classification: Unclassified
              Host: i686-pc-linux-gnu
            Target: i686-pc-linux-gnu
             Build: i686-pc-linux-gnu


With multiarch enabled x86 builds of glibc, used on systems without SSSE3, the
test localedata/tst-xlocale1 fails because strcasecmp_l and strncasecmp_l are
wrongly implemented through an assembly implementation of strcmp that is not
prepared to implement those functions.  I'll send a patch to libc-alpha.  This
issue applies to both master and 2.15 branch.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/13786] strcasecmp_l, strncasecmp_l act as strcmp for multiarch x86 (localedata/tst-xlocale1 fails)
  2012-02-29 21:45 [Bug libc/13786] New: strcasecmp_l, strncasecmp_l act as strcmp for multiarch x86 (localedata/tst-xlocale1 fails) jsm28 at gcc dot gnu.org
@ 2012-02-29 22:41 ` jsm28 at gcc dot gnu.org
  2012-06-25 21:34 ` jsm28 at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-02-29 22:41 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13786

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|jsm28 at gcc dot gnu.org    |carlos at systemhalted dot
                   |                            |org

--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-02-29 22:40:31 UTC ---
Fixed on master.  Carlos, I think

commit 0bab47b6b255e77bd69206ab0dcfa97331fefa50
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Feb 29 22:37:38 2012 +0000

    Fix x86 strcasecmp_l (bug 13786).

should be backported to 2.15 branch.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/13786] strcasecmp_l, strncasecmp_l act as strcmp for multiarch x86 (localedata/tst-xlocale1 fails)
  2012-02-29 21:45 [Bug libc/13786] New: strcasecmp_l, strncasecmp_l act as strcmp for multiarch x86 (localedata/tst-xlocale1 fails) jsm28 at gcc dot gnu.org
  2012-02-29 22:41 ` [Bug libc/13786] " jsm28 at gcc dot gnu.org
@ 2012-06-25 21:34 ` jsm28 at gcc dot gnu.org
  2012-06-25 21:40 ` carlos_odonell at mentor dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-06-25 21:34 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13786

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-06-25 21:33:52 UTC ---
Created attachment 6480
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6480
Patch backported to 2.15 branch

Carlos, please review this backport of the patch to 2.15 branch.  Tested x86.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/13786] strcasecmp_l, strncasecmp_l act as strcmp for multiarch x86 (localedata/tst-xlocale1 fails)
  2012-02-29 21:45 [Bug libc/13786] New: strcasecmp_l, strncasecmp_l act as strcmp for multiarch x86 (localedata/tst-xlocale1 fails) jsm28 at gcc dot gnu.org
  2012-02-29 22:41 ` [Bug libc/13786] " jsm28 at gcc dot gnu.org
  2012-06-25 21:34 ` jsm28 at gcc dot gnu.org
@ 2012-06-25 21:40 ` carlos_odonell at mentor dot com
  2012-06-25 21:45 ` jsm28 at gcc dot gnu.org
  2014-06-26 14:04 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: carlos_odonell at mentor dot com @ 2012-06-25 21:40 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13786

Carlos O'Donell <carlos_odonell at mentor dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos_odonell at mentor
                   |                            |dot com

--- Comment #3 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-06-25 21:40:14 UTC ---
Joseph,

This looks good for 2.15, please apply.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/13786] strcasecmp_l, strncasecmp_l act as strcmp for multiarch x86 (localedata/tst-xlocale1 fails)
  2012-02-29 21:45 [Bug libc/13786] New: strcasecmp_l, strncasecmp_l act as strcmp for multiarch x86 (localedata/tst-xlocale1 fails) jsm28 at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-06-25 21:40 ` carlos_odonell at mentor dot com
@ 2012-06-25 21:45 ` jsm28 at gcc dot gnu.org
  2014-06-26 14:04 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-06-25 21:45 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13786

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

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

--- Comment #4 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-06-25 21:44:59 UTC ---
Fixed for 2.15.1 by:

commit 3e5bea052bfaa8d0a073f5e924ccc882ce3909bc
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Feb 29 22:37:38 2012 +0000

    Fix x86 strcasecmp_l (bug 13786).
    (cherry picked from commit 0bab47b6b255e77bd69206ab0dcfa97331fefa50)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/13786] strcasecmp_l, strncasecmp_l act as strcmp for multiarch x86 (localedata/tst-xlocale1 fails)
  2012-02-29 21:45 [Bug libc/13786] New: strcasecmp_l, strncasecmp_l act as strcmp for multiarch x86 (localedata/tst-xlocale1 fails) jsm28 at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2012-06-25 21:45 ` jsm28 at gcc dot gnu.org
@ 2014-06-26 14:04 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2014-06-26 14:04 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

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


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

end of thread, other threads:[~2014-06-26 14:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-29 21:45 [Bug libc/13786] New: strcasecmp_l, strncasecmp_l act as strcmp for multiarch x86 (localedata/tst-xlocale1 fails) jsm28 at gcc dot gnu.org
2012-02-29 22:41 ` [Bug libc/13786] " jsm28 at gcc dot gnu.org
2012-06-25 21:34 ` jsm28 at gcc dot gnu.org
2012-06-25 21:40 ` carlos_odonell at mentor dot com
2012-06-25 21:45 ` jsm28 at gcc dot gnu.org
2014-06-26 14:04 ` 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).