From 5bf32077166ced5bb9d528ea15f4e0c8f8a73134 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 7 Apr 2008 00:01:06 +0000 Subject: Fix eglibc to make it build using OABI. Bring up to latest stable svn revision. Fix unused global variable problem in eglibc-package.bbclass. --- .../eglibc-svn-arm-lowlevellock-include-tls.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 packages/glibc/eglibc-svn/eglibc-svn-arm-lowlevellock-include-tls.patch (limited to 'packages/glibc/eglibc-svn/eglibc-svn-arm-lowlevellock-include-tls.patch') 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 + #include + #include ++#include + + #define FUTEX_WAIT 0 + #define FUTEX_WAKE 1 -- cgit v1.2.3