[glibc] 01/01: patches/hurd-i386/cvs-libpthread.diff: update

2017-09-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.26
in repository glibc.

commit 7d402d69d261920a508c93c3f61581840276b692
Author: Samuel Thibault 
Date:   Sun Sep 3 15:13:54 2017 +

patches/hurd-i386/cvs-libpthread.diff: update
---
 debian/patches/hurd-i386/cvs-libpthread.diff | 66 ++--
 1 file changed, 62 insertions(+), 4 deletions(-)

diff --git a/debian/patches/hurd-i386/cvs-libpthread.diff 
b/debian/patches/hurd-i386/cvs-libpthread.diff
index 5bae62e..2771c86 100644
--- a/debian/patches/hurd-i386/cvs-libpthread.diff
+++ b/debian/patches/hurd-i386/cvs-libpthread.diff
@@ -1,7 +1,7 @@
-git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ 
--dst-prefix=glibc/libpthread/ ef0a8fccc49b69a9f229069278148fdccddf2541
+git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ 
--dst-prefix=glibc/libpthread/ 28ecdd1fccf631b74196836caac889a133a6d097
 from git.savannah.gnu.org:/srv/git/hurd/libpthread.git/
 thus by construction only libpthread/ files, thus hurd-only
-Date:   Sun Sep 3 05:45:11 2017 +0200
+Date: Sun Sep 3 15:57:52 2017 +0200
 
  ChangeLog |   6 +
  Makeconfig|  13 +
@@ -10182,6 +10182,63 @@ index 000..0dfc1f6
 +}
 +
 +#endif
+diff --git a/libpthread/sysdeps/i386/bits/pthreadtypes-arch.h 
b/libpthread/sysdeps/i386/bits/pthreadtypes-arch.h
+new file mode 100644
+index 000..7e7a311
+--- /dev/null
 b/libpthread/sysdeps/i386/bits/pthreadtypes-arch.h
+@@ -0,0 +1,21 @@
++/* Copyright (C) 2002-2017 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++
++   The GNU C Library is free software; you can redistribute it and/or
++   modify it under the terms of the GNU Lesser General Public
++   License as published by the Free Software Foundation; either
++   version 2.1 of the License, or (at your option) any later version.
++
++   The GNU C Library is distributed in the hope that it will be useful,
++   but WITHOUT ANY WARRANTY; without even the implied warranty of
++   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++   Lesser General Public License for more details.
++
++   You should have received a copy of the GNU Lesser General Public
++   License along with the GNU C Library; if not, see
++   .  */
++
++#ifndef _BITS_PTHREADTYPES_ARCH_H
++#define _BITS_PTHREADTYPES_ARCH_H 1
++
++#endif/* bits/pthreadtypes.h */
+diff --git a/libpthread/sysdeps/pthread/bits/thread-shared-types.h 
b/libpthread/sysdeps/pthread/bits/thread-shared-types.h
+new file mode 100644
+index 000..369fead
+--- /dev/null
 b/libpthread/sysdeps/pthread/bits/thread-shared-types.h
+@@ -0,0 +1,24 @@
++/* Common threading primitives definitions for both POSIX and C11.
++   Copyright (C) 2017 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++
++   The GNU C Library is free software; you can redistribute it and/or
++   modify it under the terms of the GNU Lesser General Public
++   License as published by the Free Software Foundation; either
++   version 2.1 of the License, or (at your option) any later version.
++
++   The GNU C Library is distributed in the hope that it will be useful,
++   but WITHOUT ANY WARRANTY; without even the implied warranty of
++   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++   Lesser General Public License for more details.
++
++   You should have received a copy of the GNU Lesser General Public
++   License along with the GNU C Library; if not, see
++   .  */
++
++#ifndef _THREAD_SHARED_TYPES_H
++#define _THREAD_SHARED_TYPES_H 1
++
++#include 
++
++#endif /* _THREAD_SHARED_TYPES_H  */
 diff --git glibc/libpthread/sysdeps/i386/machine-sp.h 
glibc/libpthread/sysdeps/i386/machine-sp.h
 new file mode 100644
 index 000..cef6ab7
@@ -12587,9 +12644,9 @@ new file mode 100644
 index 000..70368ff
 --- /dev/null
 +++ glibc/libpthread/sysdeps/pthread/bits/pthreadtypes.h
-@@ -0,0 +1,29 @@
+@@ -0,0 +1,30 @@
 +/* 
-+   Copyright (C) 2000 Free Software Foundation, Inc.
++   Copyright (C) 2000-2017 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +
 +   The GNU C Library is free software; you can redistribute it and/or
@@ -12615,6 +12672,7 @@ index 000..70368ff
 +#define _BITS_PTHREADTYPES_H1
 +
 +#include 
++#include 
 +
 +#endif /* bits/pthreadtypes.h */
 diff --git glibc/libpthread/sysdeps/pthread/bits/rwlock-attr.h 
glibc/libpthread/sysdeps/pthread/bits/rwlock-attr.h

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] 01/01: patches/hurd-i386/cvs-libpthread.diff: Update

2017-09-02 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.26
in repository glibc.

commit d411c27a5dac5c43a8d8d1522eb59cb53cc62c08
Author: Samuel Thibault 
Date:   Sun Sep 3 03:46:50 2017 +

patches/hurd-i386/cvs-libpthread.diff: Update
---
 debian/changelog | 1 +
 debian/patches/hurd-i386/cvs-libpthread.diff | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cc48e87..fc9910b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -55,6 +55,7 @@ glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium
   - patches/hurd-i386/git-rtld-sbrk.diff: New patch.
   - patches/hurd-i386/git-divdi.diff: New patch.
   - patches/hurd-i386/git-feraiseexcept.diff: New patch.
+  - patches/hurd-i386/cvs-libpthread.diff: Update.
 
  -- Adam Conrad   Sat, 02 Sep 2017 12:15:10 -0600
 
diff --git a/debian/patches/hurd-i386/cvs-libpthread.diff 
b/debian/patches/hurd-i386/cvs-libpthread.diff
index a7fd079..5bae62e 100644
--- a/debian/patches/hurd-i386/cvs-libpthread.diff
+++ b/debian/patches/hurd-i386/cvs-libpthread.diff
@@ -1,7 +1,7 @@
-git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ 
--dst-prefix=glibc/libpthread/ 1f065f9ad49b78b40d29af92820225b328319fc6
+git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ 
--dst-prefix=glibc/libpthread/ ef0a8fccc49b69a9f229069278148fdccddf2541
 from git.savannah.gnu.org:/srv/git/hurd/libpthread.git/
 thus by construction only libpthread/ files, thus hurd-only
-Date:   Mon Aug 28 00:14:36 2017 +0200
+Date:   Sun Sep 3 05:45:11 2017 +0200
 
  ChangeLog |   6 +
  Makeconfig|  13 +
@@ -5292,7 +5292,7 @@ index 000..064b6ea
 +
 +const struct __pthread_attr __pthread_default_attr =
 +{
-+  __schedparam: { sched_priority: 0 },
++  __schedparam: { __sched_priority: 0 },
 +  __stacksize: 0,
 +  __stackaddr: NULL,
 +#ifdef PAGESIZE

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] 01/01: patches/hurd-i386/cvs-libpthread.diff: Update

2017-08-27 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.25
in repository glibc.

commit 71390cffc121bc4f4cfd427b6ecfa03f6da214fb
Author: Samuel Thibault 
Date:   Sun Aug 27 22:19:27 2017 +

patches/hurd-i386/cvs-libpthread.diff: Update

fixes rt/tst-aio and rt/tst-aio64 sync ordering
---
 debian/changelog |  2 ++
 debian/patches/hurd-i386/cvs-libpthread.diff | 11 ++-
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0605ff4..e15af65 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ glibc (2.25-0experimental4) UNRELEASED; urgency=medium
   * patches/hurd-i386/git-bits-sysmacros.h.diff: New patch.
   * patches/hurd-i386/git-stack_chk_fail_local.diff: New patch.
   * patches/hurd-i386/git-stack-protect-static.diff: New patch.
+  * patches/hurd-i386/cvs-libpthread.diff: Update, fixes rt/tst-aio and
+rt/tst-aio64 sync ordering.
 
  -- Aurelien Jarno   Sun, 27 Aug 2017 01:51:15 +0200
 
diff --git a/debian/patches/hurd-i386/cvs-libpthread.diff 
b/debian/patches/hurd-i386/cvs-libpthread.diff
index fca8ec3..a7fd079 100644
--- a/debian/patches/hurd-i386/cvs-libpthread.diff
+++ b/debian/patches/hurd-i386/cvs-libpthread.diff
@@ -1,7 +1,7 @@
-git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ 
--dst-prefix=glibc/libpthread/ de1a908af2944e6601fb14f88933abebd02649e1
+git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ 
--dst-prefix=glibc/libpthread/ 1f065f9ad49b78b40d29af92820225b328319fc6
 from git.savannah.gnu.org:/srv/git/hurd/libpthread.git/
 thus by construction only libpthread/ files, thus hurd-only
-Date:   Thu Aug 3 11:52:22 2017 +0200
+Date:   Mon Aug 28 00:14:36 2017 +0200
 
  ChangeLog |   6 +
  Makeconfig|  13 +
@@ -6499,7 +6499,7 @@ new file mode 100644
 index 000..00974cf
 --- /dev/null
 +++ glibc/libpthread/sysdeps/generic/pt-getschedparam.c
-@@ -0,0 +1,31 @@
+@@ -0,0 +1,32 @@
 +/* Get the scheduling parameters for a thread.  Generic version.
 +   Copyright (C) 2002 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -6526,11 +6526,12 @@ index 000..00974cf
 +__pthread_getschedparam (pthread_t thread, int *policy,
 + struct sched_param *param)
 +{
-+  return ENOSYS;
++  *policy = SCHED_OTHER;
++  param->__sched_priority = 0;
++  return 0;
 +}
 +
 +strong_alias (__pthread_getschedparam, pthread_getschedparam);
-+stub_warning (pthread_getschedparam)
 diff --git glibc/libpthread/sysdeps/generic/pt-getspecific.c 
glibc/libpthread/sysdeps/generic/pt-getspecific.c
 new file mode 100644
 index 000..2a7c4a9

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] 01/01: patches/hurd-i386/cvs-libpthread.diff: update

2017-08-03 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.25
in repository glibc.

commit b86a08d010b4c7edf7912ee8cf053037dbc30f11
Author: Samuel Thibault 
Date:   Thu Aug 3 11:56:50 2017 +0200

patches/hurd-i386/cvs-libpthread.diff: update
---
 debian/patches/hurd-i386/cvs-libpthread.diff | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/patches/hurd-i386/cvs-libpthread.diff 
b/debian/patches/hurd-i386/cvs-libpthread.diff
index a32912a..fca8ec3 100644
--- a/debian/patches/hurd-i386/cvs-libpthread.diff
+++ b/debian/patches/hurd-i386/cvs-libpthread.diff
@@ -1,7 +1,7 @@
-git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ 
--dst-prefix=glibc/libpthread/ 3142d0ded19ebd164d1ac90ee5850ed281812446
+git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ 
--dst-prefix=glibc/libpthread/ de1a908af2944e6601fb14f88933abebd02649e1
 from git.savannah.gnu.org:/srv/git/hurd/libpthread.git/
 thus by construction only libpthread/ files, thus hurd-only
-Date:   Thu Aug 3 01:42:38 2017 +0200
+Date:   Thu Aug 3 11:52:22 2017 +0200
 
  ChangeLog |   6 +
  Makeconfig|  13 +
@@ -1244,11 +1244,11 @@ index 000..c819357
 +}
 +  __mutex_unlock (&atfork_lock);
 +}
-diff --git glibc/libpthread/include/pthread.h 
glibc/libpthread/include/pthread.h
+diff --git glibc/libpthread/sysdeps/pthread/pthread.h 
glibc/libpthread/sysdeps/pthread/pthread.h
 new file mode 100644
 index 000..1d4d3c7
 --- /dev/null
-+++ glibc/libpthread/include/pthread.h
 glibc/libpthread/sysdeps/pthread/pthread.h
 @@ -0,0 +1,7 @@
 +#ifndef _PTHREAD_H
 +#include 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] 01/01: patches/hurd-i386/cvs-libpthread.diff: update

2017-08-02 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.25
in repository glibc.

commit 3cd4802f56cef4a8e0ed49100bb94a5031b5addb
Author: Samuel Thibault 
Date:   Wed Aug 2 23:45:09 2017 +

patches/hurd-i386/cvs-libpthread.diff: update
---
 debian/changelog |  1 +
 debian/patches/hurd-i386/cvs-libpthread.diff | 13 ++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a2169f0..058ac7e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ glibc (2.25-0experimental1) UNRELEASED; urgency=medium
   * patches/hurd-i386/submitted-malloc-setstate.diff: update.
   * patches/hurd-i386/submitted-shm_open_pthread.diff: new patch.
   * patches/hurd-i386/cvs-libc_init_secure.diff: new patch.
+  * patches/hurd-i386/cvs-libpthread.diff: update.
 
  -- Aurelien Jarno   Wed, 02 Aug 2017 19:03:14 +0200
 
diff --git a/debian/patches/hurd-i386/cvs-libpthread.diff 
b/debian/patches/hurd-i386/cvs-libpthread.diff
index 78ed30a..a32912a 100644
--- a/debian/patches/hurd-i386/cvs-libpthread.diff
+++ b/debian/patches/hurd-i386/cvs-libpthread.diff
@@ -1,7 +1,7 @@
-git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ 
--dst-prefix=glibc/libpthread/ 44873df420d128972644ef3901c7d917ca3b7dd7
+git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ 
--dst-prefix=glibc/libpthread/ 3142d0ded19ebd164d1ac90ee5850ed281812446
 from git.savannah.gnu.org:/srv/git/hurd/libpthread.git/
 thus by construction only libpthread/ files, thus hurd-only
-Date:   Tue Nov 1 15:13:47 2016 +0100
+Date:   Thu Aug 3 01:42:38 2017 +0200
 
  ChangeLog |   6 +
  Makeconfig|  13 +
@@ -252,7 +252,7 @@ new file mode 100644
 index 000..e90f5f7
 --- /dev/null
 +++ glibc/libpthread/Makeconfig
-@@ -0,0 +1,13 @@
+@@ -0,0 +1,20 @@
 +# Makeconfig fragment for Hurd libpthread add-on.
 +# This gets included at the end of the main glibc Makeconfig.
 +
@@ -263,6 +263,13 @@ index 000..e90f5f7
 +static-thread-library = $(common-objpfx)libpthread/libpthread.a
 +bounded-thread-library = $(static-thread-library)
 +
++ifeq ($(subdir),malloc)
++LDLIBS-tst-interpose-static-thread += -lihash
++endif
++ifeq ($(subdir),elf)
++LDLIBS-tst-linkall-static += -lihash
++endif
++
 +rpath-dirs += libpthread
 +
 ++includes += -I$(..)libpthread/include

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] 01/01: patches/hurd-i386/cvs-libpthread.diff: update

2017-08-02 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.25
in repository glibc.

commit afc4350f281ad3c36953cd265f49c30660a505a1
Author: Samuel Thibault 
Date:   Wed Aug 2 22:54:28 2017 +

patches/hurd-i386/cvs-libpthread.diff: update
---
 debian/changelog | 1 +
 debian/patches/hurd-i386/cvs-libpthread.diff | 9 +
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a2169f0..058ac7e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ glibc (2.25-0experimental1) UNRELEASED; urgency=medium
   * patches/hurd-i386/submitted-malloc-setstate.diff: update.
   * patches/hurd-i386/submitted-shm_open_pthread.diff: new patch.
   * patches/hurd-i386/cvs-libc_init_secure.diff: new patch.
+  * patches/hurd-i386/cvs-libpthread.diff: update.
 
  -- Aurelien Jarno   Wed, 02 Aug 2017 19:03:14 +0200
 
diff --git a/debian/patches/hurd-i386/cvs-libpthread.diff 
b/debian/patches/hurd-i386/cvs-libpthread.diff
index 78ed30a..91ac1b7 100644
--- a/debian/patches/hurd-i386/cvs-libpthread.diff
+++ b/debian/patches/hurd-i386/cvs-libpthread.diff
@@ -1,7 +1,7 @@
-git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ 
--dst-prefix=glibc/libpthread/ 44873df420d128972644ef3901c7d917ca3b7dd7
+git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ 
--dst-prefix=glibc/libpthread/ d3b47d4482e0c8372f51472d9d075a89759919ea
 from git.savannah.gnu.org:/srv/git/hurd/libpthread.git/
 thus by construction only libpthread/ files, thus hurd-only
-Date:   Tue Nov 1 15:13:47 2016 +0100
+Date:   Thu Aug 3 00:50:29 2017 +0200
 
  ChangeLog |   6 +
  Makeconfig|  13 +
@@ -252,7 +252,7 @@ new file mode 100644
 index 000..e90f5f7
 --- /dev/null
 +++ glibc/libpthread/Makeconfig
-@@ -0,0 +1,13 @@
+@@ -0,0 +1,14 @@
 +# Makeconfig fragment for Hurd libpthread add-on.
 +# This gets included at the end of the main glibc Makeconfig.
 +
@@ -260,7 +260,8 @@ index 000..e90f5f7
 +
 +shared-thread-library = $(common-objpfx)libpthread/libpthread_nonshared.a \
 +  $(common-objpfx)libpthread/libpthread.so
-+static-thread-library = $(common-objpfx)libpthread/libpthread.a
++static-thread-library = $(common-objpfx)libpthread/libpthread.a \
++-lihash
 +bounded-thread-library = $(static-thread-library)
 +
 +rpath-dirs += libpthread

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git