public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/6740] New: Build failiure on powerpc when using --enable-kernel=2.6.22 or higher
@ 2008-07-11 20:31 cseo at linux dot vnet dot ibm dot com
  2008-07-11 20:40 ` [Bug math/6740] " rsa at us dot ibm dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: cseo at linux dot vnet dot ibm dot com @ 2008-07-11 20:31 UTC (permalink / raw)
  To: glibc-bugs

Recently, Hiroki Kaminaga reported a build failure on powerpc  on libc-help:

http://sourceware.org/ml/libc-help/2008-04/msg00002.html

This happens when building using the option '--enable-kernel=<version>', where
<version> is 2.6.22 or higher. Investigation shows that this happens because a
missing __ASSUME_PRIVATE_FUTEX guard around the usage of struct pthread's struct
header, private_futex member.

-- 
           Summary: Build failiure on powerpc when using --enable-
                    kernel=2.6.22 or higher
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: cseo at linux dot vnet dot ibm dot com
        ReportedBy: cseo at linux dot vnet dot ibm dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: powerpc-linux


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

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

* [Bug math/6740] Build failiure on powerpc when using --enable-kernel=2.6.22 or higher
  2008-07-11 20:31 [Bug math/6740] New: Build failiure on powerpc when using --enable-kernel=2.6.22 or higher cseo at linux dot vnet dot ibm dot com
@ 2008-07-11 20:40 ` rsa at us dot ibm dot com
  2008-07-11 20:53 ` cseo at linux dot vnet dot ibm dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rsa at us dot ibm dot com @ 2008-07-11 20:40 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From rsa at us dot ibm dot com  2008-07-11 20:40 -------
The following patch is part of a patch that was submitted by Hiroki Kaminaga to
libc-help on April 28, 2008.

Here's a summary of the analysis I performed upon his original patch which
excludes the necessity of adding tcbhead_t.private_futex in
nptl/sysdeps/powerpc/tls.h

http://sourceware.org/ml/libc-help/2008-07/msg00042.html

I've attached a ChangeLog.

2008-04-28  Hiroki Kaminaga  <kaminaga@sm.sony.co.jp>

	[BZ 6740]
	nptl/sysdeps/powerpc/tcb-offsets.sym (PRIVATE_FUTEX_OFFSET):
	Guard sym definition with #ifndef __ASSUME_PRIVATE_FUTEX.

--- a/nptl/sysdeps/powerpc/tcb-offsets.sym
+++ b/nptl/sysdeps/powerpc/tcb-offsets.sym
@@ -15,4 +15,6 @@ MULTIPLE_THREADS_OFFSET               thread_offsetof
 PID                            thread_offsetof (pid)
 TID                            thread_offsetof (tid)
 POINTER_GUARD                  (offsetof (tcbhead_t, pointer_guard) -
TLS_TCB_OFFSET - sizeof (tcbhead_t))
+#ifndef __ASSUME_PRIVATE_FUTEX
 PRIVATE_FUTEX_OFFSET           thread_offsetof (header.private_futex)
+#endif

-- 


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

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

* [Bug math/6740] Build failiure on powerpc when using --enable-kernel=2.6.22 or higher
  2008-07-11 20:31 [Bug math/6740] New: Build failiure on powerpc when using --enable-kernel=2.6.22 or higher cseo at linux dot vnet dot ibm dot com
  2008-07-11 20:40 ` [Bug math/6740] " rsa at us dot ibm dot com
@ 2008-07-11 20:53 ` cseo at linux dot vnet dot ibm dot com
  2008-07-14 15:09 ` rsa at us dot ibm dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: cseo at linux dot vnet dot ibm dot com @ 2008-07-11 20:53 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From cseo at linux dot vnet dot ibm dot com  2008-07-11 20:52 -------
Build completed successfully with '--enable-kernel=2.6.22' using the previously
attached patch.

-- 


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

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

* [Bug math/6740] Build failiure on powerpc when using --enable-kernel=2.6.22 or higher
  2008-07-11 20:31 [Bug math/6740] New: Build failiure on powerpc when using --enable-kernel=2.6.22 or higher cseo at linux dot vnet dot ibm dot com
  2008-07-11 20:40 ` [Bug math/6740] " rsa at us dot ibm dot com
  2008-07-11 20:53 ` cseo at linux dot vnet dot ibm dot com
@ 2008-07-14 15:09 ` rsa at us dot ibm dot com
  2008-07-14 15:10 ` rsa at us dot ibm dot com
  2008-07-26 16:27 ` [Bug nptl/6740] " drepper at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: rsa at us dot ibm dot com @ 2008-07-14 15:09 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From rsa at us dot ibm dot com  2008-07-14 15:09 -------
link to libc-alpha posting where this is submitted:

http://www.sourceware.org/ml/libc-alpha/2008-07/msg00021.html

-- 


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

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

* [Bug math/6740] Build failiure on powerpc when using --enable-kernel=2.6.22 or higher
  2008-07-11 20:31 [Bug math/6740] New: Build failiure on powerpc when using --enable-kernel=2.6.22 or higher cseo at linux dot vnet dot ibm dot com
                   ` (2 preceding siblings ...)
  2008-07-14 15:09 ` rsa at us dot ibm dot com
@ 2008-07-14 15:10 ` rsa at us dot ibm dot com
  2008-07-26 16:27 ` [Bug nptl/6740] " drepper at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: rsa at us dot ibm dot com @ 2008-07-14 15:10 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED


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

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

* [Bug nptl/6740] Build failiure on powerpc when using --enable-kernel=2.6.22 or higher
  2008-07-11 20:31 [Bug math/6740] New: Build failiure on powerpc when using --enable-kernel=2.6.22 or higher cseo at linux dot vnet dot ibm dot com
                   ` (3 preceding siblings ...)
  2008-07-14 15:10 ` rsa at us dot ibm dot com
@ 2008-07-26 16:27 ` drepper at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: drepper at redhat dot com @ 2008-07-26 16:27 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2008-07-26 16:26 -------
Fixed in cvs.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
          Component|math                        |nptl
         Resolution|                            |FIXED


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

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

end of thread, other threads:[~2008-07-26 16:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-11 20:31 [Bug math/6740] New: Build failiure on powerpc when using --enable-kernel=2.6.22 or higher cseo at linux dot vnet dot ibm dot com
2008-07-11 20:40 ` [Bug math/6740] " rsa at us dot ibm dot com
2008-07-11 20:53 ` cseo at linux dot vnet dot ibm dot com
2008-07-14 15:09 ` rsa at us dot ibm dot com
2008-07-14 15:10 ` rsa at us dot ibm dot com
2008-07-26 16:27 ` [Bug nptl/6740] " 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).