summaryrefslogtreecommitdiff
path: root/packages/glibc/eglibc-svn/eglibc-svn-arm-lowlevellock-include-tls.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2008-04-07 00:01:06 +0000
committerKhem Raj <raj.khem@gmail.com>2008-04-07 00:01:06 +0000
commit5bf32077166ced5bb9d528ea15f4e0c8f8a73134 (patch)
treead577efa4342b123f845726a5d8b6c206ba90443 /packages/glibc/eglibc-svn/eglibc-svn-arm-lowlevellock-include-tls.patch
parentfbca01e0fc7d470346573de02b3f0e7dbf8dd6a4 (diff)
Fix eglibc to make it build using OABI.
Bring up to latest stable svn revision. Fix unused global variable problem in eglibc-package.bbclass.
Diffstat (limited to 'packages/glibc/eglibc-svn/eglibc-svn-arm-lowlevellock-include-tls.patch')
-rw-r--r--packages/glibc/eglibc-svn/eglibc-svn-arm-lowlevellock-include-tls.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/glibc/eglibc-svn/eglibc-svn-arm-lowlevellock-include-tls.patch b/packages/glibc/eglibc-svn/eglibc-svn-arm-lowlevellock-include-tls.patch
new file mode 100644
index 0000000000..99c3fef802
--- /dev/null
+++ b/packages/glibc/eglibc-svn/eglibc-svn-arm-lowlevellock-include-tls.patch
@@ -0,0 +1,19 @@
+In file included from ../nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c:21:
+../nptl/sysdeps/unix/sysv/linux/lowlevellock.c: In function '__lll_lock_wait_private':
+../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: warning: implicit declaration of function 'THREAD_GETMEM'
+../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: error: 'THREAD_SELF' undeclared (first use in this function)
+../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: error: (Each undeclared identifier is reported only once
+../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: error: for each function it appears in.)
+../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: error: 'header' undeclared (first use in this function)
+make[4]: *** [/var/tmp/portage/sys-libs/glibc-2.7-r1/work/build-default-armv4l-unknown-linux-gnu-nptl/nptl/rtld-libc-lowlevellock.os] Error 1
+
+--- libc/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h.orig
++++ libc/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
+@@ -25,6 +25,7 @@
+ #include <atomic.h>
+ #include <sysdep.h>
+ #include <kernel-features.h>
++#include <tls.h>
+
+ #define FUTEX_WAIT 0
+ #define FUTEX_WAKE 1