patches/glibc/linuxthreads-2.3.2/glibc-2.3.2-sparc64-sigproc.patch
changeset 336 4b0db42fc078
parent 335 f0d84f1d4c93
child 337 f083425c84e3
     1.1 --- a/patches/glibc/linuxthreads-2.3.2/glibc-2.3.2-sparc64-sigproc.patch	Wed Aug 15 16:18:35 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,26 +0,0 @@
     1.4 -From: "M.H.VanLeeuwen" 
     1.5 -Subject: crosstool, sparc64, linux 2.6.4, gcc 3.3.3, glibc 2.3.2 success
     1.6 -Date: Mon, 15 Mar 2004 00:23:04 -0600
     1.7 -To: crossgcc@sources.redhat.com
     1.8 -Message-ID: <40554BC8.749A5EC3@megsinet.net>
     1.9 -...
    1.10 -
    1.11 -backported from GLIBC CVS
    1.12 -
    1.13 -Fix this error:
    1.14 -
    1.15 -/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':
    1.16 -: undefined reference to `__sigprocmask'
    1.17 -collect2: ld returned 1 exit status
    1.18 -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
    1.19 -
    1.20 -
    1.21 ---- /cross/sources/glibc-2.3.2/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile	Wed Dec 31 18:00:00 1969
    1.22 -+++ glibc-2.3.2/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile	Sat Mar 13 10:18:43 2004
    1.23 -@@ -0,0 +1,5 @@
    1.24 -+# glibc makefile fragment for linuxthreads on sparc/sparc64.
    1.25 -+
    1.26 -+ifeq ($(subdir),linuxthreads)
    1.27 -+libpthread-routines += ptw-sigprocmask
    1.28 -+endif
    1.29 -