Fix building glibc-2.6.1 and glibc-2.7 for ARM with recent kernels.

Patch by Matthias Kaehlcke <matthias@kaehlcke.net>.

 /trunk/patches/glibc/ports-2.6.1/200-ARM-asm_page_h.patch |   11    11     0     0 +++++++++++
 /trunk/patches/glibc/ports-2.7/100-ARM-asm_page_h.patch   |   11    11     0     0 +++++++++++
 /trunk/docs/CREDITS                                       |    3     3     0     0 +++
 3 files changed, 25 insertions(+)
This commit is contained in:
Yann E. MORIN" 2008-05-18 14:53:11 +00:00
parent 7007cc858f
commit 2dd03634f1
3 changed files with 25 additions and 0 deletions

View File

@ -43,6 +43,9 @@ And in order of appearance on the crossgcc ML:
- a patch to glibc to build on 'ancient' shells
- reported mis-use of $CT_CC_NATIVE
Matthias Kaehlcke:
- fix building glibc-2.7 (and 2.6.1) with newer kernels
Many others have contributed, either in form of patches, suggestions,
comments, or testing... Thank you to all of you!

View File

@ -0,0 +1,11 @@
diff -durN glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/ioperm.c glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c
--- glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/ioperm.c 2005-06-10 13:12:09.000000000 +0200
+++ glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/ioperm.c 2008-05-18 16:19:45.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"

View File

@ -0,0 +1,11 @@
diff -durN glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/ioperm.c glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c
--- glibc-2.7.orig/glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c 2005-06-10 13:12:09.000000000 +0200
+++ glibc-2.7/glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c 2008-05-18 16:19:45.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"