public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/11640] New: Incorrect x86 CPU family and model check
@ 2010-05-27  4:51 hjl dot tools at gmail dot com
  2010-05-27 18:15 ` [Bug libc/11640] " drepper at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-05-27  4:51 UTC (permalink / raw)
  To: glibc-bugs

Glibc trunk, 2.12, 2.11 has

      if (__cpu_features.family == 0x0f)
	{
	  family += extended_family;
	  model += extended_model;
	}
      else if (__cpu_features.family == 0x06)
	{
	  model += extended_model;
	  switch (__cpu_features.model)
...
  __cpu_features.family = family;
  __cpu_features.model = model;

__cpu_features.family and __cpu_features.family are checked
before they are set.  A patch is posted at

http://sourceware.org/ml/libc-alpha/2010-05/msg00048.html

It should be applied cleanly to trunk and 2.12. 2.11 needs
small changes.

-- 
           Summary: Incorrect x86 CPU family and model check
           Product: glibc
           Version: 2.12
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: hjl dot tools at gmail dot com
                CC: glibc-bugs at sources dot redhat dot com


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/11640] Incorrect x86 CPU family and model check
  2010-05-27  4:51 [Bug libc/11640] New: Incorrect x86 CPU family and model check hjl dot tools at gmail dot com
@ 2010-05-27 18:15 ` drepper at redhat dot com
  2010-05-27 18:25 ` hjl dot tools at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: drepper at redhat dot com @ 2010-05-27 18:15 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2010-05-27 18:14 -------
Checked into trunk.

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


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/11640] Incorrect x86 CPU family and model check
  2010-05-27  4:51 [Bug libc/11640] New: Incorrect x86 CPU family and model check hjl dot tools at gmail dot com
  2010-05-27 18:15 ` [Bug libc/11640] " drepper at redhat dot com
@ 2010-05-27 18:25 ` hjl dot tools at gmail dot com
  2010-05-27 18:38 ` pasky at suse dot cz
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-05-27 18:25 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From hjl dot tools at gmail dot com  2010-05-27 18:25 -------
2.11 and 2.12 branches also need fix.

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


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/11640] Incorrect x86 CPU family and model check
  2010-05-27  4:51 [Bug libc/11640] New: Incorrect x86 CPU family and model check hjl dot tools at gmail dot com
  2010-05-27 18:15 ` [Bug libc/11640] " drepper at redhat dot com
  2010-05-27 18:25 ` hjl dot tools at gmail dot com
@ 2010-05-27 18:38 ` pasky at suse dot cz
  2010-05-27 20:39 ` drepper at redhat dot com
  2010-05-31 17:13 ` pasky at suse dot cz
  4 siblings, 0 replies; 7+ messages in thread
From: pasky at suse dot cz @ 2010-05-27 18:38 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pasky at suse dot cz  2010-05-27 18:38 -------
In principle, there should be no need to reopen the bug for that, keywords
should be enough. Unfortunately, there is no glibc_2.12 keyword, Andreas, can
you look into that please?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pasky at suse dot cz, schwab
                   |                            |at linux-m68k dot org
           Keywords|                            |glibc_2.11


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/11640] Incorrect x86 CPU family and model check
  2010-05-27  4:51 [Bug libc/11640] New: Incorrect x86 CPU family and model check hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2010-05-27 18:38 ` pasky at suse dot cz
@ 2010-05-27 20:39 ` drepper at redhat dot com
  2010-05-31 17:13 ` pasky at suse dot cz
  4 siblings, 0 replies; 7+ messages in thread
From: drepper at redhat dot com @ 2010-05-27 20:39 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2010-05-27 20:39 -------
Don't reopen bugs for this.  The branch maintainers will in any case have to
look at each bug and backport them in turn.

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


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/11640] Incorrect x86 CPU family and model check
  2010-05-27  4:51 [Bug libc/11640] New: Incorrect x86 CPU family and model check hjl dot tools at gmail dot com
                   ` (3 preceding siblings ...)
  2010-05-27 20:39 ` drepper at redhat dot com
@ 2010-05-31 17:13 ` pasky at suse dot cz
  4 siblings, 0 replies; 7+ messages in thread
From: pasky at suse dot cz @ 2010-05-31 17:13 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pasky at suse dot cz  2010-05-31 17:13 -------
Backported to 2.11.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|glibc_2.11                  |


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/11640] Incorrect x86 CPU family and model check
       [not found] <bug-11640-131@http.sourceware.org/bugzilla/>
@ 2014-06-30 17:55 ` fweimer at redhat dot com
  0 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2014-06-30 17:55 UTC (permalink / raw)
  To: glibc-bugs

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

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] 7+ messages in thread

end of thread, other threads:[~2014-06-30 17:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-27  4:51 [Bug libc/11640] New: Incorrect x86 CPU family and model check hjl dot tools at gmail dot com
2010-05-27 18:15 ` [Bug libc/11640] " drepper at redhat dot com
2010-05-27 18:25 ` hjl dot tools at gmail dot com
2010-05-27 18:38 ` pasky at suse dot cz
2010-05-27 20:39 ` drepper at redhat dot com
2010-05-31 17:13 ` pasky at suse dot cz
     [not found] <bug-11640-131@http.sourceware.org/bugzilla/>
2014-06-30 17:55 ` 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).