[glibc] branch glibc-2.26 updated (d6c905a -> 7d52e2f)

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

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

  from  d6c905a   patches/hurd-i386/tg2.26-sched_param.diff: update
   new  7d52e2f   patches/hurd-i386/git-libpthread-2.26.diff: New patch

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog  |  1 +
 debian/patches/hurd-i386/git-libpthread-2.26.diff | 20 
 debian/patches/series |  1 +
 3 files changed, 22 insertions(+)
 create mode 100644 debian/patches/hurd-i386/git-libpthread-2.26.diff

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



[glibc] branch glibc-2.26 updated (ea13e53 -> d6c905a)

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

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

  from  ea13e53   patches/hurd-i386/tg2.26-sched_param.diff: update
   new  d6c905a   patches/hurd-i386/tg2.26-sched_param.diff: update

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/patches/hurd-i386/tg2.26-sched_param.diff | 13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

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



[glibc] branch glibc-2.26 updated (d411c27 -> ea13e53)

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

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

  from  d411c27   patches/hurd-i386/cvs-libpthread.diff: Update
   new  ea13e53   patches/hurd-i386/tg2.26-sched_param.diff: update

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/patches/hurd-i386/tg2.26-sched_param.diff | 21 +++--
 1 file changed, 19 insertions(+), 2 deletions(-)

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



[glibc] branch glibc-2.26 updated (31ee286 -> d411c27)

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

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

  from  31ee286   patches/hurd-i386/git-feraiseexcept.diff: New patch
   new  d411c27   patches/hurd-i386/cvs-libpthread.diff: Update

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


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

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



[glibc] 01/01: patches/hurd-i386/tg2.26-sched_param.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 d6c905a48ef31fdf6207c6c917f3422af3680b12
Author: Samuel Thibault 
Date:   Sun Sep 3 03:55:06 2017 +

patches/hurd-i386/tg2.26-sched_param.diff: update
---
 debian/patches/hurd-i386/tg2.26-sched_param.diff | 13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/debian/patches/hurd-i386/tg2.26-sched_param.diff 
b/debian/patches/hurd-i386/tg2.26-sched_param.diff
index 11ce0ad..916275e 100644
--- a/debian/patches/hurd-i386/tg2.26-sched_param.diff
+++ b/debian/patches/hurd-i386/tg2.26-sched_param.diff
@@ -13,12 +13,12 @@ and alike.
 Signed-off-by: Samuel Thibault 
 
 ---
- bits/sched.h  | 16 
+ bits/sched.h  | 18 +-
  posix/sched.h |  5 ++---
- 2 files changed, 18 insertions(+), 3 deletions(-)
+ 2 files changed, 19 insertions(+), 4 deletions(-)
 
 diff --git a/bits/sched.h b/bits/sched.h
-index 0588f3142e..e96ee3ba03 100644
+index 0588f3142e..a75e2c035b 100644
 --- a/bits/sched.h
 +++ b/bits/sched.h
 @@ -17,6 +17,8 @@
@@ -30,7 +30,12 @@ index 0588f3142e..e96ee3ba03 100644
  #ifndef _BITS_SCHED_H
  #define _BITS_SCHED_H 1
  
-@@ -36,3 +38,17 @@ struct sched_param
+@@ -32,7 +34,21 @@
+ /* Data structure to describe a process' schedulability.  */
+ struct sched_param
+ {
+-  int sched_priority;
++  int __sched_priority;
  };
  
  #endif /* bits/sched.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/git-libpthread-2.26.diff: New patch

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 7d52e2ff20af129f54a6b3b0312f23b156c0227d
Author: Samuel Thibault 
Date:   Sun Sep 3 04:00:16 2017 +

patches/hurd-i386/git-libpthread-2.26.diff: New patch
---
 debian/changelog  |  1 +
 debian/patches/hurd-i386/git-libpthread-2.26.diff | 20 
 debian/patches/series |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index fc9910b..7d662d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -56,6 +56,7 @@ glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium
   - patches/hurd-i386/git-divdi.diff: New patch.
   - patches/hurd-i386/git-feraiseexcept.diff: New patch.
   - patches/hurd-i386/cvs-libpthread.diff: Update.
+  - patches/hurd-i386/git-libpthread-2.26.diff: New patch.
 
  -- Adam Conrad   Sat, 02 Sep 2017 12:15:10 -0600
 
diff --git a/debian/patches/hurd-i386/git-libpthread-2.26.diff 
b/debian/patches/hurd-i386/git-libpthread-2.26.diff
new file mode 100644
index 000..ef9babd
--- /dev/null
+++ b/debian/patches/hurd-i386/git-libpthread-2.26.diff
@@ -0,0 +1,20 @@
+commit 0a69b89843ec466fa20c994a29d13de6a45c3acb
+Author: Samuel Thibault 
+Date:   Sun Sep 3 05:58:26 2017 +0200
+
+Fix link with glibc 2.26
+
+* sysdeps/mach/hurd/pt-sigstate.c: Include 
+
+diff --git a/libpthread/sysdeps/mach/hurd/pt-sigstate.c 
b/libpthread/sysdeps/mach/hurd/pt-sigstate.c
+index 74fd72a..6c3264d 100644
+--- a/libpthread/sysdeps/mach/hurd/pt-sigstate.c
 b/libpthread/sysdeps/mach/hurd/pt-sigstate.c
+@@ -22,6 +22,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index d724016..48d28bb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -142,6 +142,7 @@ hurd-i386/git-rtld-access.diff
 hurd-i386/git-rtld-sbrk.diff
 hurd-i386/git-divdi.diff
 hurd-i386/git-feraiseexcept.diff
+hurd-i386/git-libpthread-2.26.diff
 
 i386/local-biarch.diff
 i386/unsubmitted-quiet-ldconfig.diff

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



[glibc] branch glibc-2.26 updated (7b8374b -> 31ee286)

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

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

  from  7b8374b   patches/hurd-i386/git-divdi.diff: New patch
   new  31ee286   patches/hurd-i386/git-feraiseexcept.diff: New patch

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog|  1 +
 debian/patches/hurd-i386/git-feraiseexcept.diff | 23 +++
 debian/patches/series   |  1 +
 3 files changed, 25 insertions(+)
 create mode 100644 debian/patches/hurd-i386/git-feraiseexcept.diff

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



[glibc] 01/01: patches/hurd-i386/tg2.26-sched_param.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 ea13e5393b8cde6be2dbbfdd2065696397be7aac
Author: Samuel Thibault 
Date:   Sun Sep 3 03:53:20 2017 +

patches/hurd-i386/tg2.26-sched_param.diff: update
---
 debian/patches/hurd-i386/tg2.26-sched_param.diff | 21 +++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/debian/patches/hurd-i386/tg2.26-sched_param.diff 
b/debian/patches/hurd-i386/tg2.26-sched_param.diff
index eaaf853..11ce0ad 100644
--- a/debian/patches/hurd-i386/tg2.26-sched_param.diff
+++ b/debian/patches/hurd-i386/tg2.26-sched_param.diff
@@ -13,8 +13,9 @@ and alike.
 Signed-off-by: Samuel Thibault 
 
 ---
- bits/sched.h | 16 
- 1 file changed, 16 insertions(+)
+ bits/sched.h  | 16 
+ posix/sched.h |  5 ++---
+ 2 files changed, 18 insertions(+), 3 deletions(-)
 
 diff --git a/bits/sched.h b/bits/sched.h
 index 0588f3142e..e96ee3ba03 100644
@@ -47,5 +48,21 @@ index 0588f3142e..e96ee3ba03 100644
 +# undef __need_schedparam
 +#endif
 +
+diff --git a/posix/sched.h b/posix/sched.h
+index d5cdac37b0..d139ad27aa 100644
+--- a/posix/sched.h
 b/posix/sched.h
+@@ -43,9 +43,8 @@ typedef __pid_t pid_t;
+ #include 
+ #include 
+ 
+-/* Backward compatibility.  */
+-#define sched_prioritysched_priority
+-#define __sched_priority  sched_priority
++/* Define the real names for the elements of `struct sched_param'.  */
++#define sched_priority__sched_priority
+ 
+ 
+ __BEGIN_DECLS
 -- 
 tg: (854baea9b7..) t2.26/sched_param (depends on: baseline-2.26)

-- 
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/git-feraiseexcept.diff: New patch

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 31ee286726497e28e0ec9adea652095ea6ece5df
Author: Samuel Thibault 
Date:   Sun Sep 3 03:40:57 2017 +

patches/hurd-i386/git-feraiseexcept.diff: New patch
---
 debian/changelog|  1 +
 debian/patches/hurd-i386/git-feraiseexcept.diff | 23 +++
 debian/patches/series   |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b265651..cc48e87 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -54,6 +54,7 @@ glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium
   - patches/hurd-i386/git-rtld-access.diff: New patch.
   - 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.
 
  -- Adam Conrad   Sat, 02 Sep 2017 12:15:10 -0600
 
diff --git a/debian/patches/hurd-i386/git-feraiseexcept.diff 
b/debian/patches/hurd-i386/git-feraiseexcept.diff
new file mode 100644
index 000..687860a
--- /dev/null
+++ b/debian/patches/hurd-i386/git-feraiseexcept.diff
@@ -0,0 +1,23 @@
+commit 1946d950f2235a4790fb5e386b9ba92dff55a930
+Author: Samuel Thibault 
+Date:   Sun Sep 3 05:32:10 2017 +0200
+
+hurd: fix libm link
+
+* sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
+__feraiseexcept_renamed to feraiseexcept instead of
+__GI_feraiseexcept.
+
+diff --git a/sysdeps/x86/fpu/include/bits/fenv.h 
b/sysdeps/x86/fpu/include/bits/fenv.h
+index aa61666fc3..7b9741fd89 100644
+--- a/sysdeps/x86/fpu/include/bits/fenv.h
 b/sysdeps/x86/fpu/include/bits/fenv.h
+@@ -19,7 +19,7 @@
+ #ifndef _BITS_FENV_H
+ 
+ #if defined _LIBC && defined __USE_EXTERN_INLINES
+-# if defined SHARED && IS_IN (libm)
++# if defined SHARED && !defined NO_HIDDEN && IS_IN (libm)
+ extern int __REDIRECT_NTH (__feraiseexcept_renamed, (int), 
__GI_feraiseexcept);
+ # else
+ extern int __REDIRECT_NTH (__feraiseexcept_renamed, (int), feraiseexcept);
diff --git a/debian/patches/series b/debian/patches/series
index 188633a..d724016 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -141,6 +141,7 @@ hurd-i386/git-preadwritev2.diff
 hurd-i386/git-rtld-access.diff
 hurd-i386/git-rtld-sbrk.diff
 hurd-i386/git-divdi.diff
+hurd-i386/git-feraiseexcept.diff
 
 i386/local-biarch.diff
 i386/unsubmitted-quiet-ldconfig.diff

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



[glibc] branch glibc-2.26 updated (738517a -> 7b8374b)

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

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

  from  738517a   patches/hurd-i386/git-rtld-sbrk.diff: New patch
   new  5795f4a   patches/hurd-i386/git-sigsetopts.h: update patch
   new  7b8374b   patches/hurd-i386/git-divdi.diff: New patch

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog  |  1 +
 debian/patches/hurd-i386/git-divdi.diff   | 30 
 debian/patches/hurd-i386/git-sigsetopts.h | 33 +++
 debian/patches/series |  1 +
 4 files changed, 65 insertions(+)
 create mode 100644 debian/patches/hurd-i386/git-divdi.diff

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



[glibc] 01/02: patches/hurd-i386/git-sigsetopts.h: update patch

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 5795f4ac413f21170fbc52a71ca548e0fb9735ab
Author: Samuel Thibault 
Date:   Sun Sep 3 02:56:17 2017 +

patches/hurd-i386/git-sigsetopts.h: update patch
---
 debian/patches/hurd-i386/git-sigsetopts.h | 33 +++
 1 file changed, 33 insertions(+)

diff --git a/debian/patches/hurd-i386/git-sigsetopts.h 
b/debian/patches/hurd-i386/git-sigsetopts.h
index 7d334b6..dd5db99 100644
--- a/debian/patches/hurd-i386/git-sigsetopts.h
+++ b/debian/patches/hurd-i386/git-sigsetopts.h
@@ -54,3 +54,36 @@ index ea2c5b5767..6d1c004b04 100644
  (void)0;  \
}))
  
+commit 127e7773b437bd5866a4424cc9b338bac6beb08b
+Author: Samuel Thibault 
+Date:   Sun Sep 3 04:36:29 2017 +0200
+
+hurd: Fix libc link
+
+* sysdeps/posix/pause.c: Include .
+* sysdeps/posix/system.c: Include .
+
+diff --git a/sysdeps/posix/pause.c b/sysdeps/posix/pause.c
+index 53e143d98f..7c17f49ffb 100644
+--- a/sysdeps/posix/pause.c
 b/sysdeps/posix/pause.c
+@@ -19,6 +19,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ /* Suspend the process until a signal arrives.
+This always returns -1 and sets errno to EINTR.  */
+diff --git a/sysdeps/posix/system.c b/sysdeps/posix/system.c
+index d49cc3f01c..56195b529f 100644
+--- a/sysdeps/posix/system.c
 b/sysdeps/posix/system.c
+@@ -24,6 +24,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ 
+ #define   SHELL_PATH  "/bin/sh"   /* Path of the shell.  */

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



[glibc] 02/02: patches/hurd-i386/git-divdi.diff: New patch

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 7b8374b4b343608b3b3a512eb3ed0ab45dde4798
Author: Samuel Thibault 
Date:   Sun Sep 3 02:57:02 2017 +

patches/hurd-i386/git-divdi.diff: New patch
---
 debian/changelog|  1 +
 debian/patches/hurd-i386/git-divdi.diff | 30 ++
 debian/patches/series   |  1 +
 3 files changed, 32 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6254f26..b265651 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -53,6 +53,7 @@ glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium
   - patches/hurd-i386/git-preadwritev2.diff: New patch.
   - patches/hurd-i386/git-rtld-access.diff: New patch.
   - patches/hurd-i386/git-rtld-sbrk.diff: New patch.
+  - patches/hurd-i386/git-divdi.diff: New patch.
 
  -- Adam Conrad   Sat, 02 Sep 2017 12:15:10 -0600
 
diff --git a/debian/patches/hurd-i386/git-divdi.diff 
b/debian/patches/hurd-i386/git-divdi.diff
new file mode 100644
index 000..bf733d5
--- /dev/null
+++ b/debian/patches/hurd-i386/git-divdi.diff
@@ -0,0 +1,30 @@
+commit f85958a74d9e26e7e43a5d3e65d4d77ed47f55ea
+Author: Samuel Thibault 
+Date:   Sun Sep 3 04:58:00 2017 +0200
+
+hurd: Fix libc link
+
+This follows db3d848 ('Build divdi3 only for architecture that required
+it').
+
+* sysdeps/mach/hurd/i386/Makefile
+[$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
+[$(subdir) = csu] (sysdep-only-routines): Likewise.
+[$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
+
+diff --git a/sysdeps/mach/hurd/i386/Makefile b/sysdeps/mach/hurd/i386/Makefile
+index 5f988097c2..938d3b046d 100644
+--- a/sysdeps/mach/hurd/i386/Makefile
 b/sysdeps/mach/hurd/i386/Makefile
+@@ -6,3 +6,11 @@ endif
+ ifeq ($(subdir),debug)
+ gen-as-const-headers += signal-defines.sym
+ endif
++
++ifeq ($(subdir),csu)
++ifeq (yes,$(build-shared))
++sysdep_routines += divdi3
++shared-only-routines += divdi3
++CPPFLAGS-divdi3.c = -Din_divdi3_c
++endif
++endif
diff --git a/debian/patches/series b/debian/patches/series
index 8e9f113..188633a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -140,6 +140,7 @@ hurd-i386/git-bits_socket.h
 hurd-i386/git-preadwritev2.diff
 hurd-i386/git-rtld-access.diff
 hurd-i386/git-rtld-sbrk.diff
+hurd-i386/git-divdi.diff
 
 i386/local-biarch.diff
 i386/unsubmitted-quiet-ldconfig.diff

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



[glibc] branch glibc-2.26 updated (23140b1 -> 738517a)

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

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

  from  23140b1   patches/hurd-i386/git-rtld-access.diff: New patch
   new  738517a   patches/hurd-i386/git-rtld-sbrk.diff: New patch

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog|  1 +
 debian/patches/hurd-i386/git-rtld-sbrk.diff | 29 +
 debian/patches/series   |  1 +
 3 files changed, 31 insertions(+)
 create mode 100644 debian/patches/hurd-i386/git-rtld-sbrk.diff

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



[glibc] branch glibc-2.26 updated (5f62f6f -> 23140b1)

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

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

  from  5f62f6f   patches/hurd-i386/git-preadwritev2.diff: New patch
   new  23140b1   patches/hurd-i386/git-rtld-access.diff: New patch

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog  |  1 +
 debian/patches/hurd-i386/git-rtld-access.diff | 27 +++
 debian/patches/series |  1 +
 3 files changed, 29 insertions(+)
 create mode 100644 debian/patches/hurd-i386/git-rtld-access.diff

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



[glibc] 01/01: patches/hurd-i386/git-rtld-sbrk.diff: New patch

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 738517a1c4ff5729d44e6c00607113feecfb3523
Author: Samuel Thibault 
Date:   Sun Sep 3 02:29:31 2017 +

patches/hurd-i386/git-rtld-sbrk.diff: New patch
---
 debian/changelog|  1 +
 debian/patches/hurd-i386/git-rtld-sbrk.diff | 29 +
 debian/patches/series   |  1 +
 3 files changed, 31 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 26e3826..6254f26 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -52,6 +52,7 @@ glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium
   - patches/hurd-i386/git-bits_socket.h: New patch.
   - patches/hurd-i386/git-preadwritev2.diff: New patch.
   - patches/hurd-i386/git-rtld-access.diff: New patch.
+  - patches/hurd-i386/git-rtld-sbrk.diff: New patch.
 
  -- Adam Conrad   Sat, 02 Sep 2017 12:15:10 -0600
 
diff --git a/debian/patches/hurd-i386/git-rtld-sbrk.diff 
b/debian/patches/hurd-i386/git-rtld-sbrk.diff
new file mode 100644
index 000..6b61567
--- /dev/null
+++ b/debian/patches/hurd-i386/git-rtld-sbrk.diff
@@ -0,0 +1,29 @@
+commit b96aca4d05b2da5d5134b1c3176b16f48db9fe4d
+Author: Samuel Thibault 
+Date:   Sun Sep 3 04:25:35 2017 +0200
+
+hurd: Fix rtld link
+
+* sysdeps/mach/hurd/dl-sysdep.c (__sbrk): New function.
+
+diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
+index 2bfa64f02a..dec00f35f0 100644
+--- a/sysdeps/mach/hurd/dl-sysdep.c
 b/sysdeps/mach/hurd/dl-sysdep.c
+@@ -591,6 +591,16 @@ __getcwd (char *buf, size_t size)
+   return NULL;
+ }
+ 
++/* This is used by dl-tunables.c to strdup strings.  We can just make this a
++   mere allocation.  */
++void *
++__sbrk (intptr_t increment)
++{
++  vm_address_t addr;
++  __vm_allocate (__mach_task_self (), , increment, 1);
++  return (void *) addr;
++}
++
+ void weak_function attribute_hidden
+ _exit (int status)
+ {
diff --git a/debian/patches/series b/debian/patches/series
index c94c37d..8e9f113 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -139,6 +139,7 @@ hurd-i386/tg2.26-sigsetops.h
 hurd-i386/git-bits_socket.h
 hurd-i386/git-preadwritev2.diff
 hurd-i386/git-rtld-access.diff
+hurd-i386/git-rtld-sbrk.diff
 
 i386/local-biarch.diff
 i386/unsubmitted-quiet-ldconfig.diff

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



[glibc] 01/01: patches/hurd-i386/git-rtld-access.diff: New patch

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 23140b14bf505a441772f07791441ddcaf85e7f2
Author: Samuel Thibault 
Date:   Sun Sep 3 02:16:30 2017 +

patches/hurd-i386/git-rtld-access.diff: New patch
---
 debian/changelog  |  1 +
 debian/patches/hurd-i386/git-rtld-access.diff | 27 +++
 debian/patches/series |  1 +
 3 files changed, 29 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2401ed1..26e3826 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -51,6 +51,7 @@ glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium
   - patches/hurd-i386/tg2.26-sigsetops.h: New patch.
   - patches/hurd-i386/git-bits_socket.h: New patch.
   - patches/hurd-i386/git-preadwritev2.diff: New patch.
+  - patches/hurd-i386/git-rtld-access.diff: New patch.
 
  -- Adam Conrad   Sat, 02 Sep 2017 12:15:10 -0600
 
diff --git a/debian/patches/hurd-i386/git-rtld-access.diff 
b/debian/patches/hurd-i386/git-rtld-access.diff
new file mode 100644
index 000..404f225
--- /dev/null
+++ b/debian/patches/hurd-i386/git-rtld-access.diff
@@ -0,0 +1,27 @@
+commit 819ea3347e3a30a611488ceeec53650baaeb7961
+Author: Samuel Thibault 
+Date:   Sun Sep 3 04:02:24 2017 +0200
+
+hurd: Fix rtld link
+
+dl-tunables.c now uses __access_noerrno in addition to __access.
+
+* sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): New function.
+
+diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
+index 6d5c1abf83..2bfa64f02a 100644
+--- a/sysdeps/mach/hurd/dl-sysdep.c
 b/sysdeps/mach/hurd/dl-sysdep.c
+@@ -557,6 +557,12 @@ __access (const char *file, int type)
+   errno = ENOSYS;
+   return -1;
+ }
++int weak_function
++__access_noerrno (const char *file, int type)
++{
++  errno = ENOSYS;
++  return -1;
++}
+ 
+ pid_t weak_function
+ __getpid (void)
diff --git a/debian/patches/series b/debian/patches/series
index ab3718b..c94c37d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -138,6 +138,7 @@ hurd-i386/git-sigsetopts.h
 hurd-i386/tg2.26-sigsetops.h
 hurd-i386/git-bits_socket.h
 hurd-i386/git-preadwritev2.diff
+hurd-i386/git-rtld-access.diff
 
 i386/local-biarch.diff
 i386/unsubmitted-quiet-ldconfig.diff

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



[glibc] branch glibc-2.26 updated (8774a3c -> 5f62f6f)

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

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

  from  8774a3c   patches/hurd-i386/tg2.26-sigsetops.h: New patch
   new  ccd2b0e   patches/hurd-i386/git-bits_socket.h: New patch
   new  5f62f6f   patches/hurd-i386/git-preadwritev2.diff: New patch

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog   |   2 +
 debian/patches/hurd-i386/git-bits_socket.h |  22 +++
 debian/patches/hurd-i386/git-preadwritev2.diff | 212 +
 debian/patches/series  |   2 +
 4 files changed, 238 insertions(+)
 create mode 100644 debian/patches/hurd-i386/git-bits_socket.h
 create mode 100644 debian/patches/hurd-i386/git-preadwritev2.diff

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



[glibc] 02/02: patches/hurd-i386/git-preadwritev2.diff: New patch

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 5f62f6f668e9a8c3c9c6ed68acc4cbe0d3080b65
Author: Samuel Thibault 
Date:   Sun Sep 3 01:09:32 2017 +

patches/hurd-i386/git-preadwritev2.diff: New patch
---
 debian/changelog   |   1 +
 debian/patches/hurd-i386/git-preadwritev2.diff | 212 +
 debian/patches/series  |   1 +
 3 files changed, 214 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 48e0899..2401ed1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -50,6 +50,7 @@ glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium
   - patches/hurd-i386/git-sigsetopts.h: New patch.
   - patches/hurd-i386/tg2.26-sigsetops.h: New patch.
   - patches/hurd-i386/git-bits_socket.h: New patch.
+  - patches/hurd-i386/git-preadwritev2.diff: New patch.
 
  -- Adam Conrad   Sat, 02 Sep 2017 12:15:10 -0600
 
diff --git a/debian/patches/hurd-i386/git-preadwritev2.diff 
b/debian/patches/hurd-i386/git-preadwritev2.diff
new file mode 100644
index 000..96297b6
--- /dev/null
+++ b/debian/patches/hurd-i386/git-preadwritev2.diff
@@ -0,0 +1,212 @@
+commit dd2b31dec0c0e792bec0486d72c8a049eea4bee1
+Author: Samuel Thibault 
+Date:   Sun Sep 3 02:45:06 2017 +0200
+
+hurd: Fix p{read,write}{,v64}v2.c build
+
+* sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
+* sysdeps/posix/preadv64v2.c: Use off_t instead of OFF_T.
+* sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
+* sysdeps/posix/pwritev64v2.c: Use off_t instead of OFF_T.
+
+diff --git a/sysdeps/posix/preadv2.c b/sysdeps/posix/preadv2.c
+index d27f7028ed..b79b7b1bc3 100644
+--- a/sysdeps/posix/preadv2.c
 b/sysdeps/posix/preadv2.c
+@@ -23,7 +23,7 @@
+ 
+ /* Since we define no flags for preadv2 just route to preadv.  */
+ ssize_t
+-preadv2 (int fd, const struct iovec *vector, int count, OFF_T offset,
++preadv2 (int fd, const struct iovec *vector, int count, off_t offset,
+int flags)
+ {
+   if (flags != 0)
+diff --git a/sysdeps/posix/preadv64v2.c b/sysdeps/posix/preadv64v2.c
+index ce7cb40bf2..ab71f027d4 100644
+--- a/sysdeps/posix/preadv64v2.c
 b/sysdeps/posix/preadv64v2.c
+@@ -20,7 +20,7 @@
+ #include 
+ 
+ ssize_t
+-preadv64v2 (int fd, const struct iovec *vector, int count, OFF_T offset,
++preadv64v2 (int fd, const struct iovec *vector, int count, off_t offset,
+   int flags)
+ {
+   if (flags != 0)
+diff --git a/sysdeps/posix/pwritev2.c b/sysdeps/posix/pwritev2.c
+index 7ec8cbc407..d746059d42 100644
+--- a/sysdeps/posix/pwritev2.c
 b/sysdeps/posix/pwritev2.c
+@@ -23,7 +23,7 @@
+ 
+ /* Since we define no flags for pwritev2 just route to pwritev.  */
+ ssize_t
+-pwritev2 (int fd, const struct iovec *vector, int count, OFF_T offset,
++pwritev2 (int fd, const struct iovec *vector, int count, off_t offset,
+ int flags)
+ {
+   if (flags != 0)
+diff --git a/sysdeps/posix/pwritev64v2.c b/sysdeps/posix/pwritev64v2.c
+index be98aeed9d..bf62d74190 100644
+--- a/sysdeps/posix/pwritev64v2.c
 b/sysdeps/posix/pwritev64v2.c
+@@ -21,7 +21,7 @@
+ 
+ /* Since we define no flags for pwritev2 just route to pwritev.  */
+ ssize_t
+-pwritev64v2 (int fd, const struct iovec *vector, int count, OFF_T offset,
++pwritev64v2 (int fd, const struct iovec *vector, int count, off_t offset,
+int flags)
+ {
+   if (flags != 0)
+commit ed95bf5638748068ef05ccbaa0a008b50ebecb42
+Author: Samuel Thibault 
+Date:   Sun Sep 3 03:00:32 2017 +0200
+
+hurd: Fix p{read,write}v64v2.c build
+
+* sysdeps/posix/preadv64v2.c: Use off64_t instead of off_t.
+* sysdeps/posix/pwritev64v2.c: Use off64_t instead of off_t.
+
+diff --git a/sysdeps/posix/preadv64v2.c b/sysdeps/posix/preadv64v2.c
+index ab71f027d4..263f9b77c4 100644
+--- a/sysdeps/posix/preadv64v2.c
 b/sysdeps/posix/preadv64v2.c
+@@ -20,7 +20,7 @@
+ #include 
+ 
+ ssize_t
+-preadv64v2 (int fd, const struct iovec *vector, int count, off_t offset,
++preadv64v2 (int fd, const struct iovec *vector, int count, off64_t offset,
+   int flags)
+ {
+   if (flags != 0)
+diff --git a/sysdeps/posix/pwritev64v2.c b/sysdeps/posix/pwritev64v2.c
+index bf62d74190..f340c8a46d 100644
+--- a/sysdeps/posix/pwritev64v2.c
 b/sysdeps/posix/pwritev64v2.c
+@@ -21,7 +21,7 @@
+ 
+ /* Since we define no flags for pwritev2 just route to pwritev.  */
+ ssize_t
+-pwritev64v2 (int fd, const struct iovec *vector, int count, off_t offset,
++pwritev64v2 (int fd, const struct iovec *vector, int count, off64_t offset,
+int flags)
+ {
+   if (flags != 0)
+commit 2263ca7ce8a824f53debcc724bd21cd7099e1161
+Author: Samuel Thibault 
+Date:   Sun Sep 3 03:03:40 2017 +0200
+
+hurd: Fix 

[glibc] 01/02: patches/hurd-i386/git-bits_socket.h: New patch

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 ccd2b0e2e3af28b9f54f4add74048a3f89efcb1a
Author: Samuel Thibault 
Date:   Sun Sep 3 01:08:44 2017 +

patches/hurd-i386/git-bits_socket.h: New patch
---
 debian/changelog   |  1 +
 debian/patches/hurd-i386/git-bits_socket.h | 22 ++
 debian/patches/series  |  1 +
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 65ea207..48e0899 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,6 +49,7 @@ glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium
   - patches/hurd-i386/tg2.26-sched_param.diff: New patch.
   - patches/hurd-i386/git-sigsetopts.h: New patch.
   - patches/hurd-i386/tg2.26-sigsetops.h: New patch.
+  - patches/hurd-i386/git-bits_socket.h: New patch.
 
  -- Adam Conrad   Sat, 02 Sep 2017 12:15:10 -0600
 
diff --git a/debian/patches/hurd-i386/git-bits_socket.h 
b/debian/patches/hurd-i386/git-bits_socket.h
new file mode 100644
index 000..aacee04
--- /dev/null
+++ b/debian/patches/hurd-i386/git-bits_socket.h
@@ -0,0 +1,22 @@
+commit 01969395db01fedcd3fb76d76654b24908e5757b
+Author: Samuel Thibault 
+Date:   Sun Sep 3 02:22:00 2017 +0200
+
+hurd: Fix getting ssize_t for 
+
+* sysdeps/mach/hurd/bits/socket.h: Include  instead of
+just .
+
+diff --git a/sysdeps/mach/hurd/bits/socket.h b/sysdeps/mach/hurd/bits/socket.h
+index 6eb09a0ab3..9a412f0833 100644
+--- a/sysdeps/mach/hurd/bits/socket.h
 b/sysdeps/mach/hurd/bits/socket.h
+@@ -29,7 +29,7 @@
+ #include 
+ 
+ #include/* XXX Is this allowed?  */
+-#include 
++#include 
+ 
+ /* Type for length arguments in socket calls.  */
+ #ifndef __socklen_t_defined
diff --git a/debian/patches/series b/debian/patches/series
index ac1c403..7efddf4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -136,6 +136,7 @@ hurd-i386/git-stack_chk_fail_local.diff
 hurd-i386/git-stack-protect-static.diff
 hurd-i386/git-sigsetopts.h
 hurd-i386/tg2.26-sigsetops.h
+hurd-i386/git-bits_socket.h
 
 i386/local-biarch.diff
 i386/unsubmitted-quiet-ldconfig.diff

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



[glibc] branch glibc-2.26 updated (1d4a349 -> 8774a3c)

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

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

  from  1d4a349   hurd-i386/git-sigsetopts.h: update
   new  8774a3c   patches/hurd-i386/tg2.26-sigsetops.h: New patch

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog|  1 +
 debian/patches/hurd-i386/tg2.26-sigsetops.h | 30 +
 debian/patches/series   |  1 +
 3 files changed, 32 insertions(+)
 create mode 100644 debian/patches/hurd-i386/tg2.26-sigsetops.h

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



[glibc] branch glibc-2.26 updated (993647e -> 1d4a349)

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

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

  from  993647e   patches/hurd-i386/tg2.26-sched_param.diff: New patch
   new  c5997a4   patches/hurd-i386/git-sigsetopts.h: New patch
   new  1d4a349   hurd-i386/git-sigsetopts.h: update

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog  |  1 +
 debian/patches/hurd-i386/git-sigsetopts.h | 56 +++
 debian/patches/series |  4 +--
 3 files changed, 59 insertions(+), 2 deletions(-)
 create mode 100644 debian/patches/hurd-i386/git-sigsetopts.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/tg2.26-sigsetops.h: New patch

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 8774a3c590124468a02e1f05f28ee3a07c8426a0
Author: Samuel Thibault 
Date:   Sat Sep 2 23:53:33 2017 +

patches/hurd-i386/tg2.26-sigsetops.h: New patch
---
 debian/changelog|  1 +
 debian/patches/hurd-i386/tg2.26-sigsetops.h | 30 +
 debian/patches/series   |  1 +
 3 files changed, 32 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c38d5f5..65ea207 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -48,6 +48,7 @@ glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium
   - patches/hurd-i386/tg2.25-tls.diff: rebased.
   - patches/hurd-i386/tg2.26-sched_param.diff: New patch.
   - patches/hurd-i386/git-sigsetopts.h: New patch.
+  - patches/hurd-i386/tg2.26-sigsetops.h: New patch.
 
  -- Adam Conrad   Sat, 02 Sep 2017 12:15:10 -0600
 
diff --git a/debian/patches/hurd-i386/tg2.26-sigsetops.h 
b/debian/patches/hurd-i386/tg2.26-sigsetops.h
new file mode 100644
index 000..e6decde
--- /dev/null
+++ b/debian/patches/hurd-i386/tg2.26-sigsetops.h
@@ -0,0 +1,30 @@
+From: Samuel Thibault 
+Subject: [PATCH] Include  from hurd/hurd/signal.h
+
+* hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc)]: Include
+.
+
+Signed-off-by: Samuel Thibault 
+
+---
+ hurd/hurd/signal.h | 5 +
+ 1 file changed, 5 insertions(+)
+
+diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h
+index e03d53e6d7..c97699bcc9 100644
+--- a/hurd/hurd/signal.h
 b/hurd/hurd/signal.h
+@@ -42,6 +42,11 @@
+ #include 
+ #include/* We cache sigstate in a threadvar.  */
+ struct hurd_signal_preemptor; /*  */
++#if defined __USE_EXTERN_INLINES && defined _LIBC
++#  if IS_IN (libc)
++#include 
++#  endif
++#endif
+ 
+ 
+ /* Full details of a signal.  */
+-- 
+tg: (854baea9b7..) t2.26/sigsetops.h (depends on: baseline-2.26)
diff --git a/debian/patches/series b/debian/patches/series
index a930587..ac1c403 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -135,6 +135,7 @@ hurd-i386/git-bits-sysmacros.h.diff
 hurd-i386/git-stack_chk_fail_local.diff
 hurd-i386/git-stack-protect-static.diff
 hurd-i386/git-sigsetopts.h
+hurd-i386/tg2.26-sigsetops.h
 
 i386/local-biarch.diff
 i386/unsubmitted-quiet-ldconfig.diff

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



[glibc] 02/02: hurd-i386/git-sigsetopts.h: 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 1d4a3492ed408a614b7982f7aa4d82e32b13e1ec
Author: Samuel Thibault 
Date:   Sat Sep 2 23:52:40 2017 +

hurd-i386/git-sigsetopts.h: update
---
 debian/patches/hurd-i386/git-sigsetopts.h | 38 +++
 1 file changed, 38 insertions(+)

diff --git a/debian/patches/hurd-i386/git-sigsetopts.h 
b/debian/patches/hurd-i386/git-sigsetopts.h
index d1072f0..7d334b6 100644
--- a/debian/patches/hurd-i386/git-sigsetopts.h
+++ b/debian/patches/hurd-i386/git-sigsetopts.h
@@ -16,3 +16,41 @@ index e8e5553981..ea2c5b5767 100644
  
  /* These macros needn't check for a bogus signal number;
 checking is done in the non-__ versions.  */
+commit 06cf9d31d7caa408b35f194cdbdc17462eb935c2
+Author: Samuel Thibault 
+Date:   Sun Sep 3 01:45:19 2017 +0200
+
+hurd: Fix sigsetops.h macros
+
+* sysdeps/generic/sigsetops.h: Remove spurious #endif.
+(__sigismember, __sigaddset, __sigdelset): Fix referencing set
+parameter.
+
+diff --git a/sysdeps/generic/sigsetops.h b/sysdeps/generic/sigsetops.h
+index ea2c5b5767..6d1c004b04 100644
+--- a/sysdeps/generic/sigsetops.h
 b/sysdeps/generic/sigsetops.h
+@@ -56,20 +56,20 @@
+ # define __sigismember(set, sig)  \
+   (__extension__ ({   \
+ __sigset_t __mask = __sigmask (sig);  \
+-(set) & __mask ? 1 : 0;   \
++*(set) & __mask ? 1 : 0;  \
+   }))
+ 
+ # define __sigaddset(set, sig)\
+   (__extension__ ({   \
+ __sigset_t __mask = __sigmask (sig);  \
+-(set) |= __mask;  \
++*(set) |= __mask; \
+ (void)0;  \
+   }))
+ 
+ # define __sigdelset(set, sig)\
+   (__extension__ ({   \
+ __sigset_t __mask = __sigmask (sig);  \
+-(set) &= ~__mask; \
++*(set) &= ~__mask;\
+ (void)0;  \
+   }))
+ 

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



[glibc] 01/02: patches/hurd-i386/git-sigsetopts.h: New patch

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 c5997a499674773f0a785dbcc4e73389f8baf9d2
Author: Samuel Thibault 
Date:   Sat Sep 2 23:13:01 2017 +

patches/hurd-i386/git-sigsetopts.h: New patch
---
 debian/changelog  |  1 +
 debian/patches/hurd-i386/git-sigsetopts.h | 18 ++
 debian/patches/series |  4 ++--
 3 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ef03bf3..c38d5f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -47,6 +47,7 @@ glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium
   - patches/hurd-i386/tg-socket_flags.diff: rebased.
   - patches/hurd-i386/tg2.25-tls.diff: rebased.
   - patches/hurd-i386/tg2.26-sched_param.diff: New patch.
+  - patches/hurd-i386/git-sigsetopts.h: New patch.
 
  -- Adam Conrad   Sat, 02 Sep 2017 12:15:10 -0600
 
diff --git a/debian/patches/hurd-i386/git-sigsetopts.h 
b/debian/patches/hurd-i386/git-sigsetopts.h
new file mode 100644
index 000..d1072f0
--- /dev/null
+++ b/debian/patches/hurd-i386/git-sigsetopts.h
@@ -0,0 +1,18 @@
+commit b794e16bcc9426e9e05ec465c6c8bab2902a50ed
+Author: Samuel Thibault 
+Date:   Sun Sep 3 01:08:49 2017 +0200
+
+sysdeps/generic/sigsetops.h: Remove spurious #endif
+
+diff --git a/sysdeps/generic/sigsetops.h b/sysdeps/generic/sigsetops.h
+index e8e5553981..ea2c5b5767 100644
+--- a/sysdeps/generic/sigsetops.h
 b/sysdeps/generic/sigsetops.h
+@@ -50,7 +50,6 @@
+ *(dest) = *(left) | *(right); \
+ (void)0;  \
+   }))
+-#endif
+ 
+ /* These macros needn't check for a bogus signal number;
+checking is done in the non-__ versions.  */
diff --git a/debian/patches/series b/debian/patches/series
index 20789ba..a930587 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -74,6 +74,7 @@ hurd-i386/local-hurdsig-global-dispositions-version.diff
 hurd-i386/tg-hurdsig-SA_SIGINFO.diff
 hurd-i386/tg-hurdsig-fixes-2.diff
 hurd-i386/tg-hooks.diff
+hurd-i386/tg2.26-sched_param.diff
 hurd-i386/cvs-libpthread.diff
 hurd-i386/libpthread_build.diff
 hurd-i386/tg-libpthread_depends.diff
@@ -133,6 +134,7 @@ hurd-i386/local-nocheck-installed-headers.diff
 hurd-i386/git-bits-sysmacros.h.diff
 hurd-i386/git-stack_chk_fail_local.diff
 hurd-i386/git-stack-protect-static.diff
+hurd-i386/git-sigsetopts.h
 
 i386/local-biarch.diff
 i386/unsubmitted-quiet-ldconfig.diff
@@ -201,5 +203,3 @@ any/local-libpic.diff
 any/local-bootstrap-headers.diff
 any/submitted-resolv-unaligned.diff
 any/submitted-intl-tstgettext.diff
-
-hurd-i386/tg2.26-sched_param.diff

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



[glibc] branch glibc-2.26 updated (2d7e2cd -> 993647e)

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

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

  from  2d7e2cd   Rebase and re-enable hurd patches
   new  993647e   patches/hurd-i386/tg2.26-sched_param.diff: New patch

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog |  2 +-
 debian/patches/hurd-i386/tg2.26-sched_param.diff | 51 
 debian/patches/series|  2 +
 3 files changed, 54 insertions(+), 1 deletion(-)
 create mode 100644 debian/patches/hurd-i386/tg2.26-sched_param.diff

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



[glibc] 01/01: patches/hurd-i386/tg2.26-sched_param.diff: New patch

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 993647ec071cd9655bc78cae08ec929e985a54ff
Author: Samuel Thibault 
Date:   Sat Sep 2 23:02:48 2017 +

patches/hurd-i386/tg2.26-sched_param.diff: New patch
---
 debian/changelog |  2 +-
 debian/patches/hurd-i386/tg2.26-sched_param.diff | 51 
 debian/patches/series|  2 +
 3 files changed, 54 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a0a1774..ef03bf3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -46,7 +46,7 @@ glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium
   - patches/hurd-i386/tg-pipe2.diff: rebased.
   - patches/hurd-i386/tg-socket_flags.diff: rebased.
   - patches/hurd-i386/tg2.25-tls.diff: rebased.
-
+  - patches/hurd-i386/tg2.26-sched_param.diff: New patch.
 
  -- Adam Conrad   Sat, 02 Sep 2017 12:15:10 -0600
 
diff --git a/debian/patches/hurd-i386/tg2.26-sched_param.diff 
b/debian/patches/hurd-i386/tg2.26-sched_param.diff
new file mode 100644
index 000..eaaf853
--- /dev/null
+++ b/debian/patches/hurd-i386/tg2.26-sched_param.diff
@@ -0,0 +1,51 @@
+From: Samuel Thibault 
+Subject: [PATCH] Bring back __sched_param to bits/sched.h
+
+Upstream removed it because it doesn't use it, but we do: our pthread.h
+includes thread-attr.h to bring the pthread_attr_t type to applications,
+and thus needs the sched_param structure.
+
+Note: that uses __sched_param and not sched_param because thread-attr.h
+is also also brought in from sys/types.h, which should not expose
+sched_param if not requested to by applicationg defining _POSIX_SOURCE
+and alike.
+
+Signed-off-by: Samuel Thibault 
+
+---
+ bits/sched.h | 16 
+ 1 file changed, 16 insertions(+)
+
+diff --git a/bits/sched.h b/bits/sched.h
+index 0588f3142e..e96ee3ba03 100644
+--- a/bits/sched.h
 b/bits/sched.h
+@@ -17,6 +17,8 @@
+License along with the GNU C Library; if not, see
+.  */
+ 
++#ifndef __need_schedparam
++
+ #ifndef _BITS_SCHED_H
+ #define _BITS_SCHED_H 1
+ 
+@@ -36,3 +38,17 @@ struct sched_param
+ };
+ 
+ #endif /* bits/sched.h */
++
++#endif/* need schedparam */
++
++#if !defined __defined_schedparam \
++&& (defined __need_schedparam || defined _SCHED_H)
++# define __defined_schedparam 1
++/* Data structure to describe a process' schedulability.  */
++struct __sched_param
++  {
++int __sched_priority;
++  };
++# undef __need_schedparam
++#endif
++
+-- 
+tg: (854baea9b7..) t2.26/sched_param (depends on: baseline-2.26)
diff --git a/debian/patches/series b/debian/patches/series
index 871388f..20789ba 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -201,3 +201,5 @@ any/local-libpic.diff
 any/local-bootstrap-headers.diff
 any/submitted-resolv-unaligned.diff
 any/submitted-intl-tstgettext.diff
+
+hurd-i386/tg2.26-sched_param.diff

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



[glibc] branch glibc-2.26 updated (2d7aa68 -> 2d7e2cd)

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

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

  from  2d7aa68   New upstream release, with git updates to 2017-09-01:
   new  2d7e2cd   Rebase and re-enable hurd patches

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog   |  26 ++-
 debian/patches/hurd-i386/tg-gsync-libc.diff| 177 ++---
 .../hurd-i386/tg-hurdsig-global-dispositions.diff  |   2 +-
 debian/patches/hurd-i386/tg-pipe2.diff |   9 --
 debian/patches/hurd-i386/tg-socket_flags.diff  |   7 -
 debian/patches/hurd-i386/tg2.25-tls.diff   |  22 +--
 debian/patches/series  |  34 ++--
 7 files changed, 122 insertions(+), 155 deletions(-)

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



[glibc] 01/01: Rebase and re-enable hurd patches

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 2d7e2cd7bc1037a46410b6bc3c8a028a179997f6
Author: Samuel Thibault 
Date:   Sat Sep 2 22:43:00 2017 +

Rebase and re-enable hurd patches

  - patches/hurd-i386/tg-gsync-libc.diff: rebased.
  - patches/hurd-i386/tg-hurdsig-global-dispositions.diff: rebased.
  - patches/hurd-i386/tg-pipe2.diff: rebased.
  - patches/hurd-i386/tg-socket_flags.diff: rebased.
  - patches/hurd-i386/tg2.25-tls.diff: rebased.
---
 debian/changelog   |  26 ++-
 debian/patches/hurd-i386/tg-gsync-libc.diff| 177 ++---
 .../hurd-i386/tg-hurdsig-global-dispositions.diff  |   2 +-
 debian/patches/hurd-i386/tg-pipe2.diff |   9 --
 debian/patches/hurd-i386/tg-socket_flags.diff  |   7 -
 debian/patches/hurd-i386/tg2.25-tls.diff   |  22 +--
 debian/patches/series  |  34 ++--
 7 files changed, 122 insertions(+), 155 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a327ab8..a0a1774 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium
 
+  [ Adam Conrad ]
   * New upstream release (LP: #1703368), with git updates to 2017-09-01:
 - debian/{symbols.wildcards,control}: Update and regen for 2.26.
 - debian/patches/alpha/submitted-termios_h.diff: upstreamed.
@@ -25,23 +26,6 @@ glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium
 - debian/patches/localedata/locales-fr.diff: rebased.
 - debian/patches/powerpc/submitted-tst-tlsopt-powerpc.diff: rebased.
 - debian/patches/sparc/submitted-sparc64-socketcall.diff: rebased.
-- Disabled the following hurd-i386 patches to speed up Linux porting:
-  - hurd-i386/tg-hurdsig-global-dispositions.diff: disabled.
-  - hurd-i386/local-hurdsig-global-dispositions-version.diff: disabled.
-  - hurd-i386/tg-hurdsig-SA_SIGINFO.diff: disabled.
-  - hurd-i386/tg-hurdsig-fixes-2.diff: disabled.
-  - hurd-i386/submitted-exec_filename.diff: disabled.
-  - hurd-i386/tg-hurdsig-boot-fix.diff: disabled.
-  - hurd-i386/tg-io_select_timeout.diff: disabled.
-  - hurd-i386/tg-poll_errors_fixes.diff: disabled.
-  - hurd-i386/tg-socket_flags.diff: disabled.
-  - hurd-i386/tg-pipe2.diff: disabled.
-  - hurd-i386/tg-sigstate_thread_reference.diff: disabled.
-  - hurd-i386/tg-extern_inline.diff: disabled.
-  - hurd-i386/tg-gsync-libc.diff: disabled.
-  - hurd-i386/tg-ONSTACK.diff: disabled.
-  - hurd-i386/tg-libc_rwlock_recursive.diff: disabled.
-  - hurd-i386/tg2.25-tls.diff: disabled.
 - debian/patches/localedata/local-hu_HU-sort.diff: Make testsuite
   agree with the sorting we see in Debian, may need another look.
 - debian/control.in/libc: Drop ancient Breaks satisfied in oldoldstable.
@@ -56,6 +40,14 @@ glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium
   on cache sizes and noisiness of the build system, which is unreliable.
 - debian/testsuite-xfail-debian.mk: Use granular pow/setpayloadsig xfails.
 
+  [ Samuel Thibault ]
+  - patches/hurd-i386/tg-gsync-libc.diff: rebased.
+  - patches/hurd-i386/tg-hurdsig-global-dispositions.diff: rebased.
+  - patches/hurd-i386/tg-pipe2.diff: rebased.
+  - patches/hurd-i386/tg-socket_flags.diff: rebased.
+  - patches/hurd-i386/tg2.25-tls.diff: rebased.
+
+
  -- Adam Conrad   Sat, 02 Sep 2017 12:15:10 -0600
 
 glibc (2.25-0experimental4) UNRELEASED; urgency=medium
diff --git a/debian/patches/hurd-i386/tg-gsync-libc.diff 
b/debian/patches/hurd-i386/tg-gsync-libc.diff
index 414812f..6b22a7f 100644
--- a/debian/patches/hurd-i386/tg-gsync-libc.diff
+++ b/debian/patches/hurd-i386/tg-gsync-libc.diff
@@ -51,10 +51,10 @@ cleanup routines now use gcc's cleanup attribute
  sysdeps/mach/hurd/setsid.c |  10 +-
  18 files changed, 666 insertions(+), 309 deletions(-)
 
-Index: glibc-2.23/hurd/Makefile
+Index: glibc-2.26/hurd/Makefile
 ===
 glibc-2.23.orig/hurd/Makefile
-+++ glibc-2.23/hurd/Makefile
+--- glibc-2.26.orig/hurd/Makefile
 glibc-2.26/hurd/Makefile
 @@ -56,6 +56,7 @@ routines = hurdstartup hurdinit \
   ports-get ports-set hurdports hurdmsg \
   errno-loc \
@@ -63,10 +63,10 @@ Index: glibc-2.23/hurd/Makefile
   $(sig) $(dtable) $(inlines) port-cleanup report-wait xattr
  sig   = hurdsig hurdfault siginfo hurd-raise preempt-sig \
  trampoline longjmp-ts catch-exc exc2signal hurdkill sigunwind \
-Index: glibc-2.23/hurd/Versions
+Index: glibc-2.26/hurd/Versions
 ===
 glibc-2.23.orig/hurd/Versions
-+++ glibc-2.23/hurd/Versions
+--- glibc-2.26.orig/hurd/Versions
 

[glibc] branch glibc-2.26 updated (267d61d -> 2d7aa68)

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

adconrad pushed a change to branch glibc-2.26
in repository glibc.

  from  267d61d   Replace 
debian/patches/mips/submitted-syscalls5-7-unbound-stack.diff by the final 
version git/submitted-syscalls5-7-unbound-stack.diff.
   new  2d7aa68   New upstream release, with git updates to 2017-09-01:

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog   |60 +
 debian/control |14 +-
 debian/control.in/libc | 2 +-
 debian/debhelper.in/libc.preinst   | 6 -
 debian/patches/all/local-ldd.diff  |33 +-
 debian/patches/alpha/submitted-termios_h.diff  |39 -
 debian/patches/any/cvs-malloc-hardening.diff   |16 -
 debian/patches/any/local-bits-sigstack.diff|16 -
 debian/patches/any/local-dynamic-resolvconf.diff   |39 -
 debian/patches/any/local-ldso-disable-hwcap.diff   | 6 +-
 debian/patches/any/local-tcsetaddr.diff| 5 +-
 debian/patches/any/local-tst-writev.diff   |19 -
 debian/patches/any/submitted-resolv-unaligned.diff |26 +-
 debian/patches/any/submitted-string2-strcmp.diff   |32 -
 debian/patches/any/submitted-unicode-9.0.0.diff| 11539 ---
 debian/patches/arm/local-arm-futex.diff| 2 +-
 debian/patches/arm/submitted-strip-bit-0.diff  |31 -
 debian/patches/git-updates.diff|  6015 ++
 .../hurd-i386/git-__inet6_scopeid_pton.diff|39 -
 debian/patches/hurd-i386/local-ED.diff |27 +-
 debian/patches/hurd-i386/tg-EGREGIOUS-fr.diff  | 4 +-
 debian/patches/hurd-i386/tg-EIEIO-fr.diff  | 4 +-
 debian/patches/i386/local-cmov.diff|30 -
 debian/patches/kfreebsd/submitted-auxv.diff|30 +-
 debian/patches/kfreebsd/submitted-waitid.diff  | 6 +-
 debian/patches/localedata/local-hu_HU-sort.diff|28 +
 debian/patches/localedata/locales-fr.diff  |11 +-
 .../powerpc/submitted-tst-tlsopt-powerpc.diff  | 9 +-
 debian/patches/series  |43 +-
 .../sparc/submitted-sparc64-socketcall.diff|12 +-
 debian/symbols.wildcards   | 3 +-
 debian/sysdeps/amd64.mk| 1 -
 debian/sysdeps/i386.mk | 1 -
 debian/sysdeps/powerpc.mk  | 2 +-
 debian/sysdeps/ppc64.mk| 2 +-
 debian/sysdeps/ppc64el.mk  | 2 +-
 debian/sysdeps/s390x.mk| 2 +-
 debian/testsuite-xfail-debian.mk   |23 +-
 38 files changed, 970 insertions(+), 17209 deletions(-)
 delete mode 100644 debian/patches/alpha/submitted-termios_h.diff
 delete mode 100644 debian/patches/any/cvs-malloc-hardening.diff
 delete mode 100644 debian/patches/any/local-bits-sigstack.diff
 delete mode 100644 debian/patches/any/local-dynamic-resolvconf.diff
 delete mode 100644 debian/patches/any/local-tst-writev.diff
 delete mode 100644 debian/patches/any/submitted-string2-strcmp.diff
 delete mode 100644 debian/patches/any/submitted-unicode-9.0.0.diff
 delete mode 100644 debian/patches/arm/submitted-strip-bit-0.diff
 delete mode 100644 debian/patches/hurd-i386/git-__inet6_scopeid_pton.diff
 delete mode 100644 debian/patches/i386/local-cmov.diff
 create mode 100644 debian/patches/localedata/local-hu_HU-sort.diff

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



[glibc] branch glibc-2.26 created (now 267d61d)

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

adconrad pushed a change to branch glibc-2.26
in repository glibc.

at  267d61d   Replace 
debian/patches/mips/submitted-syscalls5-7-unbound-stack.diff by the final 
version git/submitted-syscalls5-7-unbound-stack.diff.

No new revisions were added by this update.

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



Bug#874074: ld.so: TLS relocations against local symbols don't work on powerpc, sparc and sparc64

2017-09-02 Thread James Clarke
Package: libc6
Version: 2.24-17
Tags: upstream patch
Forwarded: https://sourceware.org/ml/libc-alpha/2017-09/msg00120.html
User: debian-sp...@lists.debian.org
Usertags: sparc sparc64
User: debian-powe...@lists.debian.org
Usertags: powerpc
X-Debbugs-Cc: debian-sp...@lists.debian.org, debian-powe...@lists.debian.org

Hi,
On the above architectures, TLS relocations against local symbols do not
work properly, crashing with SIGBUS or SIGSEGV on accessing the variable
in question. This is only a problem when using gold, as bfd will
optimise the relocations (since it knows the symbol cannot be pre-empted
by one in another object) to not refer to a symbol at all. I have
written a test script, available at [0].

The above patch has been tested on powerpc and sparc64 using my test
script, as well as on sparc64 using my local experimental GHC with
native code generation support, where the problem was first seen.

Regards,
James

[0] http://paste.debian.net/plain/984146