patches/linux/2.4.26/130-linux-2.4.26-allow-gcc-3.4-arm-kernel.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 13 10:32:38 2008 +0000 (2008-07-13)
changeset 645 8e58024f8e37
permissions -rw-r--r--
Ioannis E. VENETIS <venetis@mail.capsl.udel.edu> pointed out that GMP and MPFR were not used by gcc.
Turned out that none could use GMP and MPFR as the config option changed its name, but the change was not propagated to all users.

/trunk/scripts/build/binutils.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +-
/trunk/scripts/build/cc_gcc.sh | 6 3 3 0 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
     1 Fixes
     2 semaphore.c:180:5: missing terminating " character
     3 semaphore.c:213:9: missing terminating " character
     4 make[1]: *** [semaphore.o] Error 1
     5 make[1]: Leaving directory `/home/dank/queue/jobdir.fast/crosstool-dev/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.2.5/linux-2.4.26/arch/arm/kernel'
     6 make: *** [_dir_arch/arm/kernel] Error 2
     7 
     8 when building kernel.org 2.4.26 for arm with gcc-3.3.x
     9 (Note: one probably wants to apply ftp://ftp.arm.linux.org.uk/pub/armlinux/source/kernel-patches/v2.4/patch-2.4.26-vrs1.bz2
    10 instead of my patches when really building 2.4.26 for arm;
    11 my patches only include the bare minimum to get the vanilla kernel to compile.)
    12 
    13 --- linux-2.4.26/arch/arm/kernel/semaphore.c.old	Mon Mar 21 06:50:38 2005
    14 +++ linux-2.4.26/arch/arm/kernel/semaphore.c	Mon Mar 21 06:50:55 2005
    15 @@ -193,7 +193,7 @@
    16  	bl	__down_interruptible		\n\
    17  	mov	ip, r0				\n\
    18  	ldmfd	sp!, {r0 - r3, pc}^		\n\
    19 -
    20 +						\n\
    21  	.align	5				\n\
    22  	.globl	__down_trylock_failed		\n\
    23  __down_trylock_failed:				\n\