patches/glibc/ports-2.9/110-arm-fix-sjlj-for-fpu.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Tue Jul 31 22:27:29 2012 +0200 (2012-07-31)
changeset 3018 7776e8369284
permissions -rw-r--r--
complibs/cloog: create missing m4 dir

Because we now patch configure.in and configure, the Makefile quicks
in a re-build rule as the source files are now more recent than the
bundled generated files, and that fails because the m4 directory
is missing, although on some systems where aclocal is not installed,
the re-build rule does nothing (except a warning).

Always create tht directory.

Reported-by: Per Arnold Blaasmo <per-arnold.blaasmo@atmel.com>
[Also thanks to Thomas De Schampheleire <patrickdepinguin@gmail.com>
for some digging works on this issue]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 From: Mike Frysinger <vapier at gentoo dot org>
     2 To: libc-ports at sourceware dot org
     3 Subject: [PATCH] arm/fpu/setjmp.S: add missing hidden def
     4 Date: Thu, 25 Dec 2008 23:08:56 -0500
     5 
     6 All the other arm setjmp.S files provide a hidden alias for __sigsetjmp.
     7 Without this, we get a nice build failure like so:
     8 
     9 /var/tmp/cross/armv4l-unknown-linux-gnu/portage/cross-armv4l-unknown-linux-gnu/glibc-2.9_p20081201/work/build-default-armv4l-unknown-linux-gnu-nptl/libc_pic.os: In function `setjmp':
    10 unwind-pe.c:(.text+0x15a54): undefined reference to `__GI___sigsetjmp'
    11 /var/tmp/cross/armv4l-unknown-linux-gnu/portage/cross-armv4l-unknown-linux-gnu/glibc-2.9_p20081201/work/build-default-armv4l-unknown-linux-gnu-nptl/libc_pic.os: In function `__GI__setjmp':
    12 unwind-pe.c:(.text+0x15a64): undefined reference to `__GI___sigsetjmp'
    13 collect2: ld returned 1 exit status
    14 make[1]: *** [/var/tmp/cross/armv4l-unknown-linux-gnu/portage/cross-armv4l-unknown-linux-gnu/glibc-2.9_p20081201/work/build-default-armv4l-unknown-linux-gnu-nptl/libc.so] Error 1
    15 
    16 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
    17 ---
    18  sysdeps/arm/fpu/setjmp.S |    2 ++
    19  1 files changed, 2 insertions(+), 0 deletions(-)
    20 
    21 diff --git a/sysdeps/arm/fpu/setjmp.S b/sysdeps/arm/fpu/setjmp.S
    22 index 8432836..82a7e19 100644
    23 --- a/ports/sysdeps/arm/fpu/setjmp.S
    24 +++ b/ports/sysdeps/arm/fpu/setjmp.S
    25 @@ -33,3 +33,5 @@ ENTRY (__sigsetjmp)
    26  	/* Make a tail call to __sigjmp_save; it takes the same args.  */
    27  	B	PLTJMP(C_SYMBOL_NAME(__sigjmp_save))
    28  END (__sigsetjmp)
    29 +
    30 +hidden_def (__sigsetjmp)