This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: arm-linux compilation failure and possible fix
- From: Daniel Jacobowitz <drow at false dot org>
- To: Marko Lindqvist <cazfi74 at gmail dot com>
- Cc: libc-ports at sourceware dot org
- Date: Tue, 27 Jan 2009 10:36:29 -0500
- Subject: Re: arm-linux compilation failure and possible fix
- References: <ed7813ad0808291646l73fb7f68p8cec84cb91d934f2@mail.gmail.com>
On Sat, Aug 30, 2008 at 02:46:04AM +0300, Marko Lindqvist wrote:
> While trying to compile glibc 2.8 for arm-linux, I get compiler error
> like this:
Thanks for the report, sorry for the delay. I've checked in this
similar patch.
--
Daniel Jacobowitz
CodeSourcery
2009-01-27 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/unix/sysv/linux/arm/sysdep.h: Include <tls.h>.
Index: sysdeps/unix/sysv/linux/arm/sysdep.h
===================================================================
RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/arm/sysdep.h,v
retrieving revision 1.33
diff -u -p -r1.33 sysdep.h
--- sysdeps/unix/sysv/linux/arm/sysdep.h 25 Nov 2008 16:37:26 -0000 1.33
+++ 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 <dl-sysdep.h>
+#include <tls.h>
+
/* 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