[glibc] 01/01: hurd-i386/cvs-libpthread.diff: Update to latest upstream version
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch sid in repository glibc. commit 15e1c6cc42feae850d8b0c0bb334f0ba4d9194d1 Author: Samuel Thibault Date: Mon Oct 24 22:39:58 2016 +0200 hurd-i386/cvs-libpthread.diff: Update to latest upstream version Avoids raise loop when called before libpthread init. --- debian/patches/hurd-i386/cvs-libpthread.diff | 29 +++- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/debian/patches/hurd-i386/cvs-libpthread.diff b/debian/patches/hurd-i386/cvs-libpthread.diff index 022df25..99f344d 100644 --- a/debian/patches/hurd-i386/cvs-libpthread.diff +++ b/debian/patches/hurd-i386/cvs-libpthread.diff @@ -1,13 +1,13 @@ -git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ --dst-prefix=glibc/libpthread/ 05babf965ec39be7e1c8a7306ec1c60b1e614654 +git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ --dst-prefix=glibc/libpthread/ 79e9d2b78ec0747a94731d45e0e5149269e96159 from git.savannah.gnu.org:/srv/git/hurd/libpthread.git/ thus by construction only libpthread/ files, thus hurd-only -Date: Tue Oct 18 02:10:41 2016 +0200 +Date: Mon Oct 24 22:34:36 2016 +0200 ChangeLog | 6 + Makeconfig| 13 + Makefile | 371 TODO | 131 - Versions | 146 + + Versions | 147 + configure | 2 + configure.in | 4 + forward.c | 280 + @@ -40,7 +40,7 @@ Date: Tue Oct 18 02:10:41 2016 +0200 pthread/pt-spin-inlines.c | 34 ++ pthread/pt-testcancel.c | 36 ++ pthread/pt-yield.c| 26 + - pthreadP.h| 26 + + pthreadP.h| 27 + shlib-versions| 1 + sysdeps/generic/fork.h| 29 + sysdeps/generic/old_pt-atfork.c | 27 + @@ -138,7 +138,7 @@ Date: Tue Oct 18 02:10:41 2016 +0200 sysdeps/generic/pt-setschedprio.c | 29 + sysdeps/generic/pt-setspecific.c | 27 + sysdeps/generic/pt-startup.c | 25 + - sysdeps/generic/raise.c | 50 ++ + sysdeps/generic/raise.c | 51 ++ sysdeps/generic/sem-close.c | 32 + sysdeps/generic/sem-destroy.c | 38 ++ sysdeps/generic/sem-getvalue.c| 33 + @@ -233,7 +233,7 @@ Date: Tue Oct 18 02:10:41 2016 +0200 tests/test-8.c| 60 ++ tests/test-9.c| 88 +++ tests/test-__pthread_destroy_specific-skip.c | 83 +++ - 230 files changed, 13149 insertions(+) + 230 files changed, 13152 insertions(+) diff --git glibc/libpthread/ChangeLog glibc/libpthread/ChangeLog new file mode 100644 @@ -782,10 +782,10 @@ index 000..979c38c + http://sources.redhat.com/ml/libc-alpha/2002-08/msg00278.html. diff --git glibc/libpthread/Versions glibc/libpthread/Versions new file mode 100644 -index 000..089c6b5 +index 000..4ad3c3e --- /dev/null +++ glibc/libpthread/Versions -@@ -0,0 +1,146 @@ +@@ -0,0 +1,147 @@ +libc { + GLIBC_2.13 { +pthread_attr_destroy; pthread_attr_getdetachstate; @@ -930,6 +930,7 @@ index 000..089c6b5 + } + GLIBC_PRIVATE { +__shm_directory; ++__pthread_threads; + } +} diff --git glibc/libpthread/configure glibc/libpthread/configure @@ -4305,10 +4306,10 @@ index 000..27848bb +} diff --git glibc/libpthread/pthreadP.h glibc/libpthread/pthreadP.h new file mode 100644 -index 000..f1fd625 +index 000..97e3028 --- /dev/null +++ glibc/libpthread/pthreadP.h -@@ -0,0 +1,26 @@ +@@ -0,0 +1,27 @@ +/* Copyright (C) 2016 Free Software Foundation, Inc. + This file is part of the GNU C Library. + @@ -4333,6 +4334,7 @@ index 000..f1fd625 + +extern pthread_t __pthread_self (void); +extern int __pthread_kill (pthread_t threadid, int signo); ++extern struct __pthread **__pthread_threads; + +#endif/* pthreadP.h */ diff --git glibc/libpthread/shlib-versions glibc/libpthread/shlib-versions @@ -8906,10 +8908,10 @@ index 000..c21a181 +} diff --git glibc/libpthread/sysdeps/generic/raise.c glibc/libpthread/sysdeps/generic/raise.c new file mode 100644 -index 000..cc18b39 +index 000..b98cf51 --- /dev/null +++ glibc/libpthread/sysdeps/generic/raise.c -@@ -0,0 +1,50 @@ +@@ -0,0 +1,51 @@ +/* raise.c - Generic raise implementation. + Copyright (C) 2008 Free Software Foundation, Inc. + Written by Neal H. Walfield . @@ -8936,6 +8938,7 @@ index 000..cc18b39 + +#pragma we
[glibc] 01/01: hurd-i386/cvs-libpthread.diff: Update to latest upstream version.
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch sid in repository glibc. commit 0a4ca2751c98639073ae88e2fbe8476fbc450980 Author: Samuel Thibault Date: Mon Oct 24 06:23:56 2016 + hurd-i386/cvs-libpthread.diff: Update to latest upstream version. - hurd-i386/cvs-libpthread-static-weak.diff: Drop, merged upstream. - hurd-i386/cvs-pthread-atfork.diff: Drop, merged upstream. - hurd-i386/cvs-setcancelstate.diff: Drop, merged upstream. --- debian/changelog | 4 + .../hurd-i386/cvs-libpthread-static-weak.diff | 22 debian/patches/hurd-i386/cvs-libpthread.diff | 114 ++ debian/patches/hurd-i386/cvs-pthread-atfork.diff | 133 - debian/patches/hurd-i386/cvs-setcancelstate.diff | 24 debian/patches/series | 3 - 6 files changed, 97 insertions(+), 203 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2df4aaa..6f40928 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,10 @@ glibc (2.24-6) UNRELEASED; urgency=medium [ Samuel Thibault ] * libc0.3.symbols.hurd-i386: Drop removed RPCs. + * hurd-i386/cvs-libpthread.diff: Update to latest upstream version. +- hurd-i386/cvs-libpthread-static-weak.diff: Drop, merged upstream. +- hurd-i386/cvs-pthread-atfork.diff: Drop, merged upstream. +- hurd-i386/cvs-setcancelstate.diff: Drop, merged upstream. -- Aurelien Jarno Tue, 18 Oct 2016 23:17:42 +0200 diff --git a/debian/patches/hurd-i386/cvs-libpthread-static-weak.diff b/debian/patches/hurd-i386/cvs-libpthread-static-weak.diff deleted file mode 100644 index dbd52e7..000 --- a/debian/patches/hurd-i386/cvs-libpthread-static-weak.diff +++ /dev/null @@ -1,22 +0,0 @@ -commit 2ca42af6c07afed6a5e94e8e3c889c728869fd2f -Author: Samuel Thibault -Date: Mon Oct 17 02:30:14 2016 +0200 - -Fix too weak references when linking libpthread statically - -* sysdeps/pthread/libc-lockP.h [IS_IN (libpthread)]: Do not make __pthread -symbols weak. - -diff --git a/libpthread/sysdeps/pthread/libc-lockP.h b/libpthread/sysdeps/pthread/libc-lockP.h -index 2631e0c..c04881d 100644 a/libpthread/sysdeps/pthread/libc-lockP.h -+++ b/libpthread/sysdeps/pthread/libc-lockP.h -@@ -106,7 +106,7 @@ extern int __pthread_atfork (void (*__prepare) (void), - - /* Make the pthread functions weak so that we can elide them from -single-threaded processes. */ --#ifndef __NO_WEAK_PTHREAD_ALIASES -+#if !defined(__NO_WEAK_PTHREAD_ALIASES) && !IS_IN (libpthread) - # ifdef weak_extern - weak_extern (__pthread_mutex_init) - weak_extern (__pthread_mutex_destroy) diff --git a/debian/patches/hurd-i386/cvs-libpthread.diff b/debian/patches/hurd-i386/cvs-libpthread.diff index b335553..022df25 100644 --- a/debian/patches/hurd-i386/cvs-libpthread.diff +++ b/debian/patches/hurd-i386/cvs-libpthread.diff @@ -1,11 +1,11 @@ -git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ --dst-prefix=glibc/libpthread/ 9705f94a6126281c2a909d8bf3c23fad818183fc +git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ --dst-prefix=glibc/libpthread/ 05babf965ec39be7e1c8a7306ec1c60b1e614654 from git.savannah.gnu.org:/srv/git/hurd/libpthread.git/ thus by construction only libpthread/ files, thus hurd-only -Date: Sun Oct 9 13:25:00 2016 +0200 +Date: Tue Oct 18 02:10:41 2016 +0200 ChangeLog | 6 + - Makeconfig| 12 + - Makefile | 335 +++ + Makeconfig| 13 + + Makefile | 371 TODO | 131 Versions | 146 + configure | 2 + @@ -43,7 +43,8 @@ Date: Sun Oct 9 13:25:00 2016 +0200 pthreadP.h| 26 + shlib-versions| 1 + sysdeps/generic/fork.h| 29 + - sysdeps/generic/pt-atfork.c | 33 + + sysdeps/generic/old_pt-atfork.c | 27 + + sysdeps/generic/pt-atfork.c | 34 ++ sysdeps/generic/pt-attr-destroy.c | 28 + sysdeps/generic/pt-attr-getdetachstate.c | 31 + sysdeps/generic/pt-attr-getguardsize.c| 29 + @@ -232,7 +233,7 @@ Date: Sun Oct 9 13:25:00 2016 +0200 tests/test-8.c| 60 ++ tests/test-9.c| 88 +++ tests/test-__pthread_destroy_specific-skip.c | 83 +++ - 229 files changed, 13084 insertions(+) + 230 files changed, 13149 insertions(+) diff --git glibc/libpthread/ChangeLog glibc/libpthread/ChangeLog new file mode 100644 @@ -248,16 +249,17 @@ index 000..e991eac +$ git show 51839d398b0f9885a1