patches/glibc/linuxthreads-2.3.2/glibc-2.3.2-sparc64-sigproc.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun May 06 21:47:29 2007 +0000 (2007-05-06)
changeset 62 651912c5477c
permissions -rw-r--r--
Linux kernel headers install does not need the kernel to be configured. Dropping this unneccessary step.
yann@1
     1
From: "M.H.VanLeeuwen" 
yann@1
     2
Subject: crosstool, sparc64, linux 2.6.4, gcc 3.3.3, glibc 2.3.2 success
yann@1
     3
Date: Mon, 15 Mar 2004 00:23:04 -0600
yann@1
     4
To: crossgcc@sources.redhat.com
yann@1
     5
Message-ID: <40554BC8.749A5EC3@megsinet.net>
yann@1
     6
...
yann@1
     7
yann@1
     8
backported from GLIBC CVS
yann@1
     9
yann@1
    10
Fix this error:
yann@1
    11
yann@1
    12
/cross/crosstool-0.27/build/sparc64-unknown-linux-gnu/gcc-3.3.3-glibc-2.3.2/build-glibc/linuxthreads/libpthread_pic.a(ptw-pause.os)(.text+0x2c): In function `pause':
yann@1
    13
: undefined reference to `__sigprocmask'
yann@1
    14
collect2: ld returned 1 exit status
yann@1
    15
make[2]: *** [/cross/crosstool-0.27/build/sparc64-unknown-linux-gnu/gcc-3.3.3-glibc-2.3.2/build-glibc/linuxthreads/libpthread.so] Error 1
yann@1
    16
yann@1
    17
yann@1
    18
--- /cross/sources/glibc-2.3.2/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile	Wed Dec 31 18:00:00 1969
yann@1
    19
+++ glibc-2.3.2/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile	Sat Mar 13 10:18:43 2004
yann@1
    20
@@ -0,0 +1,5 @@
yann@1
    21
+# glibc makefile fragment for linuxthreads on sparc/sparc64.
yann@1
    22
+
yann@1
    23
+ifeq ($(subdir),linuxthreads)
yann@1
    24
+libpthread-routines += ptw-sigprocmask
yann@1
    25
+endif
yann@1
    26