This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] crosstool-ng: ARM with glibc 2.7


ARM toolchains with glibc 2.7 don't build with crosstool-ng, due to an
include that is no longer exported by the linux kernel. the following
patch fixes this problem

--

diff -urN crosstool-ng-1.1.0.orig/patches/glibc/ports-2.7/100-ARM.patch crosstool-ng-1.1.0/patches/glibc/ports-2.7/100-ARM.patch
--- crosstool-ng-1.1.0.orig/patches/glibc/ports-2.7/100-ARM.patch	1970-01-01 01:00:00.000000000 +0100
+++ crosstool-ng-1.1.0/patches/glibc/ports-2.7/100-ARM.patch	2008-05-12 16:51:33.000000000 +0200
@@ -0,0 +1,10 @@
+--- glibc-2.7.orig/glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c	2008-05-12 13:09:37.000000000 +0200
++++ glibc-2.7/glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c	2008-05-12 13:09:50.000000000 +0200
+@@ -45,7 +45,6 @@
+ #include <sys/mman.h>
+ 
+ #include <linux/version.h>
+-#include <asm/page.h>
+ #include <sys/sysctl.h>
+ 
+ #define PATH_ARM_SYSTYPE	"/etc/arm_systype"

-- 
Matthias Kaehlcke
Embedded Linux Engineer
Barcelona

               If sharing a thing in no way diminishes it,
               it is not rightly owned if it is not shared
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4                  `-

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]