public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/10183] New: tst-cpucount fails if CPU_SETSIZE < 129
@ 2009-05-21 19:40 aurelien at aurel32 dot net
  2009-05-21 19:40 ` [Bug libc/10183] " aurelien at aurel32 dot net
  2009-06-16  4:14 ` drepper at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: aurelien at aurel32 dot net @ 2009-05-21 19:40 UTC (permalink / raw)
  To: glibc-bugs

posix/tst-cpucount.c assumes that CPU_SETSIZE is > 128 (by hardcoding the test 
value to 129) which is not true on some systems.

The best solution is to set the value to CPU_SETSIZE, so that all values are 
actually tested. The test is still really fast. A patch will follow.

-- 
           Summary: tst-cpucount fails if CPU_SETSIZE < 129
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: aurelien at aurel32 dot net
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-unknown-kfreebsd7.1-gnu
  GCC host triplet: i686-unknown-kfreebsd7.1-gnu
GCC target triplet: i686-unknown-kfreebsd7.1-gnu


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

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

* [Bug libc/10183] tst-cpucount fails if CPU_SETSIZE < 129
  2009-05-21 19:40 [Bug libc/10183] New: tst-cpucount fails if CPU_SETSIZE < 129 aurelien at aurel32 dot net
@ 2009-05-21 19:40 ` aurelien at aurel32 dot net
  2009-06-16  4:14 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: aurelien at aurel32 dot net @ 2009-05-21 19:40 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aurelien at aurel32 dot net  2009-05-21 19:40 -------
Created an attachment (id=3954)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3954&action=view)
Patch to fix the problem


-- 


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

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

* [Bug libc/10183] tst-cpucount fails if CPU_SETSIZE < 129
  2009-05-21 19:40 [Bug libc/10183] New: tst-cpucount fails if CPU_SETSIZE < 129 aurelien at aurel32 dot net
  2009-05-21 19:40 ` [Bug libc/10183] " aurelien at aurel32 dot net
@ 2009-06-16  4:14 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2009-06-16  4:14 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2009-06-16 04:14 -------
I've checked in a change which does not change any other platform.


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


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

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

end of thread, other threads:[~2009-06-16  4:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-21 19:40 [Bug libc/10183] New: tst-cpucount fails if CPU_SETSIZE < 129 aurelien at aurel32 dot net
2009-05-21 19:40 ` [Bug libc/10183] " aurelien at aurel32 dot net
2009-06-16  4:14 ` drepper 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).