summaryrefslogtreecommitdiff
path: root/patches/glibc/linuxthreads-2.3.2/glibc-2.3.2-sparc64-sigproc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/glibc/linuxthreads-2.3.2/glibc-2.3.2-sparc64-sigproc.patch')
-rw-r--r--patches/glibc/linuxthreads-2.3.2/glibc-2.3.2-sparc64-sigproc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/glibc/linuxthreads-2.3.2/glibc-2.3.2-sparc64-sigproc.patch b/patches/glibc/linuxthreads-2.3.2/glibc-2.3.2-sparc64-sigproc.patch
new file mode 100644
index 0000000..90ecc88
--- /dev/null
+++ b/patches/glibc/linuxthreads-2.3.2/glibc-2.3.2-sparc64-sigproc.patch
@@ -0,0 +1,26 @@
+From: "M.H.VanLeeuwen"
+Subject: crosstool, sparc64, linux 2.6.4, gcc 3.3.3, glibc 2.3.2 success
+Date: Mon, 15 Mar 2004 00:23:04 -0600
+To: crossgcc@sources.redhat.com
+Message-ID: <40554BC8.749A5EC3@megsinet.net>
+...
+
+backported from GLIBC CVS
+
+Fix this error:
+
+/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':
+: undefined reference to `__sigprocmask'
+collect2: ld returned 1 exit status
+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
+
+
+--- /cross/sources/glibc-2.3.2/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile Wed Dec 31 18:00:00 1969
++++ glibc-2.3.2/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile Sat Mar 13 10:18:43 2004
+@@ -0,0 +1,5 @@
++# glibc makefile fragment for linuxthreads on sparc/sparc64.
++
++ifeq ($(subdir),linuxthreads)
++libpthread-routines += ptw-sigprocmask
++endif
+