# HG changeset patch # User "Yann E. MORIN" # Date 1235428267 0 # Node ID 331bd4bc43053e9c6f3d6f6d9535953dbb1c2948 # Parent 11df94e12b580cb105b358178e25a8cf7d012c02 On 20090220.0418+0100, Hugo Vincent wrote: I'm using CTNG for some embedded Linux work on an ARM926ej-s, and when updating to glibc 2_9, I needed to use the attached patch to get it to build cleanly. /trunk/patches/glibc/ports-2_9/100-arm_linux_tls.patch | 14 14 0 0 ++++++++++++++ 1 file changed, 14 insertions(+) diff -r 11df94e12b58 -r 331bd4bc4305 patches/glibc/ports-2_9/100-arm_linux_tls.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/ports-2_9/100-arm_linux_tls.patch Mon Feb 23 22:31:07 2009 +0000 @@ -0,0 +1,14 @@ +Original patch from http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html + +diff -durN glibc-2_9.orig/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h glibc-2_9/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h +--- glibc-2_9.orig/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h 25 Nov 2008 16:37:26 -0000 1.33 ++++ glibc-2_9/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h 27 Jan 2009 15:35:38 -0000 +@@ -28,6 +28,8 @@ + /* Defines RTLD_PRIVATE_ERRNO and USE_DL_SYSINFO. */ + #include + ++#include ++ + /* For Linux we can use the system call table in the header file + /usr/include/asm/unistd.h + of the kernel. But these symbols do not follow the SYS_* syntax