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] |
hi again, El Mon, May 12, 2008 at 05:00:32PM +0200 Matthias Kaehlcke ha dit: > 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 in my first attempt i build an EABI toolchain. later i tried to build the same toolchain with OABI but it failed with an assembler error. googling i found the following solution: http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo/src/patchsets/glibc/2.7/6225_all_glibc-2.7-cargs6.patch below is a new patch that fixes the assembler error and the include problem of the initial patch for if someone is interested i attached the configuration files for building crosstool-ng with glibc 2.7 (EABI and OABI) that work for me in combination with these patches -- diff -urN crosstool-ng-1.1.0.orig/patches/glibc/ports-2.7/100-ARM-asm-page.patch crosstool-ng-1.1.0/patches/glibc/ports-2.7/100-ARM-asm-page.patch --- crosstool-ng-1.1.0.orig/patches/glibc/ports-2.7/100-ARM-asm-page.patch 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-ng-1.1.0/patches/glibc/ports-2.7/100-ARM-asm-page.patch 2008-05-12 22:24:09.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" diff -urN crosstool-ng-1.1.0.orig/patches/glibc/ports-2.7/110-ARM-NPTL.patch crosstool-ng-1.1.0/patches/glibc/ports-2.7/110-ARM-NPTL.patch --- crosstool-ng-1.1.0.orig/patches/glibc/ports-2.7/110-ARM-NPTL.patch 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-ng-1.1.0/patches/glibc/ports-2.7/110-ARM-NPTL.patch 2008-05-12 22:24:34.000000000 +0200 @@ -0,0 +1,12 @@ +--- glibc-2.7.orig/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2008-05-12 19:47:13.000000000 +0200 ++++ glibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2008-05-12 19:48:11.000000000 +0200 +@@ -73,6 +73,9 @@ + # define DOCARGS_5 DOCARGS_4 + # define UNDOCARGS_5 UNDOCARGS_4 + ++# define DOCARGS_6 DOCARGS_5 ++# define UNDOCARGS_6 UNDOCARGS_5 ++ + # ifdef IS_IN_libpthread + # define CENABLE bl PLTJMP(__pthread_enable_asynccancel) + # define CDISABLE bl PLTJMP(__pthread_disable_asynccancel) -- Matthias Kaehlcke Embedded Linux Engineer Barcelona You can't separate peace from freedom because no one can be at peace unless he has his freedom (Malcolm X) .''`. using free software / Debian GNU/Linux | http://debian.org : :' : `. `'` gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
Attachment:
config_glibc-2.7_EABI
Description: Text document
Attachment:
config_glibc-2.7_OABI
Description: Text document
-- 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] |