This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/6740] Build failiure on powerpc when using --enable-kernel=2.6.22 or higher


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]