public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/27222] New: Incorrect sysdeps/x86/tst-cpu-features-cpuinfo.c
@ 2021-01-21 19:10 hjl.tools at gmail dot com
  2021-01-22 18:35 ` [Bug dynamic-link/27222] " hjl.tools at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: hjl.tools at gmail dot com @ 2021-01-21 19:10 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 27222
           Summary: Incorrect sysdeps/x86/tst-cpu-features-cpuinfo.c
           Product: glibc
           Version: 2.33
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

sysdeps/x86/tst-cpu-features-cpuinfo.c has

int
check_proc (const char *proc_name, int flag, int usable, const char *name)
{
  int found = 0;

  printf ("Checking %s:\n", name);
  if (!usable)
    {   
      printf ("  %s: insufficient usable info, skipped\n", name);
      return 0;
    }   
  printf ("  %s: %d\n", name, flag);
  if (strstr (cpu_flags, proc_name) != NULL)
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This matches "ssse3" with "sse3".
    found = 1;

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

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

* [Bug dynamic-link/27222] Incorrect sysdeps/x86/tst-cpu-features-cpuinfo.c
  2021-01-21 19:10 [Bug dynamic-link/27222] New: Incorrect sysdeps/x86/tst-cpu-features-cpuinfo.c hjl.tools at gmail dot com
@ 2021-01-22 18:35 ` hjl.tools at gmail dot com
  0 siblings, 0 replies; 2+ messages in thread
From: hjl.tools at gmail dot com @ 2021-01-22 18:35 UTC (permalink / raw)
  To: glibc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.33
             Status|NEW                         |RESOLVED

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for 2.33 by

commit 5f478eb0fb2b22204d501b6721c6fe9dc1f3ebba
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jan 21 11:12:30 2021 -0800

    x86: Properly match CPU features in /proc/cpuinfo [BZ #27222]

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

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

end of thread, other threads:[~2021-01-22 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21 19:10 [Bug dynamic-link/27222] New: Incorrect sysdeps/x86/tst-cpu-features-cpuinfo.c hjl.tools at gmail dot com
2021-01-22 18:35 ` [Bug dynamic-link/27222] " 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).