On 20090220.0418+0100, Hugo Vincent <hugo.vincent@grcnz.com> wrote:
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Feb 23 22:31:07 2009 +0000 (2009-02-23)
changeset 1216331bd4bc4305
parent 1215 11df94e12b58
child 1217 83133dd8fb7e
On 20090220.0418+0100, Hugo Vincent <hugo.vincent@grcnz.com> 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(+)
patches/glibc/ports-2_9/100-arm_linux_tls.patch
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/ports-2_9/100-arm_linux_tls.patch	Mon Feb 23 22:31:07 2009 +0000
     1.3 @@ -0,0 +1,14 @@
     1.4 +Original patch from http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html
     1.5 +
     1.6 +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
     1.7 +--- glibc-2_9.orig/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h 25 Nov 2008 16:37:26 -0000 1.33
     1.8 ++++ glibc-2_9/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h 27 Jan 2009 15:35:38 -0000
     1.9 +@@ -28,6 +28,8 @@
    1.10 + /* Defines RTLD_PRIVATE_ERRNO and USE_DL_SYSINFO.  */
    1.11 + #include <dl-sysdep.h>
    1.12 + 
    1.13 ++#include <tls.h>
    1.14 ++
    1.15 + /* For Linux we can use the system call table in the header file
    1.16 +	/usr/include/asm/unistd.h
    1.17 +    of the kernel.  But these symbols do not follow the SYS_* syntax