patches/glibc/ports-2.9/110-arm-fix-sjlj-for-fpu.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 02 18:28:10 2011 +0200 (2011-08-02)
changeset 2590 b64cfb67944e
permissions -rw-r--r--
scripts/functions: svn retrieval first tries the mirror for tarballs

The svn download helper looks for the local tarballs dir to see if it
can find a pre-downloaded tarball, and if it does not find it, does
the actual fetch to upstream via svn.

In the process, it does not even try to get a tarball from the local
mirror, which can be useful if the mirror has been pre-populated
manually (or with a previously downloaded tree).

Fake a tarball get with the standard tarball-download helper, but
without specifying any upstream URL, which makes the helper directly
try the LAN mirror.

Of course, if no mirror is specified, no URL wil be available, and
the standard svn retrieval will kick in.

Reported-by: ANDY KENNEDY <ANDY.KENNEDY@adtran.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@1871
     1
From: Mike Frysinger <vapier at gentoo dot org>
yann@1871
     2
To: libc-ports at sourceware dot org
yann@1871
     3
Subject: [PATCH] arm/fpu/setjmp.S: add missing hidden def
yann@1871
     4
Date: Thu, 25 Dec 2008 23:08:56 -0500
yann@1871
     5
yann@1871
     6
All the other arm setjmp.S files provide a hidden alias for __sigsetjmp.
yann@1871
     7
Without this, we get a nice build failure like so:
yann@1871
     8
yann@1871
     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':
yann@1871
    10
unwind-pe.c:(.text+0x15a54): undefined reference to `__GI___sigsetjmp'
yann@1871
    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':
yann@1871
    12
unwind-pe.c:(.text+0x15a64): undefined reference to `__GI___sigsetjmp'
yann@1871
    13
collect2: ld returned 1 exit status
yann@1871
    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
yann@1871
    15
yann@1871
    16
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
yann@1871
    17
---
yann@1871
    18
 sysdeps/arm/fpu/setjmp.S |    2 ++
yann@1871
    19
 1 files changed, 2 insertions(+), 0 deletions(-)
yann@1871
    20
yann@1871
    21
diff --git a/sysdeps/arm/fpu/setjmp.S b/sysdeps/arm/fpu/setjmp.S
yann@1871
    22
index 8432836..82a7e19 100644
yann@1871
    23
--- a/ports/sysdeps/arm/fpu/setjmp.S
yann@1871
    24
+++ b/ports/sysdeps/arm/fpu/setjmp.S
yann@1871
    25
@@ -33,3 +33,5 @@ ENTRY (__sigsetjmp)
yann@1871
    26
 	/* Make a tail call to __sigjmp_save; it takes the same args.  */
yann@1871
    27
 	B	PLTJMP(C_SYMBOL_NAME(__sigjmp_save))
yann@1871
    28
 END (__sigsetjmp)
yann@1871
    29
+
yann@1871
    30
+hidden_def (__sigsetjmp)