public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/9894] New: Support for PI futexes wrongly marked as introduced in 2.6.18
@ 2009-02-24 23:20 aurelien at aurel32 dot net
  2009-02-24 23:20 ` [Bug libc/9894] " aurelien at aurel32 dot net
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: aurelien at aurel32 dot net @ 2009-02-24 23:20 UTC (permalink / raw)
  To: glibc-bugs

While support for PI futexes has been added in 2.6.18, it depends on
futex_atomic_cmpxchg_inatomic() being implemented, which has been
implemented later (or not yet implemented) on some architectures.

Below is the kernel version where the support has been added for main
and ports glibc architectures;

- i386:    2.6.18
- ia64:    2.6.19
- powerpc: 2.6.18
- s390:    2.6.18
- sparc:   not implemented
- sparc64: 2.6.18
- sh:      2.6.23
- x86_64:  2.6.18

- alpha:   not implemented
- arm:     2.6.28
- cris:    not implemented
- hppa :   2.6.19
- m68k:    not implemented
- mips:    2.6.18

Patches to fix the problem are following soon

-- 
           Summary: Support for PI futexes wrongly marked as introduced in
                    2.6.18
           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


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

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

* [Bug libc/9894] Support for PI futexes wrongly marked as introduced in 2.6.18
  2009-02-24 23:20 [Bug libc/9894] New: Support for PI futexes wrongly marked as introduced in 2.6.18 aurelien at aurel32 dot net
@ 2009-02-24 23:20 ` aurelien at aurel32 dot net
  2009-02-24 23:21 ` aurelien at aurel32 dot net
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: aurelien at aurel32 dot net @ 2009-02-24 23:20 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aurelien at aurel32 dot net  2009-02-24 23:20 -------
Created an attachment (id=3764)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3764&action=view)
patch for main architecture


-- 


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

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

* [Bug libc/9894] Support for PI futexes wrongly marked as introduced in 2.6.18
  2009-02-24 23:20 [Bug libc/9894] New: Support for PI futexes wrongly marked as introduced in 2.6.18 aurelien at aurel32 dot net
                   ` (2 preceding siblings ...)
  2009-02-24 23:21 ` aurelien at aurel32 dot net
@ 2009-02-24 23:21 ` aurelien at aurel32 dot net
  2009-02-27 15:07 ` aurelien at aurel32 dot net
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: aurelien at aurel32 dot net @ 2009-02-24 23:21 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aurelien at aurel32 dot net  2009-02-24 23:21 -------
Created an attachment (id=3767)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3767&action=view)
patch for hppa


-- 


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

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

* [Bug libc/9894] Support for PI futexes wrongly marked as introduced in 2.6.18
  2009-02-24 23:20 [Bug libc/9894] New: Support for PI futexes wrongly marked as introduced in 2.6.18 aurelien at aurel32 dot net
  2009-02-24 23:20 ` [Bug libc/9894] " aurelien at aurel32 dot net
  2009-02-24 23:21 ` aurelien at aurel32 dot net
@ 2009-02-24 23:21 ` aurelien at aurel32 dot net
  2009-02-24 23:21 ` aurelien at aurel32 dot net
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: aurelien at aurel32 dot net @ 2009-02-24 23:21 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aurelien at aurel32 dot net  2009-02-24 23:20 -------
Created an attachment (id=3765)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3765&action=view)
patch for arm


-- 


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

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

* [Bug libc/9894] Support for PI futexes wrongly marked as introduced in 2.6.18
  2009-02-24 23:20 [Bug libc/9894] New: Support for PI futexes wrongly marked as introduced in 2.6.18 aurelien at aurel32 dot net
  2009-02-24 23:20 ` [Bug libc/9894] " aurelien at aurel32 dot net
@ 2009-02-24 23:21 ` aurelien at aurel32 dot net
  2009-02-24 23:21 ` aurelien at aurel32 dot net
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: aurelien at aurel32 dot net @ 2009-02-24 23:21 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aurelien at aurel32 dot net  2009-02-24 23:21 -------
Created an attachment (id=3766)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3766&action=view)
patch for mips


-- 


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

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

* [Bug libc/9894] Support for PI futexes wrongly marked as introduced in 2.6.18
  2009-02-24 23:20 [Bug libc/9894] New: Support for PI futexes wrongly marked as introduced in 2.6.18 aurelien at aurel32 dot net
                   ` (3 preceding siblings ...)
  2009-02-24 23:21 ` aurelien at aurel32 dot net
@ 2009-02-27 15:07 ` aurelien at aurel32 dot net
  2009-02-27 15:08 ` aurelien at aurel32 dot net
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: aurelien at aurel32 dot net @ 2009-02-27 15:07 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aurelien at aurel32 dot net  2009-02-27 15:07 -------
The same problem also exists with robust mutexes and is due to the same problem,
ie they are available when both get/set_robust_list syscalls have been added
*and* futex_atomic_cmpxchg_inatomic() is available. This give the following
availabilities for main
and ports glibc architectures:

- i386:    2.6.17
- ia64:    2.6.19
- powerpc: 2.6.17
- s390:    2.6.18
- sparc:   not implemented
- sparc64: 2.6.19
- sh:      2.6.23
- x86_64:  2.6.17

- alpha:   not implemented
- arm:     2.6.28
- cris:    not implemented
- hppa :   2.6.19
- m68k:    not implemented
- mips:    2.6.19

Update patches fixing the problem will follow.


-- 


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

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

* [Bug libc/9894] Support for PI futexes wrongly marked as introduced in 2.6.18
  2009-02-24 23:20 [Bug libc/9894] New: Support for PI futexes wrongly marked as introduced in 2.6.18 aurelien at aurel32 dot net
                   ` (4 preceding siblings ...)
  2009-02-27 15:07 ` aurelien at aurel32 dot net
@ 2009-02-27 15:08 ` aurelien at aurel32 dot net
  2009-02-27 15:09 ` aurelien at aurel32 dot net
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: aurelien at aurel32 dot net @ 2009-02-27 15:08 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aurelien at aurel32 dot net  2009-02-27 15:08 -------
Created an attachment (id=3777)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3777&action=view)
Updated patch for main architectures


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #3764 is|0                           |1
           obsolete|                            |


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

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

* [Bug libc/9894] Support for PI futexes wrongly marked as introduced in 2.6.18
  2009-02-24 23:20 [Bug libc/9894] New: Support for PI futexes wrongly marked as introduced in 2.6.18 aurelien at aurel32 dot net
                   ` (7 preceding siblings ...)
  2009-02-27 15:09 ` aurelien at aurel32 dot net
@ 2009-02-27 15:09 ` aurelien at aurel32 dot net
  2009-04-15 20:47 ` jsm28 at gcc dot gnu dot org
  2009-05-01 10:57 ` aurelien at aurel32 dot net
  10 siblings, 0 replies; 12+ messages in thread
From: aurelien at aurel32 dot net @ 2009-02-27 15:09 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aurelien at aurel32 dot net  2009-02-27 15:09 -------
Created an attachment (id=3780)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3780&action=view)
Updated patch for mips


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #3766 is|0                           |1
           obsolete|                            |


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

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

* [Bug libc/9894] Support for PI futexes wrongly marked as introduced in 2.6.18
  2009-02-24 23:20 [Bug libc/9894] New: Support for PI futexes wrongly marked as introduced in 2.6.18 aurelien at aurel32 dot net
                   ` (5 preceding siblings ...)
  2009-02-27 15:08 ` aurelien at aurel32 dot net
@ 2009-02-27 15:09 ` aurelien at aurel32 dot net
  2009-02-27 15:09 ` aurelien at aurel32 dot net
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: aurelien at aurel32 dot net @ 2009-02-27 15:09 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aurelien at aurel32 dot net  2009-02-27 15:09 -------
Created an attachment (id=3779)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3779&action=view)
Updated patch for hppa


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #3767 is|0                           |1
           obsolete|                            |


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

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

* [Bug libc/9894] Support for PI futexes wrongly marked as introduced in 2.6.18
  2009-02-24 23:20 [Bug libc/9894] New: Support for PI futexes wrongly marked as introduced in 2.6.18 aurelien at aurel32 dot net
                   ` (6 preceding siblings ...)
  2009-02-27 15:09 ` aurelien at aurel32 dot net
@ 2009-02-27 15:09 ` aurelien at aurel32 dot net
  2009-02-27 15:09 ` aurelien at aurel32 dot net
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: aurelien at aurel32 dot net @ 2009-02-27 15:09 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aurelien at aurel32 dot net  2009-02-27 15:08 -------
Created an attachment (id=3778)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3778&action=view)
Updated patch for arm


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #3765 is|0                           |1
           obsolete|                            |


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

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

* [Bug libc/9894] Support for PI futexes wrongly marked as introduced in 2.6.18
  2009-02-24 23:20 [Bug libc/9894] New: Support for PI futexes wrongly marked as introduced in 2.6.18 aurelien at aurel32 dot net
                   ` (8 preceding siblings ...)
  2009-02-27 15:09 ` aurelien at aurel32 dot net
@ 2009-04-15 20:47 ` jsm28 at gcc dot gnu dot org
  2009-05-01 10:57 ` aurelien at aurel32 dot net
  10 siblings, 0 replies; 12+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-04-15 20:47 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jsm28 at gcc dot gnu dot org  2009-04-15 20:47 -------
The ARM and MIPS changes look OK; I haven't applied them because they
depend on the libc changes.  It might be useful to do a version of the ports
changes that works with present libc (so conditionally #undefing the macros
after including the libc kernel-features.h), which could be reverted and
replaced with the present patch versions after the libc changes go in.


-- 


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

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

* [Bug libc/9894] Support for PI futexes wrongly marked as introduced in 2.6.18
  2009-02-24 23:20 [Bug libc/9894] New: Support for PI futexes wrongly marked as introduced in 2.6.18 aurelien at aurel32 dot net
                   ` (9 preceding siblings ...)
  2009-04-15 20:47 ` jsm28 at gcc dot gnu dot org
@ 2009-05-01 10:57 ` aurelien at aurel32 dot net
  10 siblings, 0 replies; 12+ messages in thread
From: aurelien at aurel32 dot net @ 2009-05-01 10:57 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aurelien at aurel32 dot net  2009-05-01 10:56 -------
I fully agree that we can do a ports specific patch until the other patch is 
applied to libc. However it would be a lot easier to apply the libc patch 
first. 

What is the problem with the current libc patch? It is not specific to ports as 
it also concerns two main architectures from libc, that is sparc and sh.

-- 


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

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

end of thread, other threads:[~2009-05-01 10:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-24 23:20 [Bug libc/9894] New: Support for PI futexes wrongly marked as introduced in 2.6.18 aurelien at aurel32 dot net
2009-02-24 23:20 ` [Bug libc/9894] " aurelien at aurel32 dot net
2009-02-24 23:21 ` aurelien at aurel32 dot net
2009-02-24 23:21 ` aurelien at aurel32 dot net
2009-02-24 23:21 ` aurelien at aurel32 dot net
2009-02-27 15:07 ` aurelien at aurel32 dot net
2009-02-27 15:08 ` aurelien at aurel32 dot net
2009-02-27 15:09 ` aurelien at aurel32 dot net
2009-02-27 15:09 ` aurelien at aurel32 dot net
2009-02-27 15:09 ` aurelien at aurel32 dot net
2009-04-15 20:47 ` jsm28 at gcc dot gnu dot org
2009-05-01 10:57 ` aurelien at aurel32 dot net

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).