[glibc] branch sid updated (4a7ed05 -> 2ad7a31)

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

sthibault pushed a change to branch sid
in repository glibc.

  from  4a7ed05   libc0.3.symbols.hurd-i386: Update symbols
   new  2ad7a31   hurd-i386/tg-sysvshm.diff: Update from topgit

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/tg-sysvshm.diff | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

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



[glibc] 01/01: hurd-i386/tg-sysvshm.diff: Update from topgit

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

sthibault pushed a commit to branch sid
in repository glibc.

commit 2ad7a31030e450d0d1952d7302e7cdbd10299105
Author: Samuel Thibault 
Date:   Sat Aug 20 21:59:00 2016 +0200

hurd-i386/tg-sysvshm.diff: Update from topgit
---
 debian/changelog | 1 +
 debian/patches/hurd-i386/tg-sysvshm.diff | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b20e358..d5af48b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ glibc (2.23-5) UNRELEASED; urgency=medium
   * hurd-i386/libpthread_version.diff: Really fix pthread_setcancelstate
 aliasing.
   * libc0.3.symbols.hurd-i386: Update symbols.
+  * hurd-i386/tg-sysvshm.diff: Update from topgit.
 
  -- Samuel Thibault   Tue, 09 Aug 2016 01:45:00 +0200
 
diff --git a/debian/patches/hurd-i386/tg-sysvshm.diff 
b/debian/patches/hurd-i386/tg-sysvshm.diff
index 40db37d..74c8c64 100644
--- a/debian/patches/hurd-i386/tg-sysvshm.diff
+++ b/debian/patches/hurd-i386/tg-sysvshm.diff
@@ -39,7 +39,7 @@ Subject: [PATCH] Implement SysV shared memory for GNU/Hurd.
  trampoline longjmp-ts catch-exc exc2signal hurdkill sigunwind \
 --- /dev/null
 +++ b/hurd/sysvshm.c
-@@ -0,0 +1,96 @@
+@@ -0,0 +1,97 @@
 +/* Copyright (C) 2005 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +
@@ -128,6 +128,7 @@ Subject: [PATCH] Implement SysV shared memory for GNU/Hurd.
 +*pshm = shm->next;
 +*size = shm->size;
 +__mutex_unlock (&sysvshm_lock);
++free (shm);
 +return 0;
 +  }
 +  pshm = &shm->next;
@@ -165,7 +166,7 @@ Subject: [PATCH] Implement SysV shared memory for GNU/Hurd.
 +#define SHM_PRIV_KEY_START INT_MAX
 +#define SHM_PRIV_KEY_END ((INT_MAX / 2) + 1)
 +
-+#define SHM_PREFIX "shm-"
++#define SHM_PREFIX"sysvshm-"
 +#define SHM_DIR _PATH_DEV "shm/"
 +
 +/* The maximum number of characters in a shared memory segment file name.

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



[glibc] branch sid updated (5bce109 -> 4a7ed05)

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

sthibault pushed a change to branch sid
in repository glibc.

  from  5bce109   hurd: Really fix pthread_setcancelstate aliasing
   new  4a7ed05   libc0.3.symbols.hurd-i386: Update symbols

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/libc0.3.symbols.hurd-i386 | 18 ++
 2 files changed, 19 insertions(+)

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



[glibc] 01/01: libc0.3.symbols.hurd-i386: Update symbols

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

sthibault pushed a commit to branch sid
in repository glibc.

commit 4a7ed0557176f7c24834b49e686bb00767537cca
Author: Samuel Thibault 
Date:   Sat Aug 20 14:37:59 2016 +0200

libc0.3.symbols.hurd-i386: Update symbols
---
 debian/changelog |  1 +
 debian/libc0.3.symbols.hurd-i386 | 18 ++
 2 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 67d928c..b20e358 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ glibc (2.23-5) UNRELEASED; urgency=medium
 sockets with msg_name != NULL.  Closes: #833558.
   * hurd-i386/libpthread_version.diff: Really fix pthread_setcancelstate
 aliasing.
+  * libc0.3.symbols.hurd-i386: Update symbols.
 
  -- Samuel Thibault   Tue, 09 Aug 2016 01:45:00 +0200
 
diff --git a/debian/libc0.3.symbols.hurd-i386 b/debian/libc0.3.symbols.hurd-i386
index e6a4a85..329554a 100644
--- a/debian/libc0.3.symbols.hurd-i386
+++ b/debian/libc0.3.symbols.hurd-i386
@@ -68,7 +68,11 @@ libhurduser.so.0.3 #PACKAGE# #MINVER#
  __auth_getids@Base 2.11
  __auth_makeauth@Base 2.11
  __auth_server_authenticate@Base 2.11
+ __auth_server_authenticate_reply@Base 2.23-4
+ __auth_server_authenticate_request@Base 2.23-4
  __auth_user_authenticate@Base 2.11
+ __auth_user_authenticate_reply@Base 2.23-4
+ __auth_user_authenticate_request@Base 2.23-4
  __crash_dump_task@Base 2.11
  __dir_link@Base 2.11
  __dir_lookup@Base 2.11
@@ -305,6 +309,8 @@ libhurduser.so.0.3 #PACKAGE# #MINVER#
  __proc_is_important_request@Base 2.17-93~
  __proc_make_login_coll@Base 2.11
  __proc_make_login_coll_request@Base 2.11
+ __proc_make_task_namespace@Base 2.23-4
+ __proc_make_task_namespace_request@Base 2.23-4
  __proc_mark_cont@Base 2.11
  __proc_mark_cont_request@Base 2.11
  __proc_mark_exec@Base 2.11
@@ -427,7 +433,11 @@ libhurduser.so.0.3 #PACKAGE# #MINVER#
  auth_getids@Base 2.11
  auth_makeauth@Base 2.11
  auth_server_authenticate@Base 2.11
+ auth_server_authenticate_reply@Base 2.23-4
+ auth_server_authenticate_request@Base 2.23-4
  auth_user_authenticate@Base 2.11
+ auth_user_authenticate_reply@Base 2.23-4
+ auth_user_authenticate_request@Base 2.23-4
  crash_dump_task@Base 2.11
  dir_link@Base 2.11
  dir_lookup@Base 2.11
@@ -664,6 +674,8 @@ libhurduser.so.0.3 #PACKAGE# #MINVER#
  proc_is_important_request@Base 2.17-93~
  proc_make_login_coll@Base 2.11
  proc_make_login_coll_request@Base 2.11
+ proc_make_task_namespace@Base 2.23-4
+ proc_make_task_namespace_request@Base 2.23-4
  proc_mark_cont@Base 2.11
  proc_mark_cont_request@Base 2.11
  proc_mark_exec@Base 2.11
@@ -806,6 +818,9 @@ libmachuser.so.1 #PACKAGE# #MINVER#
  __device_write_request@Base 2.11
  __device_write_request_inband@Base 2.11
  __exception_raise@Base 2.11
+ __gsync_requeue@Base 2.23-4
+ __gsync_wait@Base 2.23-4
+ __gsync_wake@Base 2.23-4
  __host_adjust_time@Base 2.11
  __host_get_boot_info@Base 2.11
  __host_get_time@Base 2.11
@@ -962,6 +977,9 @@ libmachuser.so.1 #PACKAGE# #MINVER#
  device_write_request@Base 2.11
  device_write_request_inband@Base 2.11
  exception_raise@Base 2.11
+ gsync_requeue@Base 2.23-4
+ gsync_wait@Base 2.23-4
+ gsync_wake@Base 2.23-4
  host_adjust_time@Base 2.11
  host_get_boot_info@Base 2.11
  host_get_time@Base 2.11

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



[glibc] branch sid updated (ebd03da -> 5bce109)

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

sthibault pushed a change to branch sid
in repository glibc.

  from  ebd03da   Fix recvmsg on PF_LOCAL sockets with msg_name != NULL
   new  5bce109   hurd: Really fix pthread_setcancelstate aliasing

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/libpthread_version.diff | 51 ++--
 2 files changed, 31 insertions(+), 22 deletions(-)

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



[glibc] 01/01: hurd: Really fix pthread_setcancelstate aliasing

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

sthibault pushed a commit to branch sid
in repository glibc.

commit 5bce109f6d0ae1b591cdd26ec0749b885b1a5d85
Author: Samuel Thibault 
Date:   Thu Aug 11 07:54:44 2016 +

hurd: Really fix pthread_setcancelstate aliasing
---
 debian/changelog |  2 +
 debian/patches/hurd-i386/libpthread_version.diff | 51 ++--
 2 files changed, 31 insertions(+), 22 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 653b41f..67d928c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ glibc (2.23-5) UNRELEASED; urgency=medium
 
   * patches/hurd-i386/git-recvmsg.diff: New patch, fixes recvmsg on PF_LOCAL
 sockets with msg_name != NULL.  Closes: #833558.
+  * hurd-i386/libpthread_version.diff: Really fix pthread_setcancelstate
+aliasing.
 
  -- Samuel Thibault   Tue, 09 Aug 2016 01:45:00 +0200
 
diff --git a/debian/patches/hurd-i386/libpthread_version.diff 
b/debian/patches/hurd-i386/libpthread_version.diff
index f5ef1f5..3965deb 100644
--- a/debian/patches/hurd-i386/libpthread_version.diff
+++ b/debian/patches/hurd-i386/libpthread_version.diff
@@ -117,7 +117,7 @@ once packages are rebuilt against 2.21.
 +#endif
 --- a/libpthread/forward.c
 +++ b/libpthread/forward.c
-@@ -23,20 +23,37 @@
+@@ -20,20 +23,42 @@
  #include 
  #include 
  
@@ -127,30 +127,33 @@ once packages are rebuilt against 2.21.
  struct pthread_functions __libc_pthread_functions attribute_hidden;
  int __libc_pthread_functions_init attribute_hidden;
  
--
++# define FORWARD2_NOVERSION(name, rettype, decl, params, defaction) \
++rettype   
  \
++__##name decl   \
++{   \
++  if (!__libc_pthread_functions_init)   \
++defaction;
  \
++\
++  return PTHFCT_CALL (ptr_##name, params);  \
++} \
+ 
  # define FORWARD2(name, rettype, decl, params, defaction) \
++  FORWARD2_NOVERSION(name, rettype, decl, params, defaction) \
++versioned_symbol (libc, __##name, name, GLIBC_2_21); \
++
++#if SHLIB_COMPAT (libc, GLIBC_2_13, GLIBC_2_21)
++# define FORWARD2_NOCOMPAT(name, rettype, decl, params, defaction) \
  rettype   
  \
 -name decl   \
-+__##name decl   \
++__##name##_2_13 decl\
  {   \
if (!__libc_pthread_functions_init)   \
  defaction;
  \
  \
return PTHFCT_CALL (ptr_##name, params);  \
--}
-+} \
-+versioned_symbol (libc, __##name, name, GLIBC_2_21); \
-+
-+#if SHLIB_COMPAT (libc, GLIBC_2_13, GLIBC_2_21)
+ }
 +# define FORWARD2_COMPAT(name, rettype, decl, params, defaction) \
-+rettype   
  \
-+__##name##_2_13 decl\
-+{   \
-+  if (!__libc_pthread_functions_init)   \
-+defaction;
  \
-+\
-+  return PTHFCT_CALL (ptr_##name, params);  \
-+} \
++  FORWARD2_NOCOMPAT(name, rettype, decl, params, defaction) \
 +compat_symbol (libc, __##name##_2_13, name, GLIBC_2_13_DEBIAN_31);
 +#else
 +# define FORWARD2_COMPAT(name, rettype, decl, params, defaction)
@@ -158,7 +161,7 @@ once packages are rebuilt against 2.21.
  
  /* Same as FORWARD2, only without return.  */
  # define FORWARD_NORETURN(name, rettype, decl, params, defaction) \
-@@ -47,10 +64,19 @@ name decl  
  \
+@@ -47,10 +69,22 @@ name decl  
  \
  defaction;
  \
  \
PTHFCT_CALL (ptr_##name, params); \
@@ -176,10 +179,13 @@ once packages are rebuilt against 2.21.
 -  FORWARD2 (name, int, decl, params, return defretval)
 +  FORWARD2 (name, int, decl, params, return

[glibc] branch sid updated (c10eb87 -> ebd03da)

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

sthibault pushed a change to branch sid
in repository glibc.

  from  c10eb87   releasing package glibc version 2.23-4
   new  ebd03da   Fix recvmsg on PF_LOCAL sockets with msg_name != NULL

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  |  7 +++
 debian/patches/hurd-i386/git-recvmsg.diff | 33 +++
 debian/patches/series |  1 +
 3 files changed, 41 insertions(+)
 create mode 100644 debian/patches/hurd-i386/git-recvmsg.diff

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



[glibc] 01/01: Fix recvmsg on PF_LOCAL sockets with msg_name != NULL

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

sthibault pushed a commit to branch sid
in repository glibc.

commit ebd03daf7ad5494d527a1b67368239b489e0fac8
Author: Samuel Thibault 
Date:   Tue Aug 9 01:47:13 2016 +0200

Fix recvmsg on PF_LOCAL sockets with msg_name != NULL

  * patches/hurd-i386/git-recvmsg.diff: New patch.  Closes: #833558.
---
 debian/changelog  |  7 +++
 debian/patches/hurd-i386/git-recvmsg.diff | 33 +++
 debian/patches/series |  1 +
 3 files changed, 41 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8594c29..653b41f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+glibc (2.23-5) UNRELEASED; urgency=medium
+
+  * patches/hurd-i386/git-recvmsg.diff: New patch, fixes recvmsg on PF_LOCAL
+sockets with msg_name != NULL.  Closes: #833558.
+
+ -- Samuel Thibault   Tue, 09 Aug 2016 01:45:00 +0200
+
 glibc (2.23-4) unstable; urgency=medium
 
   [ Aurelien Jarno ]
diff --git a/debian/patches/hurd-i386/git-recvmsg.diff 
b/debian/patches/hurd-i386/git-recvmsg.diff
new file mode 100644
index 000..386524f
--- /dev/null
+++ b/debian/patches/hurd-i386/git-recvmsg.diff
@@ -0,0 +1,33 @@
+commit a194625ef31f0c33afae9b53e2dfaa17c2517606
+Author: Samuel Thibault 
+Date:   Tue Aug 9 01:42:50 2016 +0200
+
+Fix recvmsg returning SIGLOST on PF_LOCAL sockets
+
+when msg_name is not NULL.
+
+   * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
+   MACH_PORT_NULL.
+
+diff --git a/sysdeps/mach/hurd/recvmsg.c b/sysdeps/mach/hurd/recvmsg.c
+index 770a42e..51cfbd7 100644
+--- a/sysdeps/mach/hurd/recvmsg.c
 b/sysdeps/mach/hurd/recvmsg.c
+@@ -64,7 +64,7 @@ __libc_recvmsg (int fd, struct msghdr *message, int flags)
+  &message->msg_flags, amount)))
+ return __hurd_sockfail (fd, flags, err);
+ 
+-  if (message->msg_name != NULL)
++  if (message->msg_name != NULL && aport != MACH_PORT_NULL)
+ {
+   char *buf = message->msg_name;
+   mach_msg_type_number_t buflen = message->msg_namelen;
+@@ -98,6 +98,8 @@ __libc_recvmsg (int fd, struct msghdr *message, int flags)
+   if (buflen > 0)
+   ((struct sockaddr *) message->msg_name)->sa_family = type;
+ }
++  else if (message->msg_name != NULL)
++message->msg_namelen = 0;
+ 
+   __mach_port_deallocate (__mach_task_self (), aport);
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 4af5d48..7202326 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -153,6 +153,7 @@ hurd-i386/cvs-check-local-headers.diff
 hurd-i386/tg-faccessat.diff
 hurd-i386/tg-eintr.diff
 hurd-i386/cvs-tabdly.diff
+hurd-i386/git-recvmsg.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

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



[glibc] branch glibc-2.24 updated (2d4da76 -> 45f081b)

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

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

  from  2d4da76   releasing package glibc version 2.24-0experimental0
   new  45f081b   testsuite-xfail-debian.mk: Update with hurd-i386 
non-regressions.

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 | 7 +++
 debian/testsuite-xfail-debian.mk | 1 +
 2 files changed, 8 insertions(+)

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



[glibc] 01/01: testsuite-xfail-debian.mk: Update with hurd-i386 non-regressions.

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

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

commit 45f081b8f5c8908d06edc6899b5cb4be2befc419
Author: Samuel Thibault 
Date:   Thu Aug 4 09:22:44 2016 +0200

testsuite-xfail-debian.mk: Update with hurd-i386 non-regressions.
---
 debian/changelog | 7 +++
 debian/testsuite-xfail-debian.mk | 1 +
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c518fe1..31722dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+glibc (2.24-0experimental1) UNRELEASED; urgency=medium
+
+  [ Samuel Thibault ]
+  * testsuite-xfail-debian.mk: Update with hurd-i386 non-regressions.
+
+ -- Samuel Thibault   Thu, 04 Aug 2016 09:20:04 +0200
+
 glibc (2.24-0experimental0) experimental; urgency=medium
 
   * New upstream release: version 2.24.
diff --git a/debian/testsuite-xfail-debian.mk b/debian/testsuite-xfail-debian.mk
index 601f285..676b069 100644
--- a/debian/testsuite-xfail-debian.mk
+++ b/debian/testsuite-xfail-debian.mk
@@ -803,6 +803,7 @@ test-xfail-XPG4/sys/stat.h/conform = yes
 test-xfail-XPG4/termios.h/conform = yes
 # fails randomly
 test-xfail-tst-preadvwritev64 = yes
+test-xfail-tst-preadwrite64 = yes
 
 # fixed upstream
 test-xfail-POSIX/signal.h/conform = yes

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



[glibc] branch sid updated (7923ade -> eebf4fc)

2016-07-20 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  7923ade   releasing package glibc version 2.23-2
   new  eebf4fc   hurd-i386/libpthread_version.diff: Update with 
pthread_setcancelstate aliasing.

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 |  8 ++
 debian/patches/hurd-i386/libpthread_version.diff | 35 
 2 files changed, 25 insertions(+), 18 deletions(-)

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



[glibc] 01/01: hurd-i386/libpthread_version.diff: Update with pthread_setcancelstate aliasing.

2016-07-20 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit eebf4fca609919ce73189982aa31805293777ca4
Author: Samuel Thibault 
Date:   Wed Jul 20 09:48:44 2016 +0200

hurd-i386/libpthread_version.diff: Update with pthread_setcancelstate 
aliasing.
---
 debian/changelog |  8 ++
 debian/patches/hurd-i386/libpthread_version.diff | 35 
 2 files changed, 25 insertions(+), 18 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f97cd1c..3a78e38 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+glibc (2.23-3) UNRELEASED; urgency=medium
+
+  [ Samuel Thibault ]
+  * hurd-i386/libpthread_version.diff: Update with pthread_setcancelstate
+aliasing.
+
+ -- Aurelien Jarno   Tue, 19 Jul 2016 20:22:37 +0200
+
 glibc (2.23-2) unstable; urgency=medium
 
   [ Aurelien Jarno ]
diff --git a/debian/patches/hurd-i386/libpthread_version.diff 
b/debian/patches/hurd-i386/libpthread_version.diff
index fec449e..f5ef1f5 100644
--- a/debian/patches/hurd-i386/libpthread_version.diff
+++ b/debian/patches/hurd-i386/libpthread_version.diff
@@ -4,10 +4,8 @@ This dates when libpthread was moved to glibc and some 
features were added.
 TODO: _DEBIAN_ in versions however pose problem. Remove the _DEBIAN_ version
 once packages are rebuilt against 2.21.
 
-Index: glibc-2.21/libpthread/Versions
-===
 glibc-2.21.orig/libpthread/Versions
-+++ glibc-2.21/libpthread/Versions
+--- a/libpthread/Versions
 b/libpthread/Versions
 @@ -1,5 +1,5 @@
  libc {
 -  GLIBC_2.13 {
@@ -56,10 +54,8 @@ Index: glibc-2.21/libpthread/Versions
  pthread_hurd_cond_wait_np;
  pthread_hurd_cond_timedwait_np;
}
-Index: glibc-2.21/libpthread/sysdeps/mach/hurd/pt-hurd-cond-timedwait.c
-===
 glibc-2.21.orig/libpthread/sysdeps/mach/hurd/pt-hurd-cond-timedwait.c
-+++ glibc-2.21/libpthread/sysdeps/mach/hurd/pt-hurd-cond-timedwait.c
+--- a/libpthread/sysdeps/mach/hurd/pt-hurd-cond-timedwait.c
 b/libpthread/sysdeps/mach/hurd/pt-hurd-cond-timedwait.c
 @@ -23,6 +23,8 @@
  
  #include 
@@ -89,10 +85,8 @@ Index: 
glibc-2.21/libpthread/sysdeps/mach/hurd/pt-hurd-cond-timedwait.c
  
  int
  __pthread_hurd_cond_timedwait_internal (pthread_cond_t *cond,
-Index: glibc-2.21/libpthread/sysdeps/mach/hurd/pt-hurd-cond-wait.c
-===
 glibc-2.21.orig/libpthread/sysdeps/mach/hurd/pt-hurd-cond-wait.c
-+++ glibc-2.21/libpthread/sysdeps/mach/hurd/pt-hurd-cond-wait.c
+--- a/libpthread/sysdeps/mach/hurd/pt-hurd-cond-wait.c
 b/libpthread/sysdeps/mach/hurd/pt-hurd-cond-wait.c
 @@ -23,6 +23,8 @@
  
  #include 
@@ -121,10 +115,8 @@ Index: 
glibc-2.21/libpthread/sysdeps/mach/hurd/pt-hurd-cond-wait.c
 +}
 +compat_symbol (libpthread, __pthread_hurd_cond_wait_np_2_13, 
pthread_hurd_cond_wait_np, GLIBC_2_13_DEBIAN_38);
 +#endif
-Index: glibc-2.21/libpthread/forward.c
-===
 glibc-2.21.orig/libpthread/forward.c
-+++ glibc-2.21/libpthread/forward.c
+--- a/libpthread/forward.c
 b/libpthread/forward.c
 @@ -23,20 +23,37 @@
  #include 
  #include 
@@ -199,7 +191,7 @@ Index: glibc-2.21/libpthread/forward.c
  
  
  FORWARD (pthread_getschedparam,
-@@ -130,6 +159,7 @@ FORWARD (pthread_mutex_unlock, (pthread_
+@@ -130,16 +159,21 @@ FORWARD (pthread_mutex_unlock, (pthread_
  
  
  FORWARD2 (pthread_self, pthread_t, (void), (), return 0)
@@ -207,7 +199,14 @@ Index: glibc-2.21/libpthread/forward.c
  
  
  FORWARD (__pthread_setcancelstate, (int state, int *oldstate), (state, 
oldstate),
-@@ -139,6 +169,7 @@ FORWARD (pthread_setcanceltype, (int typ
+0)
+-strong_alias (__pthread_setcancelstate, pthread_setcancelstate);
++versioned_symbol (libc, __pthread_setcancelstate, pthread_setcancelstate, 
GLIBC_2_21);
++#if SHLIB_COMPAT (libc, GLIBC_2_13, GLIBC_2_21)
++compat_symbol (libc, __pthread_setcancelstate_2_13, pthread_setcancelstate, 
GLIBC_2_13_DEBIAN_31);
++#endif
+ 
+ FORWARD (pthread_setcanceltype, (int type, int *oldtype), (type, oldtype), 0)
  
  struct __pthread_cancelation_handler *dummy_list;
  FORWARD2 (__pthread_get_cleanup_stack, struct __pthread_cancelation_handler 
**, (void), (), return &dummy_list);

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



[glibc] branch sid updated (a813006 -> d35289f)

2016-07-14 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  a813006   hurd-i386/cvs-tabdly.diff: New patch.
   new  d35289f   Fix ghc 8 build

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/local-clock_gettime_MONOTONIC.diff | 11 +++
 2 files changed, 13 insertions(+)

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



[glibc] 01/01: Fix ghc 8 build

2016-07-14 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit d35289fa3bbac19dda3d7992e3d3af36ccb4e07e
Author: Samuel Thibault 
Date:   Thu Jul 14 14:43:32 2016 +0200

Fix ghc 8 build

  * hurd-i386/local-clock_gettime_MONOTONIC.diff: Complete patch with
timer_create.
---
 debian/changelog|  2 ++
 debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff | 11 +++
 2 files changed, 13 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ea6b109..8ec15b5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ glibc (2.23-2) UNRELEASED; urgency=medium
   * hurd-i386/cvs-libpthread-2.23.diff: Update, adds pthread_setcancelstate
 alias, fixes rsyslog start.
   * hurd-i386/cvs-tabdly.diff: New patch.  Closes: #830584.
+  * hurd-i386/local-clock_gettime_MONOTONIC.diff: Complete patch with
+timer_create, to fix ghc 8 build.
 
  -- Aurelien Jarno   Mon, 04 Jul 2016 00:33:56 +0200
 
diff --git a/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff 
b/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff
index 3260079..368bd3a 100644
--- a/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff
+++ b/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff
@@ -22,6 +22,17 @@ Index: eglibc-2.16/sysdeps/unix/clock_gettime.c
  case CLOCK_REALTIME:
{
struct timeval tv;
+--- eglibc/sysdeps/pthread/timer_create.c.orig 2016-07-14 14:34:19.721218728 
+0200
 eglibc/sysdeps/pthread/timer_create.c  2016-07-14 14:34:25.881187804 
+0200
+@@ -48,7 +48,7 @@
+   return -1;
+ }
+ 
+-  if (clock_id != CLOCK_REALTIME)
++  if (clock_id != CLOCK_REALTIME && clock_id != CLOCK_MONOTONIC)
+ {
+   __set_errno (EINVAL);
+   return -1;
 Index: eglibc-2.16/sysdeps/mach/hurd/bits/posix_opt.h
 ===
 --- eglibc-2.16.orig/sysdeps/mach/hurd/bits/posix_opt.h2012-07-23 
00:41:03.0 +0200

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



[glibc] branch sid updated (04b357a -> a813006)

2016-07-13 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  04b357a   * hurd-i386/cvs-libpthread-2.23.diff: Update
   new  a813006   hurd-i386/cvs-tabdly.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/cvs-tabdly.diff | 21 +
 debian/patches/series|  1 +
 3 files changed, 23 insertions(+)
 create mode 100644 debian/patches/hurd-i386/cvs-tabdly.diff

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



[glibc] 01/01: hurd-i386/cvs-tabdly.diff: New patch.

2016-07-13 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit a81300656190011e9f7bf7e835b5d19407125071
Author: Samuel Thibault 
Date:   Wed Jul 13 22:47:11 2016 +0200

hurd-i386/cvs-tabdly.diff: New patch.

Closes: #830584.
---
 debian/changelog |  1 +
 debian/patches/hurd-i386/cvs-tabdly.diff | 21 +
 debian/patches/series|  1 +
 3 files changed, 23 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4d3e8ce..ea6b109 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ glibc (2.23-2) UNRELEASED; urgency=medium
   [ Samuel Thibault ]
   * hurd-i386/cvs-libpthread-2.23.diff: Update, adds pthread_setcancelstate
 alias, fixes rsyslog start.
+  * hurd-i386/cvs-tabdly.diff: New patch.  Closes: #830584.
 
  -- Aurelien Jarno   Mon, 04 Jul 2016 00:33:56 +0200
 
diff --git a/debian/patches/hurd-i386/cvs-tabdly.diff 
b/debian/patches/hurd-i386/cvs-tabdly.diff
new file mode 100644
index 000..4d861af
--- /dev/null
+++ b/debian/patches/hurd-i386/cvs-tabdly.diff
@@ -0,0 +1,21 @@
+commit 2b6dbe669fa2e488b31286150e8cb6f7c0875847
+Author: Samuel Thibault 
+Date:   Wed Jul 13 22:41:40 2016 +0200
+
+Fix TABDLY value
+
+   * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
+
+diff --git a/bits/termios.h b/bits/termios.h
+index f28b492..c1b1a99 100644
+--- a/bits/termios.h
 b/bits/termios.h
+@@ -152,7 +152,7 @@ struct termios
+ # define NLDLY(3 << 8)/* NL delay.  */
+ # define NL0  (0 << 8)/* NL type 0.  */
+ # define NL1  (1 << 8)/* NL type 1.  */
+-# define TABDLY   (3 << 10)   /* TAB delay.  */
++# define TABDLY   (3 << 10 | 1 << 2)  /* TAB delay.  */
+ # define TAB0 (0 << 10)   /* TAB delay type 0.  */
+ # define TAB1 (1 << 10)   /* TAB delay type 1.  */
+ # define TAB2 (2 << 10)   /* TAB delay type 2.  */
diff --git a/debian/patches/series b/debian/patches/series
index 7e2dfd0..4af5d48 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -152,6 +152,7 @@ hurd-i386/cvs-i686-link.diff
 hurd-i386/cvs-check-local-headers.diff
 hurd-i386/tg-faccessat.diff
 hurd-i386/tg-eintr.diff
+hurd-i386/cvs-tabdly.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

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



[glibc] branch sid updated (661f775 -> 04b357a)

2016-07-12 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  661f775   Danish debconf translation update from Joe Hansen.  
Closes: #830589.
   new  04b357a   * hurd-i386/cvs-libpthread-2.23.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  | 4 
 debian/patches/hurd-i386/cvs-libpthread-2.23.diff | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

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



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

2016-07-12 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 04b357ad9642154a5874b789162a2d73c5d57347
Author: Samuel Thibault 
Date:   Wed Jul 13 01:24:21 2016 +0200

* hurd-i386/cvs-libpthread-2.23.diff: Update

adds pthread_setcancelstate alias, fixes rsyslog start.
---
 debian/changelog  | 4 
 debian/patches/hurd-i386/cvs-libpthread-2.23.diff | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 2aa9def..4d3e8ce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,10 @@ glibc (2.23-2) UNRELEASED; urgency=medium
   [ Aurelien Jarno ]
   * Danish debconf translation update from Joe Hansen.  Closes: #830589.
 
+  [ Samuel Thibault ]
+  * hurd-i386/cvs-libpthread-2.23.diff: Update, adds pthread_setcancelstate
+alias, fixes rsyslog start.
+
  -- Aurelien Jarno   Mon, 04 Jul 2016 00:33:56 +0200
 
 glibc (2.23-1) unstable; urgency=medium
diff --git a/debian/patches/hurd-i386/cvs-libpthread-2.23.diff 
b/debian/patches/hurd-i386/cvs-libpthread-2.23.diff
index 6e6bae5..0233387 100644
--- a/debian/patches/hurd-i386/cvs-libpthread-2.23.diff
+++ b/debian/patches/hurd-i386/cvs-libpthread-2.23.diff
@@ -1,14 +1,16 @@
 --- a/libpthread/forward.c
 +++ b/libpthread/forward.c
-@@ -132,7 +132,7 @@ FORWARD (pthread_mutex_unlock, (pthread_
+@@ -132,8 +132,9 @@ FORWARD (pthread_mutex_unlock, (pthread_
  FORWARD2 (pthread_self, pthread_t, (void), (), return 0)
  
  
 -FORWARD (pthread_setcancelstate, (int state, int *oldstate), (state, 
oldstate),
 +FORWARD (__pthread_setcancelstate, (int state, int *oldstate), (state, 
oldstate),
 0)
++strong_alias (__pthread_setcancelstate, pthread_setcancelstate);
  
  FORWARD (pthread_setcanceltype, (int type, int *oldtype), (type, oldtype), 0)
+ 
 --- a/libpthread/pthread/pt-initialize.c
 +++ b/libpthread/pthread/pt-initialize.c
 @@ -61,7 +61,7 @@ static const struct pthread_functions pt

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



[glibc] branch glibc-2.24 updated (e56710f -> 76b32bb)

2016-07-12 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

  from  e56710f   releasing package glibc version 2.23.90+20160711.c10f90d-1
   new  76b32bb   testsuite-xfail-debian.mk: Add missing test failure (no 
actual regression).

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 | 7 +++
 debian/testsuite-xfail-debian.mk | 2 ++
 2 files changed, 9 insertions(+)

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



[glibc] 01/01: testsuite-xfail-debian.mk: Add missing test failure (no actual regression).

2016-07-12 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

commit 76b32bb7bc5ec404f4f7a9abce7054c212855cb9
Author: Samuel Thibault 
Date:   Tue Jul 12 11:17:32 2016 +0200

testsuite-xfail-debian.mk: Add missing test failure (no actual regression).
---
 debian/changelog | 7 +++
 debian/testsuite-xfail-debian.mk | 2 ++
 2 files changed, 9 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index bbea1d0..12730aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+glibc (2.23.90+20160711.c10f90d-2) UNRELEASED; urgency=medium
+
+  * testsuite-xfail-debian.mk: Add missing test failure (no actual
+regression).
+
+ -- Samuel Thibault   Tue, 12 Jul 2016 11:16:39 +0200
+
 glibc (2.23.90+20160711.c10f90d-1) experimental; urgency=medium
 
   [ Samuel Thibault ]
diff --git a/debian/testsuite-xfail-debian.mk b/debian/testsuite-xfail-debian.mk
index 3345c79..4343ac7 100644
--- a/debian/testsuite-xfail-debian.mk
+++ b/debian/testsuite-xfail-debian.mk
@@ -801,6 +801,8 @@ test-xfail-XPG3/time.h/conform = yes
 test-xfail-XPG4/fcntl.h/conform = yes
 test-xfail-XPG4/sys/stat.h/conform = yes
 test-xfail-XPG4/termios.h/conform = yes
+# fails randomly
+test-xfail-tst-preadvwritev64 = yes
 
 # fixed upstream
 test-xfail-POSIX/signal.h/conform = yes

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



[glibc] branch glibc-2.24 updated (56fbaf6 -> ae27a23)

2016-07-06 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

  from  56fbaf6   hurd: Do not expose __register_atfork, it seems to pose 
linking issues...
   new  ae27a23   add missing XFAIL

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/testsuite-xfail-debian.mk | 1 +
 1 file changed, 1 insertion(+)

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



[glibc] branch glibc-2.24 updated (e0e645e -> 56fbaf6)

2016-07-06 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

  from  e0e645e   debian/patches/kfreebsd/local-sysdeps.diff, 
local-fbtl.diff: update to revision 6083 (from glibc-bsd).
   new  56fbaf6   hurd: Do not expose __register_atfork, it seems to pose 
linking issues...

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/series | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

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



[glibc] 01/01: add missing XFAIL

2016-07-06 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

commit ae27a23cb2da8cab19a78bd2d8ca8e7150483912
Author: Samuel Thibault 
Date:   Thu Jul 7 08:39:59 2016 +0200

add missing XFAIL
---
 debian/testsuite-xfail-debian.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/testsuite-xfail-debian.mk b/debian/testsuite-xfail-debian.mk
index 467cf0f..abe7917 100644
--- a/debian/testsuite-xfail-debian.mk
+++ b/debian/testsuite-xfail-debian.mk
@@ -791,6 +791,7 @@ test-xfail-tst-spawn2 = yes
 
 test-xfail-UNIX98/fcntl.h/conform = yes
 test-xfail-XOPEN2K/fcntl.h/conform = yes
+test-xfail-XOPEN2K/mqueue.h/conform = yes
 test-xfail-XOPEN2K/termios.h/conform = yes
 test-xfail-XOPEN2K8/termios.h/conform = yes
 test-xfail-XPG3/fcntl.h/conform = yes

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



[glibc] 01/01: hurd: Do not expose __register_atfork, it seems to pose linking issues...

2016-07-06 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

commit 56fbaf6eba8bddc92175a2aeb551d7b7d758af91
Author: Samuel Thibault 
Date:   Thu Jul 7 08:36:49 2016 +0200

hurd: Do not expose __register_atfork, it seems to pose linking issues...
---
 debian/changelog  | 2 --
 debian/patches/series | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9acc43b..1343fae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,6 @@ glibc (2.23.90+20160507.87523e9-2) UNRELEASED; urgency=medium
 malloc_setstate.
   * testsuite-xfail-debian.mk: Update hurd-i386 testsuite results, no actual
 regression.
-  * patches/hurd-i386/cvs-register_atfork.diff: New patch to expose
-__register_atfork.
 
   [ Aurelien Jarno ]
   * debian/testsuite-xfail-debian.mk: allow conform/XPG3/sys/stat.h
diff --git a/debian/patches/series b/debian/patches/series
index ffc3f63..e6abc36 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -138,7 +138,7 @@ hurd-i386/tg-faccessat.diff
 hurd-i386/tg-eintr.diff
 hurd-i386/cvs-PTR_MANGLE.diff
 hurd-i386/submitted-malloc-setstate.diff
-hurd-i386/cvs-register_atfork.diff
+#hurd-i386/cvs-register_atfork.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

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



[glibc] branch glibc-2.24 updated (eeda23e -> f5a61c1)

2016-07-06 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

  from  eeda23e   Update hurd-i386 testsuite results, no actual regression
   new  f5a61c1   hurd: expose __register_atfork

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/cvs-register_atfork.diff | 18 ++
 debian/patches/series |  1 +
 3 files changed, 21 insertions(+)
 create mode 100644 debian/patches/hurd-i386/cvs-register_atfork.diff

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



[glibc] 01/01: hurd: expose __register_atfork

2016-07-06 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

commit f5a61c1b7e2e48f403365f69264e5bd897ee0eca
Author: Samuel Thibault 
Date:   Wed Jul 6 22:51:03 2016 +0200

hurd: expose __register_atfork

patches/hurd-i386/cvs-register_atfork.diff: New patch
---
 debian/changelog  |  2 ++
 debian/patches/hurd-i386/cvs-register_atfork.diff | 18 ++
 debian/patches/series |  1 +
 3 files changed, 21 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 45b7eaf..af6ef7b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ glibc (2.23.90+20160507.87523e9-2) UNRELEASED; urgency=medium
 malloc_setstate.
   * testsuite-xfail-debian.mk: Update hurd-i386 testsuite results, no actual
 regression.
+  * patches/hurd-i386/cvs-register_atfork.diff: New patch to expose
+__register_atfork.
 
   [ Aurelien Jarno ]
   * debian/testsuite-xfail-debian.mk: allow conform/XPG3/sys/stat.h
diff --git a/debian/patches/hurd-i386/cvs-register_atfork.diff 
b/debian/patches/hurd-i386/cvs-register_atfork.diff
new file mode 100644
index 000..d374603
--- /dev/null
+++ b/debian/patches/hurd-i386/cvs-register_atfork.diff
@@ -0,0 +1,18 @@
+Index: glibc-2.23.90+20160507.87523e9/libpthread/Versions
+===
+--- glibc-2.23.90+20160507.87523e9.orig/libpthread/Versions
 glibc-2.23.90+20160507.87523e9/libpthread/Versions
+@@ -35,10 +35,12 @@ libc {
+ pthread_self; pthread_setcancelstate; pthread_setcanceltype;
+ __pthread_get_cleanup_stack;
+   }
++  GLIBC_2.24 {
++__register_atfork;
++  }
+   GLIBC_PRIVATE {
+ __libc_alloca_cutoff;
+ __libc_pthread_init;
+-__register_atfork;
+   }
+ }
+ 
diff --git a/debian/patches/series b/debian/patches/series
index a4389ea..ffc3f63 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -138,6 +138,7 @@ hurd-i386/tg-faccessat.diff
 hurd-i386/tg-eintr.diff
 hurd-i386/cvs-PTR_MANGLE.diff
 hurd-i386/submitted-malloc-setstate.diff
+hurd-i386/cvs-register_atfork.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

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



[glibc] branch glibc-2.24 updated (2f72791 -> eeda23e)

2016-07-06 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

  from  2f72791   Use the actually-submitted patch
   new  eeda23e   Update hurd-i386 testsuite results, no actual regression

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/testsuite-xfail-debian.mk | 18 +++---
 2 files changed, 17 insertions(+), 3 deletions(-)

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



[glibc] 01/01: Update hurd-i386 testsuite results, no actual regression

2016-07-06 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

commit eeda23e8fcc03f8a52db86d7d4ab6f50de8d254c
Author: Samuel Thibault 
Date:   Wed Jul 6 22:03:37 2016 +0200

Update hurd-i386 testsuite results, no actual regression
---
 debian/changelog |  2 ++
 debian/testsuite-xfail-debian.mk | 18 +++---
 2 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6e31b86..45b7eaf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ glibc (2.23.90+20160507.87523e9-2) UNRELEASED; urgency=medium
   * patches/hurd-i386/cvs-PTR_MANGLE.diff: New patch to fix build.
   * patches/hurd-i386/submitted-malloc-setstate.diff: New patch to fix
 malloc_setstate.
+  * testsuite-xfail-debian.mk: Update hurd-i386 testsuite results, no actual
+regression.
 
   [ Aurelien Jarno ]
   * debian/testsuite-xfail-debian.mk: allow conform/XPG3/sys/stat.h
diff --git a/debian/testsuite-xfail-debian.mk b/debian/testsuite-xfail-debian.mk
index 5eb30ad..467cf0f 100644
--- a/debian/testsuite-xfail-debian.mk
+++ b/debian/testsuite-xfail-debian.mk
@@ -785,9 +785,21 @@ test-xfail-tst-audit11 = yes
 test-xfail-tst-audit12 = yes
 test-xfail-tst-get-cpu-features = yes
 
-# newly failing in 2.21, real regression
-test-xfail-tst-backtrace2 = yes
-test-xfail-tst-backtrace3 = yes
+# new in 2.24
+test-xfail-tst-execvpe5 = yes
+test-xfail-tst-spawn2 = yes
+
+test-xfail-UNIX98/fcntl.h/conform = yes
+test-xfail-XOPEN2K/fcntl.h/conform = yes
+test-xfail-XOPEN2K/termios.h/conform = yes
+test-xfail-XOPEN2K8/termios.h/conform = yes
+test-xfail-XPG3/fcntl.h/conform = yes
+test-xfail-XPG3/sys/stat.h/conform = yes
+test-xfail-XPG3/termios.h/conform = yes
+test-xfail-XPG3/time.h/conform = yes
+test-xfail-XPG4/fcntl.h/conform = yes
+test-xfail-XPG4/sys/stat.h/conform = yes
+test-xfail-XPG4/termios.h/conform = yes
 
 # fixed upstream
 test-xfail-POSIX/signal.h/conform = yes

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



[glibc] branch glibc-2.24 updated (42f8a14 -> 2f72791)

2016-07-06 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

  from  42f8a14   fix malloc_setstate
   new  2f72791   Use the actually-submitted 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:
 .../hurd-i386/submitted-malloc-setstate.diff   | 42 --
 1 file changed, 40 insertions(+), 2 deletions(-)

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



[glibc] 01/01: Use the actually-submitted patch

2016-07-06 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

commit 2f727913b2d33885d1be920282929203a1aaddbc
Author: Samuel Thibault 
Date:   Wed Jul 6 21:38:36 2016 +0200

Use the actually-submitted patch
---
 .../hurd-i386/submitted-malloc-setstate.diff   | 42 --
 1 file changed, 40 insertions(+), 2 deletions(-)

diff --git a/debian/patches/hurd-i386/submitted-malloc-setstate.diff 
b/debian/patches/hurd-i386/submitted-malloc-setstate.diff
index 31d72ca..cb2493b 100644
--- a/debian/patches/hurd-i386/submitted-malloc-setstate.diff
+++ b/debian/patches/hurd-i386/submitted-malloc-setstate.diff
@@ -1,8 +1,46 @@
+https://sourceware.org/ml/libc-alpha/2016-07/msg00175.html
+
 diff --git a/malloc/malloc.c b/malloc/malloc.c
-index 1f5f166..8fa49e0 100644
+index 1f5f166..beb97e9 100644
 --- a/malloc/malloc.c
 +++ b/malloc/malloc.c
-@@ -2682,6 +2685,7 @@ sysmalloc (INTERNAL_SIZE_T nb, mstate av)
+@@ -2600,13 +2600,12 @@ sysmalloc (INTERNAL_SIZE_T nb, mstate av)
+ {
+   /*
+  Skip over some bytes to arrive at an aligned 
position.
+- We don't need to specially mark these wasted front 
bytes.
+- They will never be accessed anyway because
+- prev_inuse of av->top (and any chunk created from 
its start)
+- is always true after initialization.
++ We zero them for malloc_set_state to properly find 
the
++ first chunk.
+*/
+ 
+   correction = MALLOC_ALIGNMENT - front_misalign;
++  memset (brk, 0, correction);
+   aligned_brk += correction;
+ }
+ 
+@@ -2661,13 +2660,13 @@ sysmalloc (INTERNAL_SIZE_T nb, mstate av)
+ {
+   /*
+  Skip over some bytes to arrive at an aligned 
position.
+- We don't need to specially mark these wasted 
front bytes.
+- They will never be accessed anyway because
+- prev_inuse of av->top (and any chunk created 
from its start)
+- is always true after initialization.
++ We zero them for malloc_set_state to properly 
find
++ the first chunk.
+*/
+ 
+-  aligned_brk += MALLOC_ALIGNMENT - front_misalign;
++  correction = MALLOC_ALIGNMENT - front_misalign;
++  memset (brk, 0, correction);
++  aligned_brk += correction;
+ }
+ }
+ 
+@@ -2682,6 +2681,7 @@ sysmalloc (INTERNAL_SIZE_T nb, mstate av)
if (snd_brk != (char *) (MORECORE_FAILURE))
  {
av->top = (mchunkptr) aligned_brk;

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



[glibc] branch glibc-2.24 updated (eb73cfa -> 42f8a14)

2016-07-06 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

  from  eb73cfa   debian/testsuite-xfail-debian.mk: do not allow 
math/test-fenv to fail now that we do not have Loongson 2 buildds anymore.
   new  42f8a14   fix malloc_setstate

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/submitted-malloc-setstate.diff | 12 
 debian/patches/series   |  1 +
 3 files changed, 15 insertions(+)
 create mode 100644 debian/patches/hurd-i386/submitted-malloc-setstate.diff

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



[glibc] 01/01: fix malloc_setstate

2016-07-06 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

commit 42f8a14cbd993e70ff38a11ac6e30d9e76f2a5f3
Author: Samuel Thibault 
Date:   Wed Jul 6 21:19:59 2016 +0200

fix malloc_setstate

patches/hurd-i386/submitted-malloc-setstate.diff: New patch
---
 debian/changelog|  2 ++
 debian/patches/hurd-i386/submitted-malloc-setstate.diff | 12 
 debian/patches/series   |  1 +
 3 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 04663ce..6e31b86 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ glibc (2.23.90+20160507.87523e9-2) UNRELEASED; urgency=medium
 
   [ Samuel Thibault ]
   * patches/hurd-i386/cvs-PTR_MANGLE.diff: New patch to fix build.
+  * patches/hurd-i386/submitted-malloc-setstate.diff: New patch to fix
+malloc_setstate.
 
   [ Aurelien Jarno ]
   * debian/testsuite-xfail-debian.mk: allow conform/XPG3/sys/stat.h
diff --git a/debian/patches/hurd-i386/submitted-malloc-setstate.diff 
b/debian/patches/hurd-i386/submitted-malloc-setstate.diff
new file mode 100644
index 000..31d72ca
--- /dev/null
+++ b/debian/patches/hurd-i386/submitted-malloc-setstate.diff
@@ -0,0 +1,12 @@
+diff --git a/malloc/malloc.c b/malloc/malloc.c
+index 1f5f166..8fa49e0 100644
+--- a/malloc/malloc.c
 b/malloc/malloc.c
+@@ -2682,6 +2685,7 @@ sysmalloc (INTERNAL_SIZE_T nb, mstate av)
+   if (snd_brk != (char *) (MORECORE_FAILURE))
+ {
+   av->top = (mchunkptr) aligned_brk;
++  av->top->prev_size = 0;
+   set_head (av->top, (snd_brk - aligned_brk + correction) | 
PREV_INUSE);
+   av->system_mem += correction;
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 4988862..a4389ea 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -137,6 +137,7 @@ hurd-i386/local-versions.diff
 hurd-i386/tg-faccessat.diff
 hurd-i386/tg-eintr.diff
 hurd-i386/cvs-PTR_MANGLE.diff
+hurd-i386/submitted-malloc-setstate.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

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



[glibc] branch glibc-2.24 updated (0ad83f2 -> 3d0e0d9)

2016-07-06 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

  from  0ad83f2   New changelog entry
   new  3d0e0d9   patches/hurd-i386/cvs-PTR_MANGLE.diff: New patch to fix 
build

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 |   3 +-
 debian/patches/hurd-i386/cvs-PTR_MANGLE.diff | 110 +++
 debian/patches/series|   1 +
 3 files changed, 113 insertions(+), 1 deletion(-)
 create mode 100644 debian/patches/hurd-i386/cvs-PTR_MANGLE.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/cvs-PTR_MANGLE.diff: New patch to fix build

2016-07-06 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

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

commit 3d0e0d9878396e5ccda888401599c1670743d814
Author: Samuel Thibault 
Date:   Wed Jul 6 11:55:13 2016 +0200

patches/hurd-i386/cvs-PTR_MANGLE.diff: New patch to fix build
---
 debian/changelog |   3 +-
 debian/patches/hurd-i386/cvs-PTR_MANGLE.diff | 110 +++
 debian/patches/series|   1 +
 3 files changed, 113 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e1d4984..3f6b941 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 glibc (2.23.90+20160507.87523e9-2) UNRELEASED; urgency=medium
 
-  * 
+  [ Samuel Thibault ]
+  * patches/hurd-i386/cvs-PTR_MANGLE.diff: New patch to fix build.
 
  -- Aurelien Jarno   Tue, 05 Jul 2016 20:50:17 +0200
 
diff --git a/debian/patches/hurd-i386/cvs-PTR_MANGLE.diff 
b/debian/patches/hurd-i386/cvs-PTR_MANGLE.diff
new file mode 100644
index 000..5c74d07
--- /dev/null
+++ b/debian/patches/hurd-i386/cvs-PTR_MANGLE.diff
@@ -0,0 +1,110 @@
+commit 92777f34df805c2069d14c28fe976256d31ed0ab
+Author: Samuel Thibault 
+Date:   Wed Jul 6 11:43:54 2016 +0200
+
+hurd: Fix PTR_{,DE}MANGLE calls
+
+   * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
+   _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
+   [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
+   (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
+   * libio/vtables.c (_IO_vtable_check)
+   [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
+   * libio/libioP.h (IO_set_accept_foreign_vtables)
+   [!PTR_MANGLE]: Do not call PTR_MANGLE.
+
+diff --git a/libio/iofopncook.c b/libio/iofopncook.c
+index ae5df17..0d05fe6 100644
+--- a/libio/iofopncook.c
 b/libio/iofopncook.c
+@@ -44,7 +44,9 @@ _IO_cookie_read (_IO_FILE *fp, void *buf, _IO_ssize_t size)
+ {
+   struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp;
+   cookie_read_function_t *read_cb = cfile->__io_functions.read;
++#ifdef PTR_DEMANGLE
+   PTR_DEMANGLE (read_cb);
++#endif
+ 
+   if (read_cb == NULL)
+ return -1;
+@@ -57,7 +59,9 @@ _IO_cookie_write (_IO_FILE *fp, const void *buf, _IO_ssize_t 
size)
+ {
+   struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp;
+   cookie_write_function_t *write_cb = cfile->__io_functions.write;
++#ifdef PTR_DEMANGLE
+   PTR_DEMANGLE (write_cb);
++#endif
+ 
+   if (write_cb == NULL)
+ {
+@@ -77,7 +81,9 @@ _IO_cookie_seek (_IO_FILE *fp, _IO_off64_t offset, int dir)
+ {
+   struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp;
+   cookie_seek_function_t *seek_cb = cfile->__io_functions.seek;
++#ifdef PTR_DEMANGLE
+   PTR_DEMANGLE (seek_cb);
++#endif
+ 
+   return ((seek_cb == NULL
+  || (seek_cb (cfile->__cookie, &offset, dir)
+@@ -91,7 +97,9 @@ _IO_cookie_close (_IO_FILE *fp)
+ {
+   struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp;
+   cookie_close_function_t *close_cb = cfile->__io_functions.close;
++#ifdef PTR_DEMANGLE
+   PTR_DEMANGLE (close_cb);
++#endif
+ 
+   if (close_cb == NULL)
+ return 0;
+@@ -140,10 +148,12 @@ static void
+ set_callbacks (_IO_cookie_io_functions_t *target,
+  _IO_cookie_io_functions_t source)
+ {
++#ifdef PTR_MANGLE
+   PTR_MANGLE (source.read);
+   PTR_MANGLE (source.write);
+   PTR_MANGLE (source.seek);
+   PTR_MANGLE (source.close);
++#endif
+   *target = source;
+ }
+ 
+@@ -228,7 +238,9 @@ _IO_old_cookie_seek (_IO_FILE *fp, _IO_off64_t offset, int 
dir)
+   struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp;
+   int (*seek_cb) (_IO_FILE *, _IO_off_t, int)
+ = (int (*) (_IO_FILE *, _IO_off_t, int)) cfile->__io_functions.seek;;
++#ifdef PTR_DEMANGLE
+   PTR_DEMANGLE (seek_cb);
++#endif
+ 
+   if (seek_cb == NULL)
+ return _IO_pos_BAD;
+diff --git a/libio/libioP.h b/libio/libioP.h
+index 54dc35c..3e12876 100644
+--- a/libio/libioP.h
 b/libio/libioP.h
+@@ -906,7 +906,9 @@ extern void (*IO_accept_foreign_vtables) (void) 
attribute_hidden;
+ static inline void
+ IO_set_accept_foreign_vtables (void (*flag) (void))
+ {
++#ifdef PTR_MANGLE
+   PTR_MANGLE (flag);
++#endif
+   atomic_store_relaxed (&IO_accept_foreign_vtables, flag);
+ }
+ 
+diff --git a/libio/vtables.c b/libio/vtables.c
+index e364ea0..b361f44 100644
+--- a/libio/vtables.c
 b/libio/vtables.c
+@@ -41,7 +41,9 @@ _IO_vtable_check (void)
+ #ifdef SHARED
+   /* Honor the compatibility flag.  */
+   void (*flag) (void) = atomic_load_relaxed (&IO_accept_foreign_vtables);
++#ifdef PTR_DEMANGLE
+   PTR_DEMANGLE (flag);
++#endif
+   if (flag == &_IO_vtable_check)
+ return;
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 08402e0..4988862 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -136,6 +136,7 @@ hurd-i386/local-versions.diff
 #hurd-i386/submitted-anon-mmap-shared.diff

[glibc] branch sid updated (b96a99b -> 15c05a5)

2016-07-01 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  b96a99b   debian/patches/sparc/cvs-sparc-nearbyint.diff: new patch 
from upstream to fix nearbyint* functions with a sNaN input on SPARC.
   new  15c05a5   hurd: fix gettimeofday call from select

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   |  4 +
 debian/patches/hurd-i386/tg-poll_errors_fixes.diff | 86 --
 2 files changed, 52 insertions(+), 38 deletions(-)

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



[glibc] 01/01: hurd: fix gettimeofday call from select

2016-07-01 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 15c05a525cae398d254a0da8e746d3f6bef0d9af
Author: Samuel Thibault 
Date:   Fri Jul 1 20:31:19 2016 +0200

hurd: fix gettimeofday call from select

patches/hurd-i386/tg-poll_errors_fixes.diff: Update from tg branch
---
 debian/changelog   |  4 +
 debian/patches/hurd-i386/tg-poll_errors_fixes.diff | 86 --
 2 files changed, 52 insertions(+), 38 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index efeb53b..800458b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,10 @@ glibc (2.23-1) UNRELEASED; urgency=medium
   * debian/patches/sparc/cvs-sparc-nearbyint.diff: new patch from upstream
 to fix nearbyint* functions with a sNaN input on SPARC.
 
+  [ Samuel Thibault ]
+  * patches/hurd-i386/tg-poll_errors_fixes.diff: Update from tg branch, fixes
+gettimeofday call from select.
+
  -- Aurelien Jarno   Fri, 01 Jul 2016 00:17:12 +0200
 
 glibc (2.23-0experimental4) experimental; urgency=medium
diff --git a/debian/patches/hurd-i386/tg-poll_errors_fixes.diff 
b/debian/patches/hurd-i386/tg-poll_errors_fixes.diff
index 488bb3d..6737be4 100644
--- a/debian/patches/hurd-i386/tg-poll_errors_fixes.diff
+++ b/debian/patches/hurd-i386/tg-poll_errors_fixes.diff
@@ -30,11 +30,11 @@ case, or else POLLERR.
 
 
 ---
- hurd/hurdselect.c | 145 +-
- 1 file changed, 101 insertions(+), 44 deletions(-)
+ hurd/hurdselect.c | 147 +++---
+ 1 file changed, 106 insertions(+), 41 deletions(-)
 
 diff --git a/hurd/hurdselect.c b/hurd/hurdselect.c
-index d453042..22faac9 100644
+index d453042..070ac1a 100644
 --- a/hurd/hurdselect.c
 +++ b/hurd/hurdselect.c
 @@ -34,6 +34,7 @@
@@ -53,7 +53,15 @@ index d453042..22faac9 100644
  } d[nfds];
sigset_t oset;
  
-@@ -151,30 +153,42 @@ _hurd_select (int nfds,
+@@ -118,6 +120,7 @@ _hurd_select (int nfds,
+ 
+   if (pollfds)
+ {
++  int error = 0;
+   /* Collect interesting descriptors from the user's `pollfd' array.
+We do a first pass that reads the user's array before taking
+any locks.  The second pass then only touches our own stack,
+@@ -151,28 +154,47 @@ _hurd_select (int nfds,
if (fd < _hurd_dtablesize)
  {
d[i].cell = _hurd_dtable[fd];
@@ -78,42 +86,44 @@ index d453042..22faac9 100644
 +  /* Bogus descriptor, make it EBADF already.  */
 +  d[i].error = EBADF;
 +  d[i].type = SELECT_ERROR;
-+
-+  /* And set timeout to 0.  */
-+  {
-+struct timeval now;
-+err = __gettimeofday(&now, NULL);
-+if (err)
-+  {
-+err = errno;
-+while (i-- > 0)
-+  if (d[i].type & ~SELECT_ERROR != 0)
-+_hurd_port_free (&d[i].cell->port, &d[i].ulink,
-+ d[i].io_port);
-+errno = err;
-+return -1;
-+  }
-+ts.tv_sec = now.tv_sec;
-+ts.tv_nsec = now.tv_usec * 1000;
-+reply_msgid = IO_SELECT_TIMEOUT_REPLY_MSGID;
-+  }
++  error = 1;
  }
  
__mutex_unlock (&_hurd_dtable_lock);
HURD_CRITICAL_END;
  
 -  if (i < nfds)
--  {
++  if (error)
+   {
 -if (sigmask)
 -  __sigprocmask (SIG_SETMASK, &oset, NULL);
 -errno = EBADF;
 -return -1;
--  }
--
++/* Set timeout to 0.  */
++struct timeval now;
++err = __gettimeofday(&now, NULL);
++if (err)
++  {
++/* Really bad luck.  */
++err = errno;
++HURD_CRITICAL_BEGIN;
++__mutex_lock (&_hurd_dtable_lock);
++while (i-- > 0)
++  if (d[i].type & ~SELECT_ERROR != 0)
++_hurd_port_free (&d[i].cell->port, &d[i].ulink,
++ d[i].io_port);
++__mutex_unlock (&_hurd_dtable_lock);
++HURD_CRITICAL_END;
++errno = err;
++return -1;
++  }
++ts.tv_sec = now.tv_sec;
++ts.tv_nsec = now.tv_usec * 1000;
++reply_msgid = IO_SELECT_TIMEOUT_REPLY_MSGID;
+   }
+ 
lastfd = i - 1;
-   firstfd = i == 0 ? lastfd : 0;
- }
-@@ -199,9 +213,6 @@ _hurd_select (int nfds,
+@@ -199,9 +221,6 @@ _hurd_select (int nfds,
HURD_CRITICAL_BEGIN;
__mutex_lock (&_hurd_dtable_lock);
  
@@ -123,7 +133,7 @@ index d453042..22faac9 100644
/* Collect the ports for interesting FDs.  */
firstfd = lastfd = -1;
for (i = 0; i < nfds; ++i)
-@@ -216,9 +227,15 @@ _hurd_select (int nfds,
+@@ 

[glibc] branch sid updated (ee4254c -> 7275384)

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

sthibault pushed a change to branch sid
in repository glibc.

  from  ee4254c   close bug
   new  7275384   hurd-i386/tg-eintr.diff: Fix "Interrupted" issues in ghc

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   |  3 +++
 debian/patches/hurd-i386/tg-eintr.diff | 31 +++
 debian/patches/series  |  1 +
 3 files changed, 35 insertions(+)
 create mode 100644 debian/patches/hurd-i386/tg-eintr.diff

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



[glibc] 01/01: hurd-i386/tg-eintr.diff: Fix "Interrupted" issues in ghc

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

sthibault pushed a commit to branch sid
in repository glibc.

commit 7275384d9da47170acadcf33c5dc8fa94b83d1e5
Author: Samuel Thibault 
Date:   Thu Jun 9 01:20:23 2016 +0200

hurd-i386/tg-eintr.diff: Fix "Interrupted" issues in ghc
---
 debian/changelog   |  3 +++
 debian/patches/hurd-i386/tg-eintr.diff | 31 +++
 debian/patches/series  |  1 +
 3 files changed, 35 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e4f3a0b..c17aff5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ glibc (2.22-12) UNRELEASED; urgency=medium
   [ Aurelien Jarno ]
   * debian/sysdeps/kfreebsd-i386.mk: fix libc0.1-i686 package name.
 
+  [ Samuel Thibault ]
+  * hurd-i386/tg-eintr.diff: New patch to fix "Interrupted" issues in ghc.
+
  -- Aurelien Jarno   Sun, 05 Jun 2016 00:41:17 +0200
 
 glibc (2.22-11) unstable; urgency=medium
diff --git a/debian/patches/hurd-i386/tg-eintr.diff 
b/debian/patches/hurd-i386/tg-eintr.diff
new file mode 100644
index 000..e9aea13
--- /dev/null
+++ b/debian/patches/hurd-i386/tg-eintr.diff
@@ -0,0 +1,31 @@
+commit 230b85f414291ac955827aba15cfbd103ab6ebdd
+Author: Samuel Thibault 
+Date:   Thu Jun 9 01:15:10 2016 +0200
+
+Fix pipe() call returning EINTR sometimes
+
+because it uses a critical section
+
+diff --git a/hurd/hurdsock.c b/hurd/hurdsock.c
+index 0f52f37..261f654 100644
+--- a/hurd/hurdsock.c
 b/hurd/hurdsock.c
+@@ -52,6 +52,7 @@ _hurd_socket_server (int domain, int dead)
+   return MACH_PORT_NULL;
+ }
+ 
++retry:
+   HURD_CRITICAL_BEGIN;
+   __mutex_lock (&lock);
+ 
+@@ -102,6 +103,10 @@ _hurd_socket_server (int domain, int dead)
+   __mutex_unlock (&lock);
+   HURD_CRITICAL_END;
+ 
++  if (!server && errno == EINTR)
++/* Got a signal while inside an RPC of the critical section, retry again 
*/
++goto retry;
++
+   return server;
+ }
+ 
diff --git a/debian/patches/series b/debian/patches/series
index a227a88..c76a00e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -160,6 +160,7 @@ hurd-i386/cvs-IPV6_PKTINFO.diff
 hurd-i386/cvs-i686-link.diff
 hurd-i386/cvs-check-local-headers.diff
 hurd-i386/tg-faccessat.diff
+hurd-i386/tg-eintr.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

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



[glibc] branch sid updated (02efdc8 -> ee4254c)

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

sthibault pushed a change to branch sid
in repository glibc.

  from  02efdc8   debian/sysdeps/kfreebsd-i386.mk: fix libc0.1-i686 package 
name.
   new  ee4254c   close bug

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 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



[glibc] 01/01: close bug

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

sthibault pushed a commit to branch sid
in repository glibc.

commit ee4254c685b8015652a021ddcfd570b3dea90bfc
Author: Samuel Thibault 
Date:   Sat Jun 4 23:39:06 2016 +0200

close bug
---
 debian/changelog | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 9961433..e4f3a0b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,7 +11,7 @@ glibc (2.22-11) unstable; urgency=medium
   * hurd-i386/tg-poll_errors_fixes.diff: Fix crash when calling poll or select
 on a fd which had never been allocated.  Closes: #826175.
   * hurd-i386/tg-faccessat.diff: Finish faccessat implementation. Fixes
-findutils.
+findutils.  Closes: #823027.
 
   [ Aurelien Jarno ]
   * Update from upstream stable branch.

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



Re: Bug#822783: eztrace-contrib: FTBFS with libc 2.23: 'memcpy' was not declared in this scope

2016-06-07 Thread Samuel Thibault
Graham Inggs, on Tue 07 Jun 2016 07:46:56 +0200, wrote:
> $ nvcc -c -O2 dummy.cu

Note: I had to also pass -D_FORTIFY_SOURCE=2 to reproduce the issue.

Samuel



[glibc] branch sid updated (9859178 -> 49d6825)

2016-06-04 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  9859178   Update from upstream stable branch.
   new  49d6825   hurd-i386/tg-faccessat.diff: Finish faccessat 
implementation

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/tg-faccessat.diff | 472 +
 debian/patches/series  |   1 +
 3 files changed, 475 insertions(+)
 create mode 100644 debian/patches/hurd-i386/tg-faccessat.diff

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



[glibc] 01/01: hurd-i386/tg-faccessat.diff: Finish faccessat implementation

2016-06-04 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 49d6825f2cee4b8d829f9e4780ecf3582d1d86c6
Author: Samuel Thibault 
Date:   Sat Jun 4 19:58:21 2016 +

hurd-i386/tg-faccessat.diff: Finish faccessat implementation

Fixes findutils.
---
 debian/changelog   |   2 +
 debian/patches/hurd-i386/tg-faccessat.diff | 472 +
 debian/patches/series  |   1 +
 3 files changed, 475 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index fa7eaf0..0a8f97d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ glibc (2.22-11) UNRELEASED; urgency=medium
   [ Samuel Thibault ]
   * hurd-i386/tg-poll_errors_fixes.diff: Fix crash when calling poll or select
 on a fd which had never been allocated.  Closes: #826175.
+  * hurd-i386/tg-faccessat.diff: Finish faccessat implementation. Fixes
+findutils.
 
   [ Aurelien Jarno ]
   * Update from upstream stable branch.
diff --git a/debian/patches/hurd-i386/tg-faccessat.diff 
b/debian/patches/hurd-i386/tg-faccessat.diff
new file mode 100644
index 000..9a4a560
--- /dev/null
+++ b/debian/patches/hurd-i386/tg-faccessat.diff
@@ -0,0 +1,472 @@
+From: Samuel Thibault 
+Subject: [PATCH] Implement faccessat without AT_EACCESS flag
+
+* hurd/hurd/fd.h: Include 
+(__hurd_at_flags): New function.
+* hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
+with call to __hurd_at_flags.
+* include/unistd.h (__faccessat): Add declaration.
+* sysdeps/mach/hurd/access.c (__access): Move implementation to
+__faccessat, and replace it with a call to __faccessat.
+* sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
+with a call to __faccessat.
+* sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
+(__faccessat): ... this. Move implementation of __access into it when
+AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
+reauthenticate_cwdir_at helper to implement AT mechanism.
+(faccessat): Define weak alias.
+
+---
+ hurd/hurd/fd.h |  21 ++
+ hurd/lookup-at.c   |  13 +---
+ include/unistd.h   |   1 +
+ sysdeps/mach/hurd/access.c | 120 +---
+ sysdeps/mach/hurd/euidaccess.c |  31 +
+ sysdeps/mach/hurd/faccessat.c  | 152 +
+ 6 files changed, 165 insertions(+), 173 deletions(-)
+
+diff --git a/hurd/hurd/fd.h b/hurd/hurd/fd.h
+index adb865a..1f22153 100644
+--- a/hurd/hurd/fd.h
 b/hurd/hurd/fd.h
+@@ -26,6 +26,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ 
+ /* Structure representing a file descriptor.  */
+@@ -254,6 +255,26 @@ extern int _hurd_select (int nfds, struct pollfd *pollfds,
+const struct timespec *timeout,
+const sigset_t *sigmask);
+ 
++/* Apply AT_FLAGS on FLAGS, in preparation for calling
++   __hurd_file_name_lookup.  */
++
++_HURD_FD_H_EXTERN_INLINE error_t
++__hurd_at_flags (int *at_flags, int *flags)
++{
++  if ((*at_flags & AT_SYMLINK_FOLLOW) && (*at_flags & AT_SYMLINK_NOFOLLOW))
++return EINVAL;
++
++  *flags |= (*at_flags & AT_SYMLINK_NOFOLLOW) ? O_NOLINK : 0;
++  *at_flags &= ~AT_SYMLINK_NOFOLLOW;
++  if (*at_flags & AT_SYMLINK_FOLLOW)
++*flags &= ~O_NOLINK;
++  *at_flags &= ~AT_SYMLINK_FOLLOW;
++  if (*at_flags != 0)
++return EINVAL;
++
++  return 0;
++}
++
+ /* Variant of file_name_lookup used in *at function implementations.
+AT_FLAGS may only contain AT_SYMLINK_FOLLOW or AT_SYMLINK_NOFOLLOW,
+which will remove and add O_NOLINK from FLAGS respectively.
+diff --git a/hurd/lookup-at.c b/hurd/lookup-at.c
+index 0288bcf..d729f67 100644
+--- a/hurd/lookup-at.c
 b/hurd/lookup-at.c
+@@ -29,16 +29,9 @@ __file_name_lookup_at (int fd, int at_flags,
+   error_t err;
+   file_t result;
+ 
+-  if ((at_flags & AT_SYMLINK_FOLLOW) && (at_flags & AT_SYMLINK_NOFOLLOW))
+-return (__hurd_fail (EINVAL), MACH_PORT_NULL);
+-
+-  flags |= (at_flags & AT_SYMLINK_NOFOLLOW) ? O_NOLINK : 0;
+-  at_flags &= ~AT_SYMLINK_NOFOLLOW;
+-  if (at_flags & AT_SYMLINK_FOLLOW)
+-flags &= ~O_NOLINK;
+-  at_flags &= ~AT_SYMLINK_FOLLOW;
+-  if (at_flags != 0)
+-return (__hurd_fail (EINVAL), MACH_PORT_NULL);
++  err = __hurd_at_flags (&at_flags, &flags);
++  if (err)
++return (__hurd_fail (err), MACH_PORT_NULL);
+ 
+   if (fd == AT_FDCWD || file_name[0] == '/')
+ return __file_name_lookup (file_name, flags, mode);
+diff --git a/include/unistd.h b/include/unistd.h
+index a5cbc5d..09f9342 100644
+--- a/include/unistd.h
 b/include/unistd.h
+@@ -23,6 +23,7 @@ libc_hidden_proto (readlinkat)
+ /* Now define the internal interfaces.  */
+ extern int __access (const char *__name, int __type);
+ extern int __euidaccess (const char *__name, i

[glibc] branch sid updated (80e8f63 -> 2a69ac4)

2016-06-04 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  80e8f63   New changelog entry
   new  2a69ac4   hurd-i386/tg-poll_errors_fixes.diff: Fix crash

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   |  4 +-
 debian/patches/hurd-i386/tg-poll_errors_fixes.diff | 51 +++---
 2 files changed, 38 insertions(+), 17 deletions(-)

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



[glibc] 01/01: hurd-i386/tg-poll_errors_fixes.diff: Fix crash

2016-06-04 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 2a69ac45e4d3afd785a113a5205841a307c3db40
Author: Samuel Thibault 
Date:   Sat Jun 4 16:42:10 2016 +

hurd-i386/tg-poll_errors_fixes.diff: Fix crash

when calling poll or select on a fd which had never been allocated.
Closes: #826175.
---
 debian/changelog   |  4 +-
 debian/patches/hurd-i386/tg-poll_errors_fixes.diff | 51 +++---
 2 files changed, 38 insertions(+), 17 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e2639a8..35da1cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 glibc (2.22-11) UNRELEASED; urgency=medium
 
-  * 
+  [ Samuel Thibault ]
+  * hurd-i386/tg-poll_errors_fixes.diff: Fix crash when calling poll or select
+on a fd which had never been allocated.  Closes: #826175.
 
  -- Aurelien Jarno   Tue, 31 May 2016 23:50:57 +0200
 
diff --git a/debian/patches/hurd-i386/tg-poll_errors_fixes.diff 
b/debian/patches/hurd-i386/tg-poll_errors_fixes.diff
index eb2dbb9..488bb3d 100644
--- a/debian/patches/hurd-i386/tg-poll_errors_fixes.diff
+++ b/debian/patches/hurd-i386/tg-poll_errors_fixes.diff
@@ -30,9 +30,11 @@ case, or else POLLERR.
 
 
 ---
- hurd/hurdselect.c |  124 +++--
- 1 file changed, 83 insertions(+), 41 deletions(-)
+ hurd/hurdselect.c | 145 +-
+ 1 file changed, 101 insertions(+), 44 deletions(-)
 
+diff --git a/hurd/hurdselect.c b/hurd/hurdselect.c
+index d453042..22faac9 100644
 --- a/hurd/hurdselect.c
 +++ b/hurd/hurdselect.c
 @@ -34,6 +34,7 @@
@@ -51,8 +53,20 @@ case, or else POLLERR.
  } d[nfds];
sigset_t oset;
  
-@@ -156,25 +158,33 @@ _hurd_select (int nfds,
- continue;
+@@ -151,30 +153,42 @@ _hurd_select (int nfds,
+   if (fd < _hurd_dtablesize)
+ {
+   d[i].cell = _hurd_dtable[fd];
+-  d[i].io_port = _hurd_port_get (&d[i].cell->port, &d[i].ulink);
+-  if (d[i].io_port != MACH_PORT_NULL)
+-continue;
++  if (d[i].cell != NULL)
++{
++  d[i].io_port = _hurd_port_get (&d[i].cell->port,
++ &d[i].ulink);
++  if (d[i].io_port != MACH_PORT_NULL)
++continue;
++}
  }
  
 -  /* If one descriptor is bogus, we fail completely.  */
@@ -99,7 +113,7 @@ case, or else POLLERR.
lastfd = i - 1;
firstfd = i == 0 ? lastfd : 0;
  }
-@@ -199,9 +209,6 @@ _hurd_select (int nfds,
+@@ -199,9 +213,6 @@ _hurd_select (int nfds,
HURD_CRITICAL_BEGIN;
__mutex_lock (&_hurd_dtable_lock);
  
@@ -109,7 +123,7 @@ case, or else POLLERR.
/* Collect the ports for interesting FDs.  */
firstfd = lastfd = -1;
for (i = 0; i < nfds; ++i)
-@@ -216,9 +223,12 @@ _hurd_select (int nfds,
+@@ -216,9 +227,15 @@ _hurd_select (int nfds,
  d[i].type = type;
  if (type)
{
@@ -119,13 +133,16 @@ case, or else POLLERR.
 +if (i < _hurd_dtablesize)
 +  {
 +d[i].cell = _hurd_dtable[i];
-+d[i].io_port = _hurd_port_get (&d[i].cell->port, &d[i].ulink);
++if (d[i].cell != NULL)
++  d[i].io_port = _hurd_port_get (&d[i].cell->port,
++ &d[i].ulink);
 +  }
-+if (i >= _hurd_dtablesize || d[i].io_port == MACH_PORT_NULL)
++if (i >= _hurd_dtablesize || d[i].cell == NULL ||
++d[i].io_port == MACH_PORT_NULL)
{
  /* If one descriptor is bogus, we fail completely.  */
  while (i-- > 0)
-@@ -243,6 +253,9 @@ _hurd_select (int nfds,
+@@ -243,6 +260,9 @@ _hurd_select (int nfds,
  errno = EBADF;
  return -1;
}
@@ -135,7 +152,7 @@ case, or else POLLERR.
  }
  
  
-@@ -260,7 +273,7 @@ _hurd_select (int nfds,
+@@ -260,7 +280,7 @@ _hurd_select (int nfds,
portset = MACH_PORT_NULL;
  
for (i = firstfd; i <= lastfd; ++i)
@@ -144,7 +161,7 @@ case, or else POLLERR.
  {
int type = d[i].type;
d[i].reply_port = __mach_reply_port ();
-@@ -294,11 +307,10 @@ _hurd_select (int nfds,
+@@ -294,11 +314,10 @@ _hurd_select (int nfds,
  }
else
  {
@@ -160,7 +177,7 @@ case, or else POLLERR.
++got;
  }
_hurd_port_free (&d[i].cell->port, &d[i].ulink, d[i].io_port);
-@@ -404,9 +416,10 @@ _hurd_select (int nfds,
+@@ -404,9 +423,10 @@ _hurd_select (int nfds,
  #endif
  msg.head.msgh_size !=

Bug#826290: libc6-i686: Neither "$ aptitude show" or "$ apt-cache show" says libc6-i686 is a virtual package

2016-06-04 Thread Samuel Thibault
Aurelien Jarno, on Sat 04 Jun 2016 11:59:30 +0200, wrote:
> On 2016-06-04 11:37, Samuel Thibault wrote:
> > Aurelien Jarno, on Sat 04 Jun 2016 11:04:03 +0200, wrote:
> > > That said I don't know what we can do from the glibc side point of view
> > > to change this behavior.
> > 
> > We could keep a dumb empty lib6-i686 package for the Stretch release?
> 
> Wouldn't that just postpone the problem to Stretch? When we really
> remove the dummy package, apt and aptitude will still not show it as
> virtual.

No, but the description of the package will be that it's a dumb package
which can safely removed, not "the standard libraries that are used by
nearly all programs on the system" :)

Samuel



Bug#826290: libc6-i686: Neither "$ aptitude show" or "$ apt-cache show" says libc6-i686 is a virtual package

2016-06-04 Thread Samuel Thibault
Aurelien Jarno, on Sat 04 Jun 2016 11:04:03 +0200, wrote:
> That said I don't know what we can do from the glibc side point of view
> to change this behavior.

We could keep a dumb empty lib6-i686 package for the Stretch release?

Samuel



Re: Bug#822783: eztrace-contrib: FTBFS with libc 2.23: 'memcpy' was not declared in this scope

2016-05-31 Thread Samuel Thibault
Control: reassign -1 nvidia-cuda-dev

Samuel Thibault, on Tue 31 May 2016 11:29:40 +0200, wrote:
> Aurelien Jarno, on Tue 31 May 2016 11:27:33 +0200, wrote:
> > On 2016-04-28 15:09, Samuel Thibault wrote:
> > > Control: reassign -1 libc6-dev
> > > Control: tags -1 + experimental
> > > 
> > > Graham Inggs, on Wed 27 Apr 2016 15:07:52 +0200, wrote:
> > > > Eztrace-contrib FTBFS with glibc 2.23 available in Experimental and
> > > > Ubuntu Xenial.
> > > > 
> > > > > /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, 
> > > > > const void*, size_t)’:
> > > > > /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in 
> > > > > this scope
> > > > >return (char *) memcpy (__dest, __src, __n) + __n;
> > > > >   ^
> > > > > /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, 
> > > > > const void*, size_t)’:
> > > > > /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in 
> > > > > this scope
> > > > >return (char *) memcpy (__dest, __src, __n) + __n;
> > > > >   ^
> > > > > /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, 
> > > > > const void*, size_t)’:
> > > > > /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in 
> > > > > this scope
> > > > >return (char *) memcpy (__dest, __src, __n) + __n;
> > > > 
> > > > I found a similar issue had been reported for TensorFlow [1], and the 
> > > > solution:
> > > > 
> > > > > @e14159 can you try with -D_FORCE_INLINES? I just had the same issue 
> > > > > with pcl,
> > > > > I checked the string.h header, and using that preprocessor directive 
> > > > > skips the block
> > > > > where the memcpy error appears. There's probably a cleaner workaround 
> > > > > though...
> > > 
> > > Well, a workaround remains a workaround. There is no reason why we
> > > shouldn't just fix the bug at its source, glibc. Otherwise we'd keep
> > > chasing packages which would need a workaround, that's really not the
> > > way to go.
> > > 
> > > So I'm reassigning to glibc.
> > 
> > I am not fully sure the bug is actually in on the libc sid. It looks
> > like that nvcc redefines part of this header in a way that is not
> > compatible with the new version of the header.

So reassigning to cuda, perhaps a proper fix can be done in the .h files
there without having to ask upstream :)

Samuel



Re: Bug#822783: eztrace-contrib: FTBFS with libc 2.23: 'memcpy' was not declared in this scope

2016-05-31 Thread Samuel Thibault
Aurelien Jarno, on Tue 31 May 2016 11:27:33 +0200, wrote:
> On 2016-04-28 15:09, Samuel Thibault wrote:
> > Control: reassign -1 libc6-dev
> > Control: tags -1 + experimental
> > 
> > Graham Inggs, on Wed 27 Apr 2016 15:07:52 +0200, wrote:
> > > Eztrace-contrib FTBFS with glibc 2.23 available in Experimental and
> > > Ubuntu Xenial.
> > > 
> > > > /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const 
> > > > void*, size_t)’:
> > > > /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this 
> > > > scope
> > > >return (char *) memcpy (__dest, __src, __n) + __n;
> > > >   ^
> > > > /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const 
> > > > void*, size_t)’:
> > > > /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this 
> > > > scope
> > > >return (char *) memcpy (__dest, __src, __n) + __n;
> > > >   ^
> > > > /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const 
> > > > void*, size_t)’:
> > > > /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this 
> > > > scope
> > > >return (char *) memcpy (__dest, __src, __n) + __n;
> > > 
> > > I found a similar issue had been reported for TensorFlow [1], and the 
> > > solution:
> > > 
> > > > @e14159 can you try with -D_FORCE_INLINES? I just had the same issue 
> > > > with pcl,
> > > > I checked the string.h header, and using that preprocessor directive 
> > > > skips the block
> > > > where the memcpy error appears. There's probably a cleaner workaround 
> > > > though...
> > 
> > Well, a workaround remains a workaround. There is no reason why we
> > shouldn't just fix the bug at its source, glibc. Otherwise we'd keep
> > chasing packages which would need a workaround, that's really not the
> > way to go.
> > 
> > So I'm reassigning to glibc.
> 
> I am not fully sure the bug is actually in on the libc sid. It looks
> like that nvcc redefines part of this header in a way that is not
> compatible with the new version of the header.

Aow, OK, makes sense...

Samuel



[glibc] branch sid updated (c3a9fa6 -> 2fa0eb3)

2016-05-30 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  c3a9fa6   control: Re-introduce libc0.3-xen package
   new  2fa0eb3   hurd-i386/cvs-check-local-headers.diff: Update exclusion 
list

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 +
 .../patches/hurd-i386/cvs-check-local-headers.diff | 23 ++
 debian/patches/series  |  1 +
 3 files changed, 25 insertions(+)
 create mode 100644 debian/patches/hurd-i386/cvs-check-local-headers.diff

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



[glibc] 01/01: hurd-i386/cvs-check-local-headers.diff: Update exclusion list

2016-05-30 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 2fa0eb338e02dc16cab2a19eaef2d3836da9479c
Author: Samuel Thibault 
Date:   Mon May 30 17:04:56 2016 +

hurd-i386/cvs-check-local-headers.diff: Update exclusion list
---
 debian/changelog   |  1 +
 .../patches/hurd-i386/cvs-check-local-headers.diff | 23 ++
 debian/patches/series  |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 932c0fe..3ba07cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ glibc (2.22-10) UNRELEASED; urgency=medium
   * sysdeps/hurd-i386.mk: Disable ifunc, not working yet.
   * sysdeps/hurd-i386.mk: Fix and re-enable xen build.
   * control: Re-introduce libc0.3-xen package.
+  * patches/hurd-i386/cvs-check-local-headers.diff: Update exclusion list.
 
  -- Aurelien Jarno   Thu, 12 May 2016 18:06:35 +0200
 
diff --git a/debian/patches/hurd-i386/cvs-check-local-headers.diff 
b/debian/patches/hurd-i386/cvs-check-local-headers.diff
new file mode 100644
index 000..8b6ab64
--- /dev/null
+++ b/debian/patches/hurd-i386/cvs-check-local-headers.diff
@@ -0,0 +1,23 @@
+commit 94d211c87955d79fe6a74d7385bff014cfc95192
+Author: Samuel Thibault 
+Date:   Mon May 30 19:03:01 2016 +0200
+
+Add more hurd exception to local headers list
+
+   * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
+   include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
+   i386-linux-gnu).
+
+diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh
+index 0670da1..4cae4db 100755
+--- a/scripts/check-local-headers.sh
 b/scripts/check-local-headers.sh
+@@ -33,7 +33,7 @@ exec ${AWK} -v includedir="$includedir" '
+ BEGIN {
+   status = 0
+   exclude = "^" includedir \
+-
"/(.*-.*-.*/|)(asm[-/]|arch|linux/|selinux/|mach/|device/|hurd/(((hurd|ioctl)_types|paths)\\.h|ioctls\\.defs)|cthreads\\.h|gd|nss3/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)"
++
"/(.*-.*-.*/|.*-.*/|)(asm[-/]|arch|linux/|selinux/|mach/|device/|hurd/(((hurd|ioctl)_types|paths)\\.h|ioctls\\.defs|ihash\\.h)|cthreads\\.h|gd|nss3/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)"
+ }
+ /^[^ ]/ && $1 ~ /.*:/ { obj = $1 }
+ {
diff --git a/debian/patches/series b/debian/patches/series
index 2927e3f..a22b7fc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -157,6 +157,7 @@ hurd-i386/cvs-auxv.diff
 hurd-i386/cvs-gprof-tick.diff
 hurd-i386/cvs-IPV6_PKTINFO.diff
 hurd-i386/cvs-i686-link.diff
+hurd-i386/cvs-check-local-headers.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

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



[glibc] branch sid updated (f386379 -> c3a9fa6)

2016-05-29 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  f386379   Fix add-ons for xen build
   new  c3a9fa6   control: Re-introduce libc0.3-xen package

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  |  3 ++-
 debian/control| 18 +-
 debian/control.in/opt | 16 
 3 files changed, 35 insertions(+), 2 deletions(-)

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



[glibc] branch sid updated (9c7932a -> f386379)

2016-05-29 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  9c7932a   Fix link of i686 build.
   new  f1c581c   sysdeps/hurd-i386.mk: Disable ifunc, not working yet
   new  f386379   Fix add-ons for xen build

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/sysdeps/hurd-i386.mk | 9 +
 2 files changed, 10 insertions(+)

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



[glibc] 01/01: control: Re-introduce libc0.3-xen package

2016-05-29 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit c3a9fa621d4055814fad6425c3b26309e0659a02
Author: Samuel Thibault 
Date:   Mon May 30 00:30:59 2016 +

control: Re-introduce libc0.3-xen package
---
 debian/changelog  |  3 ++-
 debian/control| 18 +-
 debian/control.in/opt | 16 
 3 files changed, 35 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c47da58..932c0fe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,7 +8,8 @@ glibc (2.22-10) UNRELEASED; urgency=medium
   [ Samuel Thibault ]
   * patches/hurd-i386/cvs-i686-link.diff: Fix link of i686 build.
   * sysdeps/hurd-i386.mk: Disable ifunc, not working yet.
-  * sysdeps/hurd-i386.mk: Re-enable xen build.
+  * sysdeps/hurd-i386.mk: Fix and re-enable xen build.
+  * control: Re-introduce libc0.3-xen package.
 
  -- Aurelien Jarno   Thu, 12 May 2016 18:06:35 +0200
 
diff --git a/debian/control b/debian/control
index a6e1350..203adb8 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: glibc
 Section: libs
 Priority: required
-Build-Depends: gettext, dpkg-dev (>= 1.18.7), xz-utils, file, quilt,
+Build-Depends: gettext, dpkg (>= 1.18.7), xz-utils, file, quilt,
  autoconf, gawk, debhelper (>= 9.20141010), rdfind, symlinks, netbase,
  linux-libc-dev (>= 3.9) [linux-any],
  libaudit-dev [linux-any], libcap-dev [linux-any], libselinux-dev [linux-any],
@@ -840,6 +840,22 @@ Description: GNU C Library: Shared libraries [Xen version]
  This set of libraries is optimized for the Xen hypervisor, and will be
  selected instead when running under Xen.
 
+Package: libc0.3-xen
+Architecture: hurd-i386
+Section: libs
+Priority: extra
+Multi-Arch: same
+Pre-Depends: libc0.3 (= ${binary:Version})
+Depends: ${misc:Depends}
+Build-Profiles: 
+Description: GNU C Library: Shared libraries [Xen version]
+ Contains the standard libraries that are used by nearly all programs on
+ the system. This package includes shared versions of the standard C
+ library and the standard math library, as well as many others.
+ .
+ This set of libraries is optimized for the Xen hypervisor, and will be
+ selected instead when running under Xen.
+
 Package: libc6.1-alphaev67
 Architecture: alpha
 Section: libs
diff --git a/debian/control.in/opt b/debian/control.in/opt
index f272fb5..675b752 100644
--- a/debian/control.in/opt
+++ b/debian/control.in/opt
@@ -14,6 +14,22 @@ Description: GNU C Library: Shared libraries [Xen version]
  This set of libraries is optimized for the Xen hypervisor, and will be
  selected instead when running under Xen.
 
+Package: libc0.3-xen
+Architecture: hurd-i386
+Section: libs
+Priority: extra
+Multi-Arch: same
+Pre-Depends: libc0.3 (= ${binary:Version})
+Depends: ${misc:Depends}
+Build-Profiles: 
+Description: GNU C Library: Shared libraries [Xen version]
+ Contains the standard libraries that are used by nearly all programs on
+ the system. This package includes shared versions of the standard C
+ library and the standard math library, as well as many others.
+ .
+ This set of libraries is optimized for the Xen hypervisor, and will be
+ selected instead when running under Xen.
+
 Package: libc6.1-alphaev67
 Architecture: alpha
 Section: libs

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



[glibc] 02/02: Fix add-ons for xen build

2016-05-29 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit f38637924047548da55320f10570e064567b30a0
Author: Samuel Thibault 
Date:   Mon May 30 00:26:34 2016 +

Fix add-ons for xen build
---
 debian/sysdeps/hurd-i386.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/sysdeps/hurd-i386.mk b/debian/sysdeps/hurd-i386.mk
index 013a2e8..81ce1c7 100644
--- a/debian/sysdeps/hurd-i386.mk
+++ b/debian/sysdeps/hurd-i386.mk
@@ -4,6 +4,7 @@ GLIBC_PASSES += xen
 DEB_ARCH_REGULAR_PACKAGES += libc0.3-xen
 xen_extra_cflags = -mno-tls-direct-seg-refs
 xen_slibdir = /lib/$(DEB_HOST_MULTIARCH)/i686/nosegneg
+xen_add-ons = $(libc_add-ons)
 
 ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
 define libc0.3-dev_extra_pkg_install

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



[glibc] 01/02: sysdeps/hurd-i386.mk: Disable ifunc, not working yet

2016-05-29 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit f1c581cf41b415c27942c17d27016814f6bb53ae
Author: Samuel Thibault 
Date:   Mon May 30 00:14:43 2016 +

sysdeps/hurd-i386.mk: Disable ifunc, not working yet
---
 debian/changelog| 1 +
 debian/sysdeps/hurd-i386.mk | 8 
 2 files changed, 9 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e5f5901..c47da58 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ glibc (2.22-10) UNRELEASED; urgency=medium
 
   [ Samuel Thibault ]
   * patches/hurd-i386/cvs-i686-link.diff: Fix link of i686 build.
+  * sysdeps/hurd-i386.mk: Disable ifunc, not working yet.
   * sysdeps/hurd-i386.mk: Re-enable xen build.
 
  -- Aurelien Jarno   Thu, 12 May 2016 18:06:35 +0200
diff --git a/debian/sysdeps/hurd-i386.mk b/debian/sysdeps/hurd-i386.mk
index abb0820..013a2e8 100644
--- a/debian/sysdeps/hurd-i386.mk
+++ b/debian/sysdeps/hurd-i386.mk
@@ -12,3 +12,11 @@ cp -af debian/tmp-xen/$(libdir)/*.a \
debian/libc0.3-dev/$(libdir)/xen
 endef
 endif
+
+# FIXME: We are having runtime issues with ifunc...
+# e.g. calling memset from a statically-linked program
+#
+# http://www.gnu.org/software/hurd/open_issues/ifunc.html
+#
+# For now we are just disabling ifunc:
+export libc_cv_ld_gnu_indirect_function=no

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



[glibc] branch sid updated (8e5856c -> 9c7932a)

2016-05-29 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  8e5856c   sysdeps/hurd-i386.mk: Work around binutils bug with ifunc 
relocation assertion.
   new  9c7932a   Fix link of i686 build.

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|  4 +--
 debian/patches/hurd-i386/cvs-i686-link.diff | 27 +++
 debian/patches/series   |  1 +
 debian/sysdeps/hurd-i386.mk | 41 +
 4 files changed, 43 insertions(+), 30 deletions(-)
 create mode 100644 debian/patches/hurd-i386/cvs-i686-link.diff

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



[glibc] 01/01: Fix link of i686 build.

2016-05-29 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 9c7932a331e26c8c7c420268d6d1af462393b416
Author: Samuel Thibault 
Date:   Sun May 29 23:31:00 2016 +

Fix link of i686 build.

patches/hurd-i386/cvs-i686-link.diff: Fix link of i686 build.
sysdeps/hurd-i386.mk: Re-enable xen build.
---
 debian/changelog|  4 +--
 debian/patches/hurd-i386/cvs-i686-link.diff | 27 +++
 debian/patches/series   |  1 +
 debian/sysdeps/hurd-i386.mk | 41 +
 4 files changed, 43 insertions(+), 30 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5c35aa3..e5f5901 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,8 @@ glibc (2.22-10) UNRELEASED; urgency=medium
 Closes: #824127.
 
   [ Samuel Thibault ]
-  * debian/sysdeps/hurd-i386.mk: Work around binutils bug with ifunc relocation
-assertion.
+  * patches/hurd-i386/cvs-i686-link.diff: Fix link of i686 build.
+  * sysdeps/hurd-i386.mk: Re-enable xen build.
 
  -- Aurelien Jarno   Thu, 12 May 2016 18:06:35 +0200
 
diff --git a/debian/patches/hurd-i386/cvs-i686-link.diff 
b/debian/patches/hurd-i386/cvs-i686-link.diff
new file mode 100644
index 000..8392d3a
--- /dev/null
+++ b/debian/patches/hurd-i386/cvs-i686-link.diff
@@ -0,0 +1,27 @@
+commit 3904414a3008751ffcaf18fbe33bd34812b7bfe5
+Author: Samuel Thibault 
+Date:   Mon May 30 01:24:09 2016 +0200
+
+hurd: fix _hurd_self_sigstate reference from longjmp_chk
+
+   * sysdeps/mach/hurd/i386/longjmp_chk.S (longjmp_chk) [PIC]:
+ Use PLT entry for calling _hurd_self_sigstate.
+
+diff --git a/sysdeps/mach/hurd/i386/longjmp_chk.S 
b/sysdeps/mach/hurd/i386/longjmp_chk.S
+index 4ddf6cd..dec8ea7 100644
+--- a/sysdeps/mach/hurd/i386/longjmp_chk.S
 b/sysdeps/mach/hurd/i386/longjmp_chk.S
+@@ -66,7 +66,12 @@ ENTRY (longjmp_chk)
+ 
+   /* TODO: need locking?  */
+   /* struct hurd_sigstate * _hurd_self_sigstate (void) */
+-  call_hurd_self_sigstate
++#ifdef PIC
++  call1f
++1:popl%ebx
++  addl$_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx
++#endif
++  callJUMPTARGET(_hurd_self_sigstate)
+   /* TODO: %eax and %eax->sigaltstack are always valid?  */
+ 
+   testl   $SS_ONSTACK, (HURD_SIGSTATE__SIGALTSTACK__OFFSET + 
SIGALTSTACK__SS_FLAGS__OFFSET)(%eax)
diff --git a/debian/patches/series b/debian/patches/series
index bc30ebc..2927e3f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -156,6 +156,7 @@ hurd-i386/cvs-auxv.diff
 #hurd-i386/submitted-anon-mmap-shared.diff
 hurd-i386/cvs-gprof-tick.diff
 hurd-i386/cvs-IPV6_PKTINFO.diff
+hurd-i386/cvs-i686-link.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff
diff --git a/debian/sysdeps/hurd-i386.mk b/debian/sysdeps/hurd-i386.mk
index 47e34df..abb0820 100644
--- a/debian/sysdeps/hurd-i386.mk
+++ b/debian/sysdeps/hurd-i386.mk
@@ -1,29 +1,14 @@
-## We use -mno-tls-direct-seg-refs to not wrap-around segments, as it
-## greatly increase the speed when running under the 32bit Xen hypervisor.
-#GLIBC_PASSES += xen
-#DEB_ARCH_REGULAR_PACKAGES += libc0.3-xen
-#xen_extra_cflags = -mno-tls-direct-seg-refs
-#xen_slibdir = /lib/$(DEB_HOST_MULTIARCH)/i686/nosegneg
-#
-#ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
-#define libc0.3-dev_extra_pkg_install
-#mkdir -p debian/libc0.3-dev/$(libdir)/xen
-#cp -af debian/tmp-xen/$(libdir)/*.a \
-#  debian/libc0.3-dev/$(libdir)/xen
-#endef
-#endif
+# We use -mno-tls-direct-seg-refs to not wrap-around segments, as it
+# greatly increase the speed when running under the 32bit Xen hypervisor.
+GLIBC_PASSES += xen
+DEB_ARCH_REGULAR_PACKAGES += libc0.3-xen
+xen_extra_cflags = -mno-tls-direct-seg-refs
+xen_slibdir = /lib/$(DEB_HOST_MULTIARCH)/i686/nosegneg
 
-# FIXME: We are having linking issues with ifunc...
-#
-# when linking libc_pic.os into libc.so:
-# /usr/bin/ld: /tmp/glibc-2.22/build-tree/hurd-i386-libc/libc_pic.os: warning: 
relocation against `_hurd_self_sigstate' in readonly section `.text'
-# /usr/bin/ld: read-only segment has dynamic IFUNC relocations; recompile with 
-fPIC
-# /usr/bin/ld: failed to set dynamic section sizes: Bad value
-# See
-# https://sourceware.org/bugzilla/show_bug.cgi?id=18801
-# https://sourceware.org/ml/libc-alpha/2016-05/msg00686.html
-# https://sourceware.org/bugzilla/show_bug.cgi?id=19939
-# supposed to be fixed in binutils 2.27
-#
-# For now we are just disabling ifunc:
-export libc_cv_ld_gnu_indirect_function=no
+ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
+define libc0.3-dev_extra_pkg_install
+mkdir -p debian/libc0.3-dev/$(libdir)/xen
+cp -af debian/tmp-xen/$(libdir)/*.a \
+   debian/libc0.3-dev/$(libdir)/xen
+endef
+endif

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



[glibc] branch sid updated (239f3f8 -> 8e5856c)

2016-05-29 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  239f3f8   debian/control.in/main: build-depends on dpkg (>= 1.18.7) 
instead of dpkg-dev (>= 1.18.7) as the cputable file is in dpkg, not dpkg-dev. 
Closes: #824127.
   new  8e5856c   sysdeps/hurd-i386.mk: Work around binutils bug with ifunc 
relocation assertion.

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|  4 
 debian/sysdeps/hurd-i386.mk | 15 +++
 2 files changed, 19 insertions(+)

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



[glibc] 01/01: sysdeps/hurd-i386.mk: Work around binutils bug with ifunc relocation assertion.

2016-05-29 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 8e5856c18cf268757b0a474e98cab6504812e45f
Author: Samuel Thibault 
Date:   Sun May 29 22:39:00 2016 +

sysdeps/hurd-i386.mk: Work around binutils bug with ifunc relocation 
assertion.
---
 debian/changelog|  4 
 debian/sysdeps/hurd-i386.mk | 15 +++
 2 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 61ff4bb..5c35aa3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,10 @@ glibc (2.22-10) UNRELEASED; urgency=medium
 dpkg-dev (>= 1.18.7) as the cputable file is in dpkg, not dpkg-dev.
 Closes: #824127.
 
+  [ Samuel Thibault ]
+  * debian/sysdeps/hurd-i386.mk: Work around binutils bug with ifunc relocation
+assertion.
+
  -- Aurelien Jarno   Thu, 12 May 2016 18:06:35 +0200
 
 glibc (2.22-9) unstable; urgency=medium
diff --git a/debian/sysdeps/hurd-i386.mk b/debian/sysdeps/hurd-i386.mk
index d5e72ee..47e34df 100644
--- a/debian/sysdeps/hurd-i386.mk
+++ b/debian/sysdeps/hurd-i386.mk
@@ -12,3 +12,18 @@
 #  debian/libc0.3-dev/$(libdir)/xen
 #endef
 #endif
+
+# FIXME: We are having linking issues with ifunc...
+#
+# when linking libc_pic.os into libc.so:
+# /usr/bin/ld: /tmp/glibc-2.22/build-tree/hurd-i386-libc/libc_pic.os: warning: 
relocation against `_hurd_self_sigstate' in readonly section `.text'
+# /usr/bin/ld: read-only segment has dynamic IFUNC relocations; recompile with 
-fPIC
+# /usr/bin/ld: failed to set dynamic section sizes: Bad value
+# See
+# https://sourceware.org/bugzilla/show_bug.cgi?id=18801
+# https://sourceware.org/ml/libc-alpha/2016-05/msg00686.html
+# https://sourceware.org/bugzilla/show_bug.cgi?id=19939
+# supposed to be fixed in binutils 2.27
+#
+# For now we are just disabling ifunc:
+export libc_cv_ld_gnu_indirect_function=no

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



[glibc] branch sid updated (30b6283 -> 3713733)

2016-05-12 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  30b6283   debian/patches/kfreebsd/local-tst-malloc-backtrace.diff: 
drop, obsoleted by hurd-i386/cvs-libpthread.so.diff.
   new  3713733   debian/testsuite-xfail-debian.mk: Update LFS tests.

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/testsuite-xfail-debian.mk | 3 +++
 2 files changed, 4 insertions(+)

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



[glibc] 01/01: debian/testsuite-xfail-debian.mk: Update LFS tests.

2016-05-12 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 37137339b135117ebeaf29174070e93822c06de8
Author: Samuel Thibault 
Date:   Thu May 12 09:15:37 2016 +0200

debian/testsuite-xfail-debian.mk: Update LFS tests.
---
 debian/changelog | 1 +
 debian/testsuite-xfail-debian.mk | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5c76faa..6830395 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ glibc (2.22-9) UNRELEASED; urgency=medium
 
   [ Samuel Thibault ]
   * hurd-i386/cvs-libpthread.so.diff: Fix building malloc tests.
+  * debian/testsuite-xfail-debian.mk: Update LFS tests.
 
   [ Aurelien Jarno ]
   * debian/testsuite-xfail-debian.mk: drop check on i586 flavours.
diff --git a/debian/testsuite-xfail-debian.mk b/debian/testsuite-xfail-debian.mk
index 22e3447..2e67ff5 100644
--- a/debian/testsuite-xfail-debian.mk
+++ b/debian/testsuite-xfail-debian.mk
@@ -277,7 +277,10 @@ test-xfail-tst-vfork3-mem = yes
 
 # This generates GiBs of data instead of sparse files, putting build box on 
its knees
 tests-unsupported += test-lfs
+
+# Needs LFS support
 #test-xfail-test-lfs = yes
+test-xfail-tst-tzset = yes
 
 # happens seldomly
 test-xfail-tst-clock_nanosleep = yes

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



[glibc] branch sid updated (a44ff0c -> 7b2816e)

2016-05-11 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  a44ff0c   releasing package glibc version 2.22-8
   new  7b2816e   hurd-i386/cvs-libpthread.so.diff: Fix building malloc 
tests

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|  6 ++
 debian/patches/hurd-i386/cvs-libpthread.so.diff | 21 +
 debian/patches/series   |  1 +
 3 files changed, 28 insertions(+)
 create mode 100644 debian/patches/hurd-i386/cvs-libpthread.so.diff

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



[glibc] 01/01: hurd-i386/cvs-libpthread.so.diff: Fix building malloc tests

2016-05-11 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 7b2816e9a59f1e49d71e5a9fbb8b0c201754556d
Author: Samuel Thibault 
Date:   Thu May 12 01:06:10 2016 +0200

hurd-i386/cvs-libpthread.so.diff: Fix building malloc tests
---
 debian/changelog|  6 ++
 debian/patches/hurd-i386/cvs-libpthread.so.diff | 21 +
 debian/patches/series   |  1 +
 3 files changed, 28 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8995ed9..718f505 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+glibc (2.22-9) UNRELEASED; urgency=medium
+
+  * hurd-i386/cvs-libpthread.so.diff: Fix building malloc tests.
+
+ -- Samuel Thibault   Thu, 12 May 2016 01:05:26 +0200
+
 glibc (2.22-8) unstable; urgency=medium
 
   [ Samuel Thibault ]
diff --git a/debian/patches/hurd-i386/cvs-libpthread.so.diff 
b/debian/patches/hurd-i386/cvs-libpthread.so.diff
new file mode 100644
index 000..a706865
--- /dev/null
+++ b/debian/patches/hurd-i386/cvs-libpthread.so.diff
@@ -0,0 +1,21 @@
+Hardcoded nptl path...
+
+https://sourceware.org/ml/libc-alpha/2016-03/msg00437.html
+
+diff --git a/malloc/Makefile b/malloc/Makefile
+index 360288b..59d4264 100644
+--- a/malloc/Makefile
 b/malloc/Makefile
+@@ -46,10 +46,8 @@ extra-libs-others = $(extra-libs)
+ libmemusage-routines = memusage
+ libmemusage-inhibit-o = $(filter-out .os,$(object-suffixes))
+ 
+-$(objpfx)tst-malloc-backtrace: $(common-objpfx)nptl/libpthread.so \
+- $(common-objpfx)nptl/libpthread_nonshared.a
+-$(objpfx)tst-malloc-thread-exit: $(common-objpfx)nptl/libpthread.so \
+- $(common-objpfx)nptl/libpthread_nonshared.a
++$(objpfx)tst-malloc-backtrace: $(shared-thread-library)
++$(objpfx)tst-malloc-thread-exit: $(shared-thread-library)
+ 
+ # These should be removed by `make clean'.
+ extra-objs = mcheck-init.o libmcheck.a
diff --git a/debian/patches/series b/debian/patches/series
index 9fab432..bc30ebc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -151,6 +151,7 @@ hurd-i386/cvs-raise-longjump.diff
 hurd-i386/submitted-hurd-abilist.diff
 hurd-i386/cvs-errnos.d.diff
 hurd-i386/cvs-mach-syscalls.mk.diff
+hurd-i386/cvs-libpthread.so.diff
 hurd-i386/cvs-auxv.diff
 #hurd-i386/submitted-anon-mmap-shared.diff
 hurd-i386/cvs-gprof-tick.diff

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



Re: Bug#822783: eztrace-contrib: FTBFS with libc 2.23: 'memcpy' was not declared in this scope

2016-04-28 Thread Samuel Thibault
Control: reassign -1 libc6-dev
Control: tags -1 + experimental

Graham Inggs, on Wed 27 Apr 2016 15:07:52 +0200, wrote:
> Eztrace-contrib FTBFS with glibc 2.23 available in Experimental and
> Ubuntu Xenial.
> 
> > /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const 
> > void*, size_t)’:
> > /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope
> >return (char *) memcpy (__dest, __src, __n) + __n;
> >   ^
> > /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const 
> > void*, size_t)’:
> > /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope
> >return (char *) memcpy (__dest, __src, __n) + __n;
> >   ^
> > /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const 
> > void*, size_t)’:
> > /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope
> >return (char *) memcpy (__dest, __src, __n) + __n;
> 
> I found a similar issue had been reported for TensorFlow [1], and the 
> solution:
> 
> > @e14159 can you try with -D_FORCE_INLINES? I just had the same issue with 
> > pcl,
> > I checked the string.h header, and using that preprocessor directive skips 
> > the block
> > where the memcpy error appears. There's probably a cleaner workaround 
> > though...

Well, a workaround remains a workaround. There is no reason why we
shouldn't just fix the bug at its source, glibc. Otherwise we'd keep
chasing packages which would need a workaround, that's really not the
way to go.

So I'm reassigning to glibc.

Samuel



[glibc] branch sid updated (c58385b -> 60f76a5)

2016-04-24 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  c58385b   hurd: Fix IPV6_*PKT* macros.
   new  60f76a5   Continue cherry-picking upstream fix for RFC3542 vs 
RFC2292

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/cvs-IPV6_PKTINFO.diff | 35 ++
 1 file changed, 35 insertions(+)

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



[glibc] 01/01: Continue cherry-picking upstream fix for RFC3542 vs RFC2292

2016-04-24 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 60f76a550176395daf9b22fdd345191092351402
Author: Samuel Thibault 
Date:   Sun Apr 24 19:27:06 2016 +0200

Continue cherry-picking upstream fix for RFC3542 vs RFC2292
---
 debian/patches/hurd-i386/cvs-IPV6_PKTINFO.diff | 35 ++
 1 file changed, 35 insertions(+)

diff --git a/debian/patches/hurd-i386/cvs-IPV6_PKTINFO.diff 
b/debian/patches/hurd-i386/cvs-IPV6_PKTINFO.diff
index b5ba7f4..3dd5f61 100644
--- a/debian/patches/hurd-i386/cvs-IPV6_PKTINFO.diff
+++ b/debian/patches/hurd-i386/cvs-IPV6_PKTINFO.diff
@@ -17,6 +17,17 @@ Date:   Sun Apr 24 17:22:57 2016 +0200
(IPV6_RECVPKTINFO): New macro.
(IPV6_PKTINFO): New macro.
 
+commit d454fd21f4366fc529f83fdcd8a1113c5b49853e
+Author: Samuel Thibault 
+Date:   Sun Apr 24 19:24:36 2016 +0200
+
+non-linux: Apply RFC3542 obsoletion of RFC2292 macros
+
+(IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT, IPV6_RECVHOPOPTS, IPV6_HOPOPTS,
+IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR, IPV6_RTHDR, IPV6_RECVDSTOPTS,
+IPV6_DSTOPTS, IPV6_RECVPATHMTU, IPV6_PATHMTU, IPV6_DONTFRAG):
+New macros.
+
 diff --git a/bits/in.h b/bits/in.h
 index e6f4696..a9efc74 100644
 --- a/bits/in.h
@@ -66,3 +77,27 @@ index e6f4696..a9efc74 100644
  
  /* Routing header options for IPv6.  */
  #define IPV6_RTHDR_LOOSE  0   /* Hop doesn't need to be neighbour. */
+
+diff --git a/bits/in.h b/bits/in.h
+index a9efc74..d517115 100644
+--- a/bits/in.h
 b/bits/in.h
+@@ -86,6 +86,18 @@ struct ip_opts
+ /* Advanced API (RFC3542) (1).  */
+ #define IPV6_RECVPKTINFO  49
+ #define IPV6_PKTINFO  50
++#define IPV6_RECVHOPLIMIT 51
++#define IPV6_HOPLIMIT 52
++#define IPV6_RECVHOPOPTS  53
++#define IPV6_HOPOPTS  54
++#define IPV6_RTHDRDSTOPTS 55
++#define IPV6_RECVRTHDR56
++#define IPV6_RTHDR57
++#define IPV6_RECVDSTOPTS  58
++#define IPV6_DSTOPTS  59
++#define IPV6_RECVPATHMTU  60
++#define IPV6_PATHMTU  61
++#define IPV6_DONTFRAG 62
+ 
+ /* Obsolete synonyms for the above.  */
+ #define IPV6_ADD_MEMBERSHIP   IPV6_JOIN_GROUP

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



[glibc] branch sid updated (b8beb98 -> c58385b)

2016-04-24 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  b8beb98   patches/kfreebsd/local-sysdeps.diff: update to revision 
6015 (from glibc-bsd) to fix FTBFS.
   new  c58385b   hurd: Fix IPV6_*PKT* macros.

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/cvs-IPV6_PKTINFO.diff | 68 ++
 debian/patches/series  |  1 +
 3 files changed, 71 insertions(+)
 create mode 100644 debian/patches/hurd-i386/cvs-IPV6_PKTINFO.diff

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



[glibc] 01/01: hurd: Fix IPV6_*PKT* macros.

2016-04-24 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit c58385b013ea7a0d5926977f35f47af21669beb0
Author: Samuel Thibault 
Date:   Sun Apr 24 17:35:47 2016 +0200

hurd: Fix IPV6_*PKT* macros.

  * hurd-i386/cvs-IPV6_PKTINFO.diff: Cherry-pick from upstream to fix
IPV6_*PKT* macros.
---
 debian/changelog   |  2 +
 debian/patches/hurd-i386/cvs-IPV6_PKTINFO.diff | 68 ++
 debian/patches/series  |  1 +
 3 files changed, 71 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1093701..ce7dd9d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ glibc (2.22-8) UNRELEASED; urgency=medium
   [ Samuel Thibault ]
   * hurd-i386/cvs-gprof-tick.diff: Cherry-pick from upstream to fix gprof
 timing.
+  * hurd-i386/cvs-IPV6_PKTINFO.diff: Cherry-pick from upstream to fix
+IPV6_*PKT* macros.
 
   [ Aurelien Jarno ]
   * patches/kfreebsd/local-sysdeps.diff: update to revision 6015 (from
diff --git a/debian/patches/hurd-i386/cvs-IPV6_PKTINFO.diff 
b/debian/patches/hurd-i386/cvs-IPV6_PKTINFO.diff
new file mode 100644
index 000..b5ba7f4
--- /dev/null
+++ b/debian/patches/hurd-i386/cvs-IPV6_PKTINFO.diff
@@ -0,0 +1,68 @@
+commit 2a517d91af918aecd9b603b7a09f696d774de3e6
+Author: Samuel Thibault 
+Date:   Sun Apr 24 17:22:57 2016 +0200
+
+non-linux: Apply RFC3542 obsoletion of RFC2292 macros
+
+   RFC2292 macros were obsoleted by RFC3542, and should not be exposed
+   any more. Notably since IPV6_PKTINFO has been reintroduced with a
+   completely different API.
+
+   * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
+   (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
+   (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
+   (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
+   (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
+   (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
+   (IPV6_RECVPKTINFO): New macro.
+   (IPV6_PKTINFO): New macro.
+
+diff --git a/bits/in.h b/bits/in.h
+index e6f4696..a9efc74 100644
+--- a/bits/in.h
 b/bits/in.h
+@@ -56,17 +56,17 @@ struct ip_opts
+ 
+ /* IPV6 socket options.  */
+ #define IPV6_ADDRFORM 1
+-#define IPV6_PKTINFO  2
+-#define IPV6_HOPOPTS  3
+-#define IPV6_DSTOPTS  4
+-#define IPV6_RTHDR5
+-#define IPV6_PKTOPTIONS   6
++#define IPV6_2292PKTINFO  2
++#define IPV6_2292HOPOPTS  3
++#define IPV6_2292DSTOPTS  4
++#define IPV6_2292RTHDR5
++#define IPV6_2292PKTOPTIONS   6
+ #define IPV6_CHECKSUM 7
+-#define IPV6_HOPLIMIT 8
++#define IPV6_2292HOPLIMIT 8
+ 
+-#define IPV6_RXINFO   IPV6_PKTINFO
+-#define IPV6_TXINFO   IPV6_PKTINFO
+-#define SCM_SRCINFO   IPV6_PKTINFO
++#define IPV6_RXINFO   IPV6_2292PKTINFO
++#define IPV6_TXINFO   IPV6_RXINFO
++#define SCM_SRCINFO   IPV6_TXINFO
+ #define SCM_SRCRT IPV6_RXSRCRT
+ 
+ #define IPV6_UNICAST_HOPS 16
+@@ -83,11 +83,15 @@ struct ip_opts
+ #define IPV6_JOIN_ANYCAST  27
+ #define IPV6_LEAVE_ANYCAST 28
+ 
++/* Advanced API (RFC3542) (1).  */
++#define IPV6_RECVPKTINFO  49
++#define IPV6_PKTINFO  50
++
+ /* Obsolete synonyms for the above.  */
+ #define IPV6_ADD_MEMBERSHIP   IPV6_JOIN_GROUP
+ #define IPV6_DROP_MEMBERSHIP  IPV6_LEAVE_GROUP
+-#define IPV6_RXHOPOPTSIPV6_HOPOPTS
+-#define IPV6_RXDSTOPTSIPV6_DSTOPTS
++#define IPV6_RXHOPOPTSIPV6_2292HOPOPTS
++#define IPV6_RXDSTOPTSIPV6_2292DSTOPTS
+ 
+ /* Routing header options for IPv6.  */
+ #define IPV6_RTHDR_LOOSE  0   /* Hop doesn't need to be neighbour. */
diff --git a/debian/patches/series b/debian/patches/series
index 4f78bf4..09fc577 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -154,6 +154,7 @@ hurd-i386/cvs-mach-syscalls.mk.diff
 hurd-i386/cvs-auxv.diff
 #hurd-i386/submitted-anon-mmap-shared.diff
 hurd-i386/cvs-gprof-tick.diff
+hurd-i386/cvs-IPV6_PKTINFO.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

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



[glibc] branch sid updated (0bd38de -> f00ebcf)

2016-04-19 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  0bd38de   upload
   new  f00ebcf   hurd: fix gprof timing

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 |  8 
 debian/patches/hurd-i386/cvs-gprof-tick.diff | 22 ++
 debian/patches/series|  1 +
 3 files changed, 31 insertions(+)
 create mode 100644 debian/patches/hurd-i386/cvs-gprof-tick.diff

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



[glibc] 01/01: hurd: fix gprof timing

2016-04-19 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit f00ebcf192724c126629f338ff23a35a55e27d2c
Author: Samuel Thibault 
Date:   Tue Apr 19 23:29:22 2016 +0200

hurd: fix gprof timing

hurd-i386/cvs-gprof-tick.diff: Cherry-pick from upstream
---
 debian/changelog |  8 
 debian/patches/hurd-i386/cvs-gprof-tick.diff | 22 ++
 debian/patches/series|  1 +
 3 files changed, 31 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f552f26..29d4117 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+glibc (2.22-8) UNRELEASED; urgency=medium
+
+  [ Samuel Thibault ]
+  * hurd-i386/cvs-gprof-tick.diff: Cherry-pick from upstream to fix gprof
+timing.
+
+ -- Samuel Thibault   Tue, 19 Apr 2016 23:28:29 +0200
+
 glibc (2.22-7) unstable; urgency=medium
 
   [ Samuel Thibault ]
diff --git a/debian/patches/hurd-i386/cvs-gprof-tick.diff 
b/debian/patches/hurd-i386/cvs-gprof-tick.diff
new file mode 100644
index 000..2167fd8
--- /dev/null
+++ b/debian/patches/hurd-i386/cvs-gprof-tick.diff
@@ -0,0 +1,22 @@
+commit 6f8222a1c52a9e577925b90d16b95be10ef50596
+Author: Samuel Thibault 
+Date:   Tue Apr 19 23:27:27 2016 +0200
+
+Fix gprof timing
+
+   * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
+   frequency instead of tick length in us.
+
+diff --git a/sysdeps/mach/hurd/profil.c b/sysdeps/mach/hurd/profil.c
+index be249bb..a2c4e55 100644
+--- a/sysdeps/mach/hurd/profil.c
 b/sysdeps/mach/hurd/profil.c
+@@ -102,7 +102,7 @@ update_waiter (u_short *sample_buffer, size_t size, size_t 
offset, u_int scale)
+ int
+ __profile_frequency (void)
+ {
+-  return profile_tick;
++  return 100 / profile_tick;
+ }
+ libc_hidden_def (__profile_frequency)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index c998db7..4f78bf4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -153,6 +153,7 @@ hurd-i386/cvs-errnos.d.diff
 hurd-i386/cvs-mach-syscalls.mk.diff
 hurd-i386/cvs-auxv.diff
 #hurd-i386/submitted-anon-mmap-shared.diff
+hurd-i386/cvs-gprof-tick.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

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



[glibc] annotated tag debian/2.22-7 created (now 5cef2e3)

2016-04-19 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to annotated tag debian/2.22-7
in repository glibc.

at  5cef2e3   (tag)
   tagging  0bd38de1f10a091a416a105e96d919caaddd5efa (commit)
  replaces  debian/2.22-6
 tagged by  Samuel Thibault
on  Tue Apr 19 11:49:09 2016 +0200

- Log -
glibc Debian release 2.22-7

Aurelien Jarno (1):
  New changelog entry

Samuel Thibault (7):
  hurd-i386/submitted-auxv.diff: Update from upstream commit
  Add missing part
  refresh
  hurd-i386: Fix recording profiling from ext2fs
  hurd-i386/submitted-anon-mmap-shared.diff: Disable
  control: Add myself as uploader.
  upload

---

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



[glibc] branch sid updated (7209829 -> 0bd38de)

2016-04-19 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  7209829   control: Add myself as uploader.
   new  0bd38de   upload

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 | 7 ++-
 1 file changed, 2 insertions(+), 5 deletions(-)

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



[glibc] branch sid updated (2e0d9de -> 7209829)

2016-04-19 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  2e0d9de   hurd-i386/submitted-anon-mmap-shared.diff: Disable
   new  7209829   control: Add myself as uploader.

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/control | 2 +-
 debian/control.in/main | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

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



[glibc] branch sid updated (5e3a162 -> 2e0d9de)

2016-04-19 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  5e3a162   hurd-i386: Fix recording profiling from ext2fs
   new  2e0d9de   hurd-i386/submitted-anon-mmap-shared.diff: Disable

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/series | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

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



[glibc] 01/01: upload

2016-04-19 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 0bd38de1f10a091a416a105e96d919caaddd5efa
Author: Samuel Thibault 
Date:   Tue Apr 19 11:48:19 2016 +0200

upload
---
 debian/changelog | 7 ++-
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1d1067f..f552f26 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,4 @@
-glibc (2.22-7) UNRELEASED; urgency=medium
-
-  [ Aurelien Jarno ]
-  * 
+glibc (2.22-7) unstable; urgency=medium
 
   [ Samuel Thibault ]
   * hurd-i386/submitted-auxv.diff: Update from upstream commit into
@@ -12,7 +9,7 @@ glibc (2.22-7) UNRELEASED; urgency=medium
 booting hurd-i386.
   * control: Add myself as uploader.
 
- -- Aurelien Jarno   Sat, 09 Apr 2016 16:23:55 +0200
+ -- Samuel Thibault   Tue, 19 Apr 2016 11:48:08 +0200
 
 glibc (2.22-6) unstable; urgency=medium
 

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



[glibc] 01/01: control: Add myself as uploader.

2016-04-19 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 7209829470157ecf30a95c1752b69beba0f50f57
Author: Samuel Thibault 
Date:   Tue Apr 19 11:47:33 2016 +0200

control: Add myself as uploader.
---
 debian/changelog   | 1 +
 debian/control | 2 +-
 debian/control.in/main | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3d506ed..1d1067f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ glibc (2.22-7) UNRELEASED; urgency=medium
 ext2fs.
   * hurd-i386/submitted-anon-mmap-shared.diff: Disable, actually breaks
 booting hurd-i386.
+  * control: Add myself as uploader.
 
  -- Aurelien Jarno   Sat, 09 Apr 2016 16:23:55 +0200
 
diff --git a/debian/control b/debian/control
index 05cbe9c..9a45047 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ Build-Depends: gettext, dpkg-dev (>= 1.17.14), xz-utils, 
file, quilt,
  libc-bin (>= 2.22) 
 Build-Depends-Indep: perl, po-debconf (>= 1.0)
 Maintainer: GNU Libc Maintainers 
-Uploaders: Clint Adams , Aurelien Jarno 
, Adam Conrad 
+Uploaders: Clint Adams , Aurelien Jarno 
, Adam Conrad , Samuel Thibault 

 Standards-Version: 3.9.7
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-glibc/glibc.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-glibc/glibc.git
diff --git a/debian/control.in/main b/debian/control.in/main
index c64c2a1..0b0da96 100644
--- a/debian/control.in/main
+++ b/debian/control.in/main
@@ -14,7 +14,7 @@ Build-Depends: gettext, dpkg-dev (>= 1.17.14), xz-utils, 
file, quilt,
  libc-bin (>= @GLIBC_VERSION@) 
 Build-Depends-Indep: perl, po-debconf (>= 1.0)
 Maintainer: GNU Libc Maintainers 
-Uploaders: Clint Adams , Aurelien Jarno 
, Adam Conrad 
+Uploaders: Clint Adams , Aurelien Jarno 
, Adam Conrad , Samuel Thibault 

 Standards-Version: 3.9.7
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-glibc/glibc.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-glibc/glibc.git

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



[glibc] 01/01: hurd-i386/submitted-anon-mmap-shared.diff: Disable

2016-04-19 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 2e0d9de4055bf6e73e31915d2a7ad9343fa4a23f
Author: Samuel Thibault 
Date:   Tue Apr 19 11:43:31 2016 +0200

hurd-i386/submitted-anon-mmap-shared.diff: Disable

It actually breaks booting hurd-i386
---
 debian/changelog  | 2 ++
 debian/patches/series | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index d3dbf34..3d506ed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ glibc (2.22-7) UNRELEASED; urgency=medium
 cvs-auxv.diff.
   * hurd-i386/unsubmitted-prof-eintr.diff: Fix recording profiling from
 ext2fs.
+  * hurd-i386/submitted-anon-mmap-shared.diff: Disable, actually breaks
+booting hurd-i386.
 
  -- Aurelien Jarno   Sat, 09 Apr 2016 16:23:55 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index 5971499..c998db7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -152,7 +152,7 @@ hurd-i386/submitted-hurd-abilist.diff
 hurd-i386/cvs-errnos.d.diff
 hurd-i386/cvs-mach-syscalls.mk.diff
 hurd-i386/cvs-auxv.diff
-hurd-i386/submitted-anon-mmap-shared.diff
+#hurd-i386/submitted-anon-mmap-shared.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

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



[glibc] branch sid updated (d9003f7 -> 5e3a162)

2016-04-18 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  d9003f7   refresh
   new  5e3a162   hurd-i386: Fix recording profiling from ext2fs

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 ++
 .../patches/hurd-i386/unsubmitted-prof-eintr.diff  | 22 ++
 debian/patches/series.hurd-i386|  1 +
 3 files changed, 25 insertions(+)
 create mode 100644 debian/patches/hurd-i386/unsubmitted-prof-eintr.diff

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



[glibc] 01/01: hurd-i386: Fix recording profiling from ext2fs

2016-04-18 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 5e3a1620fe4871e988700b9aa1fa39ba493034ca
Author: Samuel Thibault 
Date:   Mon Apr 18 23:04:23 2016 +

hurd-i386: Fix recording profiling from ext2fs
---
 debian/changelog   |  2 ++
 .../patches/hurd-i386/unsubmitted-prof-eintr.diff  | 22 ++
 debian/patches/series.hurd-i386|  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b70e822..d3dbf34 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ glibc (2.22-7) UNRELEASED; urgency=medium
   [ Samuel Thibault ]
   * hurd-i386/submitted-auxv.diff: Update from upstream commit into
 cvs-auxv.diff.
+  * hurd-i386/unsubmitted-prof-eintr.diff: Fix recording profiling from
+ext2fs.
 
  -- Aurelien Jarno   Sat, 09 Apr 2016 16:23:55 +0200
 
diff --git a/debian/patches/hurd-i386/unsubmitted-prof-eintr.diff 
b/debian/patches/hurd-i386/unsubmitted-prof-eintr.diff
new file mode 100644
index 000..630f1b6
--- /dev/null
+++ b/debian/patches/hurd-i386/unsubmitted-prof-eintr.diff
@@ -0,0 +1,22 @@
+When profiling ext2fs, the shutdown stops all RPC, which thus interrupts this
+open, and we have to retry here.
+
+TODO: is open really supposed to expose such EINTR?  Should the generic gmon
+loop around EINTR (since there might be signals happening indeed)
+
+Index: glibc-2.22/gmon/gmon.c
+===
+--- glibc-2.22.orig/gmon/gmon.c
 glibc-2.22/gmon/gmon.c
+@@ -357,8 +357,11 @@ write_gmon (void)
+ 
+ if (fd == -1)
+   {
++   do
+   fd = open_not_cancel ("gmon.out", O_CREAT|O_TRUNC|O_WRONLY|O_NOFOLLOW,
+ 0666);
++   while (fd < 0 && errno == EINTR);
++
+   if (fd < 0)
+ {
+   char buf[300];
diff --git a/debian/patches/series.hurd-i386 b/debian/patches/series.hurd-i386
index 9aa13cf..d4fc9e7 100644
--- a/debian/patches/series.hurd-i386
+++ b/debian/patches/series.hurd-i386
@@ -13,3 +13,4 @@ hurd-i386/submitted-handle-eprototype.diff
 hurd-i386/local-no-bootstrap-fs-access.diff
 hurd-i386/unsubmitted-timer_routines.diff 
 hurd-i386/local-versions-hack.diff
+hurd-i386/unsubmitted-prof-eintr.diff

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



[glibc] branch sid updated (a81217b -> d9003f7)

2016-04-18 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  a81217b   Add missing part
   new  d9003f7   refresh

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/kfreebsd/submitted-auxv.diff | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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



[glibc] 01/01: refresh

2016-04-18 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit d9003f73af9cc7a337170f281c3cf9f2be148fd1
Author: Samuel Thibault 
Date:   Mon Apr 18 19:12:32 2016 +

refresh
---
 debian/patches/kfreebsd/submitted-auxv.diff | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/patches/kfreebsd/submitted-auxv.diff 
b/debian/patches/kfreebsd/submitted-auxv.diff
index c3c7533..c5d4e5e 100644
--- a/debian/patches/kfreebsd/submitted-auxv.diff
+++ b/debian/patches/kfreebsd/submitted-auxv.diff
@@ -17,9 +17,8 @@ https://sourceware.org/bugzilla/show_bug.cgi?id=15794
  return GLRO(dl_hwcap2);
 +#endif
  
-  if (GLRO(dl_auxv))
+ #ifdef HAVE_AUX_VECTOR
for (p = GLRO(dl_auxv); p->a_type != AT_NULL; p++)
- if (p->a_type == type)
 diff --git a/bits/auxv.h b/bits/auxv.h
 new file mode 100644
 index 000..76701c3

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



[glibc] branch sid updated (d6c4db8 -> a81217b)

2016-04-11 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  d6c4db8   hurd-i386/submitted-auxv.diff: Update from upstream commit
   new  a81217b   Add missing part

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/cvs-auxv.diff | 53 ++
 1 file changed, 53 insertions(+)

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



[glibc] 01/01: Add missing part

2016-04-11 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit a81217bccca936b8ee43cfa0fd980d6e6ed8d5da
Author: Samuel Thibault 
Date:   Mon Apr 11 10:28:32 2016 +0200

Add missing part
---
 debian/patches/hurd-i386/cvs-auxv.diff | 53 ++
 1 file changed, 53 insertions(+)

diff --git a/debian/patches/hurd-i386/cvs-auxv.diff 
b/debian/patches/hurd-i386/cvs-auxv.diff
index 74a5736..3237b5c 100644
--- a/debian/patches/hurd-i386/cvs-auxv.diff
+++ b/debian/patches/hurd-i386/cvs-auxv.diff
@@ -40,3 +40,56 @@ index 2733ac8..ddec0be 100644
  
/* Get architecture specific definitions.  */
  #define PROCINFO_DECL
+
+commit e1ef505659e9720ebdb116a21e91e0398cd411e5
+Author: Samuel Thibault 
+Date:   Mon Apr 11 10:27:02 2016 +0200
+
+Fix build with HAVE_AUX_VECTOR
+
+   * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
+   including .
+   * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
+
+diff --git a/sysdeps/nacl/ldsodefs.h b/sysdeps/nacl/ldsodefs.h
+index bc7723a..c6307a6 100644
+--- a/sysdeps/nacl/ldsodefs.h
 b/sysdeps/nacl/ldsodefs.h
+@@ -18,14 +18,14 @@
+ 
+ #ifndef   _LDSODEFS_H
+ 
++/* We have the auxiliary vector.  */
++#define HAVE_AUX_VECTOR   1
++
+ /* Get the real definitions.  */
+ #include_next 
+ 
+ /* Now define our stuff.  */
+ 
+-/* We have the auxiliary vector.  */
+-#define HAVE_AUX_VECTOR   1
+-
+ /* Used by static binaries to check the auxiliary vector.  */
+ extern void _dl_aux_init (ElfW(auxv_t) *av) internal_function;
+ 
+diff --git a/sysdeps/unix/sysv/linux/ldsodefs.h 
b/sysdeps/unix/sysv/linux/ldsodefs.h
+index 1f4d9e3..4c3676e 100644
+--- a/sysdeps/unix/sysv/linux/ldsodefs.h
 b/sysdeps/unix/sysv/linux/ldsodefs.h
+@@ -18,12 +18,12 @@
+ 
+ #ifndef   _LDSODEFS_H
+ 
+-/* Get the real definitions.  */
+-#include_next 
+-
+ /* We have the auxiliary vector.  */
+ #define HAVE_AUX_VECTOR
+ 
++/* Get the real definitions.  */
++#include_next 
++
+ /* We can assume that the kernel always provides the AT_UID, AT_EUID,
+AT_GID, and AT_EGID values in the auxiliary vector from 2.4.0 or so on.  */
+ #define HAVE_AUX_XID

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



[glibc] branch sid updated (d63e045 -> d6c4db8)

2016-04-10 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  d63e045   New changelog entry
   new  d6c4db8   hurd-i386/submitted-auxv.diff: Update from upstream commit

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 |  5 
 debian/patches/hurd-i386/cvs-auxv.diff   | 42 
 debian/patches/hurd-i386/submitted-auxv.diff | 14 --
 debian/patches/series|  2 +-
 4 files changed, 48 insertions(+), 15 deletions(-)
 create mode 100644 debian/patches/hurd-i386/cvs-auxv.diff
 delete mode 100644 debian/patches/hurd-i386/submitted-auxv.diff

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



[glibc] 01/01: hurd-i386/submitted-auxv.diff: Update from upstream commit

2016-04-10 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit d6c4db85a633b4b10cc918de098cc4ac077e054b
Author: Samuel Thibault 
Date:   Mon Apr 11 00:01:52 2016 +0200

hurd-i386/submitted-auxv.diff: Update from upstream commit

into cvs-auxv.diff
---
 debian/changelog |  5 
 debian/patches/hurd-i386/cvs-auxv.diff   | 42 
 debian/patches/hurd-i386/submitted-auxv.diff | 14 --
 debian/patches/series|  2 +-
 4 files changed, 48 insertions(+), 15 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 62b16a0..b70e822 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,12 @@
 glibc (2.22-7) UNRELEASED; urgency=medium
 
+  [ Aurelien Jarno ]
   * 
 
+  [ Samuel Thibault ]
+  * hurd-i386/submitted-auxv.diff: Update from upstream commit into
+cvs-auxv.diff.
+
  -- Aurelien Jarno   Sat, 09 Apr 2016 16:23:55 +0200
 
 glibc (2.22-6) unstable; urgency=medium
diff --git a/debian/patches/hurd-i386/cvs-auxv.diff 
b/debian/patches/hurd-i386/cvs-auxv.diff
new file mode 100644
index 000..74a5736
--- /dev/null
+++ b/debian/patches/hurd-i386/cvs-auxv.diff
@@ -0,0 +1,42 @@
+commit 0cdc5e930a95ca2ec3f2fd9327da93a2fbaf8e97
+Author: Samuel Thibault 
+Date:   Sun Apr 10 23:58:43 2016 +0200
+
+Fix crash on getauxval call without HAVE_AUX_VECTOR
+
+   * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
+   [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
+   * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
+   GLRO(dl_auxv) list.
+
+diff --git a/misc/getauxval.c b/misc/getauxval.c
+index e48f40f..6111376 100644
+--- a/misc/getauxval.c
 b/misc/getauxval.c
+@@ -30,9 +30,11 @@ __getauxval (unsigned long int type)
+   else if (type == AT_HWCAP2)
+ return GLRO(dl_hwcap2);
+ 
++#ifdef HAVE_AUX_VECTOR
+   for (p = GLRO(dl_auxv); p->a_type != AT_NULL; p++)
+ if (p->a_type == type)
+   return p->a_un.a_val;
++#endif
+ 
+   __set_errno (ENOENT);
+   return 0;
+diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
+index 2733ac8..ddec0be 100644
+--- a/sysdeps/generic/ldsodefs.h
 b/sysdeps/generic/ldsodefs.h
+@@ -509,8 +509,10 @@ struct rtld_global_ro
+   /* Mask for important hardware capabilities we honour. */
+   EXTERN uint64_t _dl_hwcap_mask;
+ 
++#ifdef HAVE_AUX_VECTOR
+   /* Pointer to the auxv list supplied to the program at startup.  */
+   EXTERN ElfW(auxv_t) *_dl_auxv;
++#endif
+ 
+   /* Get architecture specific definitions.  */
+ #define PROCINFO_DECL
diff --git a/debian/patches/hurd-i386/submitted-auxv.diff 
b/debian/patches/hurd-i386/submitted-auxv.diff
deleted file mode 100644
index 6c3ef98..000
--- a/debian/patches/hurd-i386/submitted-auxv.diff
+++ /dev/null
@@ -1,14 +0,0 @@
-https://sourceware.org/ml/libc-alpha/2016-04/msg00025.html
-
-Index: glibc-2.22/misc/getauxval.c
-===
 glibc-2.22.orig/misc/getauxval.c
-+++ glibc-2.22/misc/getauxval.c
-@@ -35,6 +35,7 @@ __getauxval (unsigned long int type)
-   else if (type == AT_HWCAP2)
- return GLRO(dl_hwcap2);
- 
-+ if (GLRO(dl_auxv))
-   for (p = GLRO(dl_auxv); p->a_type != AT_NULL; p++)
- if (p->a_type == type)
-   return p->a_un.a_val;
diff --git a/debian/patches/series b/debian/patches/series
index 481fa2a..5971499 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -151,7 +151,7 @@ hurd-i386/cvs-raise-longjump.diff
 hurd-i386/submitted-hurd-abilist.diff
 hurd-i386/cvs-errnos.d.diff
 hurd-i386/cvs-mach-syscalls.mk.diff
-hurd-i386/submitted-auxv.diff
+hurd-i386/cvs-auxv.diff
 hurd-i386/submitted-anon-mmap-shared.diff
 
 i386/local-biarch.diff

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



[glibc] branch sid updated (493939a -> 5d92864)

2016-04-04 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  493939a   hurd-i386/submitted-auxv.diff: New patch, fixes cvs crash
   new  5d92864   hurd: fix inheritence of shared anonymous memory

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 ++
 .../hurd-i386/submitted-anon-mmap-shared.diff  | 36 ++
 debian/patches/series  |  1 +
 3 files changed, 39 insertions(+)
 create mode 100644 debian/patches/hurd-i386/submitted-anon-mmap-shared.diff

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



[glibc] 01/01: hurd: fix inheritence of shared anonymous memory

2016-04-04 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 5d92864b194e42e7480ddafcb8329f9d64e08e05
Author: Samuel Thibault 
Date:   Mon Apr 4 10:15:55 2016 +0200

hurd: fix inheritence of shared anonymous memory

hurd-i386/submitted-anon-mmap-shared.diff
---
 debian/changelog   |  2 ++
 .../hurd-i386/submitted-anon-mmap-shared.diff  | 36 ++
 debian/patches/series  |  1 +
 3 files changed, 39 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3d6971b..04359d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ glibc (2.22-6) UNRELEASED; urgency=medium
 
   [ Samuel Thibault ]
   * hurd-i386/submitted-auxv.diff: New patch, fixes cvs crash.
+  * hurd-i386/submitted-anon-mmap-shared.diff: New patch, fixes inheritence of
+  shared anonymous memory.
 
  -- Aurelien Jarno   Tue, 29 Mar 2016 00:50:55 +0200
 
diff --git a/debian/patches/hurd-i386/submitted-anon-mmap-shared.diff 
b/debian/patches/hurd-i386/submitted-anon-mmap-shared.diff
new file mode 100644
index 000..5903cda
--- /dev/null
+++ b/debian/patches/hurd-i386/submitted-anon-mmap-shared.diff
@@ -0,0 +1,36 @@
+Optimizing anonymous maps brings bugs, and does not optimize much anyway.
+
+https://sourceware.org/bugzilla/show_bug.cgi?id=19903
+
+--- a/sysdeps/mach/hurd/mmap.c
 b/sysdeps/mach/hurd/mmap.c
+@@ -44,29 +44,6 @@ __mmap (__ptr_t addr, size_t len, int pr
+   if ((mapaddr & (vm_page_size - 1)) || (offset & (vm_page_size - 1)))
+ return (__ptr_t) (long int) __hurd_fail (EINVAL);
+ 
+-  if ((flags & (MAP_TYPE|MAP_INHERIT)) == MAP_ANON
+-  && prot == (PROT_READ|PROT_WRITE)) /* cf VM_PROT_DEFAULT */
+-{
+-  /* vm_allocate has (a little) less overhead in the kernel too.  */
+-  err = __vm_allocate (__mach_task_self (), &mapaddr, len, mapaddr == 0);
+-
+-  if (err == KERN_NO_SPACE)
+-  {
+-if (flags & MAP_FIXED)
+-  {
+-/* XXX this is not atomic as it is in unix! */
+-/* The region is already allocated; deallocate it first.  */
+-err = __vm_deallocate (__mach_task_self (), mapaddr, len);
+-if (!err)
+-  err = __vm_allocate (__mach_task_self (), &mapaddr, len, 0);
+-  }
+-else if (mapaddr != 0)
+-  err = __vm_allocate (__mach_task_self (), &mapaddr, len, 1);
+-  }
+-
+-  return err ? (__ptr_t) (long int) __hurd_fail (err) : (__ptr_t) mapaddr;
+-}
+-
+   vmprot = VM_PROT_NONE;
+   if (prot & PROT_READ)
+ vmprot |= VM_PROT_READ;
diff --git a/debian/patches/series b/debian/patches/series
index ab07864..481fa2a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -152,6 +152,7 @@ hurd-i386/submitted-hurd-abilist.diff
 hurd-i386/cvs-errnos.d.diff
 hurd-i386/cvs-mach-syscalls.mk.diff
 hurd-i386/submitted-auxv.diff
+hurd-i386/submitted-anon-mmap-shared.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

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



[glibc] branch sid updated (c41f36f -> 493939a)

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

sthibault pushed a change to branch sid
in repository glibc.

  from  c41f36f   New changelog entry
   new  493939a   hurd-i386/submitted-auxv.diff: New patch, fixes cvs crash

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 |  3 ++-
 debian/patches/hurd-i386/submitted-auxv.diff | 14 ++
 debian/patches/kfreebsd/submitted-auxv.diff  |  2 +-
 debian/patches/series|  1 +
 4 files changed, 18 insertions(+), 2 deletions(-)
 create mode 100644 debian/patches/hurd-i386/submitted-auxv.diff

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



Re: [glibc] 01/01: hurd-i386/submitted-auxv.diff: New patch, fixes cvs crash

2016-04-03 Thread Samuel Thibault
Aurelien Jarno, on Sun 03 Apr 2016 22:01:13 +0200, wrote:
> On 2016-04-02 11:04, Samuel Thibault wrote:
> > This is an automated email from the git hooks/post-receive script.
> > 
> > sthibault pushed a commit to branch glibc-2.22
> > in repository glibc.
> 
> I think you committed that on the wrong branch, you probably wanted the
> sid branch instead.

D'oh... For some reason I had to redo my checkout and was confused not
to have a master branch indeed.  I've cherry-picked into sid.

Samuel



[glibc] 01/01: hurd-i386/submitted-auxv.diff: New patch, fixes cvs crash

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

sthibault pushed a commit to branch sid
in repository glibc.

commit 493939a68db07b44b5db8d3d5d08a2c859df99fb
Author: Samuel Thibault 
Date:   Sat Apr 2 11:03:59 2016 +

hurd-i386/submitted-auxv.diff: New patch, fixes cvs crash
---
 debian/changelog |  3 ++-
 debian/patches/hurd-i386/submitted-auxv.diff | 14 ++
 debian/patches/kfreebsd/submitted-auxv.diff  |  2 +-
 debian/patches/series|  1 +
 4 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8b0a9e0..3d6971b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 glibc (2.22-6) UNRELEASED; urgency=medium
 
-  * 
+  [ Samuel Thibault ]
+  * hurd-i386/submitted-auxv.diff: New patch, fixes cvs crash.
 
  -- Aurelien Jarno   Tue, 29 Mar 2016 00:50:55 +0200
 
diff --git a/debian/patches/hurd-i386/submitted-auxv.diff 
b/debian/patches/hurd-i386/submitted-auxv.diff
new file mode 100644
index 000..6c3ef98
--- /dev/null
+++ b/debian/patches/hurd-i386/submitted-auxv.diff
@@ -0,0 +1,14 @@
+https://sourceware.org/ml/libc-alpha/2016-04/msg00025.html
+
+Index: glibc-2.22/misc/getauxval.c
+===
+--- glibc-2.22.orig/misc/getauxval.c
 glibc-2.22/misc/getauxval.c
+@@ -35,6 +35,7 @@ __getauxval (unsigned long int type)
+   else if (type == AT_HWCAP2)
+ return GLRO(dl_hwcap2);
+ 
++ if (GLRO(dl_auxv))
+   for (p = GLRO(dl_auxv); p->a_type != AT_NULL; p++)
+ if (p->a_type == type)
+   return p->a_un.a_val;
diff --git a/debian/patches/kfreebsd/submitted-auxv.diff 
b/debian/patches/kfreebsd/submitted-auxv.diff
index 360c276..c3c7533 100644
--- a/debian/patches/kfreebsd/submitted-auxv.diff
+++ b/debian/patches/kfreebsd/submitted-auxv.diff
@@ -17,9 +17,9 @@ https://sourceware.org/bugzilla/show_bug.cgi?id=15794
  return GLRO(dl_hwcap2);
 +#endif
  
+  if (GLRO(dl_auxv))
for (p = GLRO(dl_auxv); p->a_type != AT_NULL; p++)
  if (p->a_type == type)
-
 diff --git a/bits/auxv.h b/bits/auxv.h
 new file mode 100644
 index 000..76701c3
diff --git a/debian/patches/series b/debian/patches/series
index 7ff0f06..ab07864 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -151,6 +151,7 @@ hurd-i386/cvs-raise-longjump.diff
 hurd-i386/submitted-hurd-abilist.diff
 hurd-i386/cvs-errnos.d.diff
 hurd-i386/cvs-mach-syscalls.mk.diff
+hurd-i386/submitted-auxv.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

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



[glibc] branch glibc-2.22 updated (a385456 -> 898b1e9)

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

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

  from  a385456   control: Accept hurd-headers-dev and libihash-dev as 
alternatives to hurd-dev for bootstrapping.
   new  898b1e9   hurd-i386/submitted-auxv.diff: New patch, fixes cvs crash

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/submitted-auxv.diff | 14 ++
 debian/patches/kfreebsd/submitted-auxv.diff  |  2 +-
 debian/patches/series|  1 +
 4 files changed, 17 insertions(+), 1 deletion(-)
 create mode 100644 debian/patches/hurd-i386/submitted-auxv.diff

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



[glibc] 01/01: hurd-i386/submitted-auxv.diff: New patch, fixes cvs crash

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

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

commit 898b1e9db8e9661fa5890404085618bbf25060fd
Author: Samuel Thibault 
Date:   Sat Apr 2 11:03:59 2016 +

hurd-i386/submitted-auxv.diff: New patch, fixes cvs crash
---
 debian/changelog |  1 +
 debian/patches/hurd-i386/submitted-auxv.diff | 14 ++
 debian/patches/kfreebsd/submitted-auxv.diff  |  2 +-
 debian/patches/series|  1 +
 4 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0cb5c27..aed6702 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ glibc (2.22-0experimental4) UNRELEASED; urgency=medium
   [ Samuel Thibault ]
   * control: Accept hurd-headers-dev and libihash-dev as alternatives to
 hurd-dev for bootstrapping.
+  * hurd-i386/submitted-auxv.diff: New patch, fixes cvs crash.
 
  -- Aurelien Jarno   Tue, 01 Mar 2016 21:37:40 +0100
 
diff --git a/debian/patches/hurd-i386/submitted-auxv.diff 
b/debian/patches/hurd-i386/submitted-auxv.diff
new file mode 100644
index 000..6c3ef98
--- /dev/null
+++ b/debian/patches/hurd-i386/submitted-auxv.diff
@@ -0,0 +1,14 @@
+https://sourceware.org/ml/libc-alpha/2016-04/msg00025.html
+
+Index: glibc-2.22/misc/getauxval.c
+===
+--- glibc-2.22.orig/misc/getauxval.c
 glibc-2.22/misc/getauxval.c
+@@ -35,6 +35,7 @@ __getauxval (unsigned long int type)
+   else if (type == AT_HWCAP2)
+ return GLRO(dl_hwcap2);
+ 
++ if (GLRO(dl_auxv))
+   for (p = GLRO(dl_auxv); p->a_type != AT_NULL; p++)
+ if (p->a_type == type)
+   return p->a_un.a_val;
diff --git a/debian/patches/kfreebsd/submitted-auxv.diff 
b/debian/patches/kfreebsd/submitted-auxv.diff
index 360c276..c3c7533 100644
--- a/debian/patches/kfreebsd/submitted-auxv.diff
+++ b/debian/patches/kfreebsd/submitted-auxv.diff
@@ -17,9 +17,9 @@ https://sourceware.org/bugzilla/show_bug.cgi?id=15794
  return GLRO(dl_hwcap2);
 +#endif
  
+  if (GLRO(dl_auxv))
for (p = GLRO(dl_auxv); p->a_type != AT_NULL; p++)
  if (p->a_type == type)
-
 diff --git a/bits/auxv.h b/bits/auxv.h
 new file mode 100644
 index 000..76701c3
diff --git a/debian/patches/series b/debian/patches/series
index 30d33e2..aac1f8e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -150,6 +150,7 @@ hurd-i386/cvs-libpthread-sigstate.diff
 hurd-i386/cvs-O_DIRECTORY.diff
 hurd-i386/cvs-raise-longjump.diff
 hurd-i386/submitted-hurd-abilist.diff
+hurd-i386/submitted-auxv.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

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



[glibc] branch sid updated (37d01ef -> a2717db)

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

sthibault pushed a change to branch sid
in repository glibc.

  from  37d01ef   Remove unused and upstreamed patch
   new  a2717db   Disable the problematic test-lfs test on hurd

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 | 3 ++-
 debian/testsuite-xfail-debian.mk | 5 -
 2 files changed, 6 insertions(+), 2 deletions(-)

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



[glibc] 01/01: Disable the problematic test-lfs test on hurd

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

sthibault pushed a commit to branch sid
in repository glibc.

commit a2717dba3e2646f57d4defaddb01a6089cdc8d89
Author: Samuel Thibault 
Date:   Wed Mar 23 01:13:09 2016 +0100

Disable the problematic test-lfs test on hurd
---
 debian/changelog | 3 ++-
 debian/testsuite-xfail-debian.mk | 5 -
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2674f6e..75701ca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 glibc (2.22-5) UNRELEASED; urgency=medium
 
-  * 
+  [ Samuel Thibault ]
+  * testsuite-xfail-debian.mk: Disable the problematic test-lfs test on hurd.
 
  -- Aurelien Jarno   Mon, 21 Mar 2016 18:45:40 +0100
 
diff --git a/debian/testsuite-xfail-debian.mk b/debian/testsuite-xfail-debian.mk
index 6065d3b..77fa5b1 100644
--- a/debian/testsuite-xfail-debian.mk
+++ b/debian/testsuite-xfail-debian.mk
@@ -237,7 +237,6 @@ test-xfail-check-textrel = yes
 test-xfail-opendir-tst1 = yes
 test-xfail-test-idouble = yes
 test-xfail-test-ifloat = yes
-test-xfail-test-lfs = yes
 test-xfail-tst-aio10 = yes
 test-xfail-tst-aio9 = yes
 test-xfail-tst-audit1 = yes
@@ -276,6 +275,10 @@ test-xfail-tst-sysconf = yes
 test-xfail-tst-tls9-static = yes
 test-xfail-tst-vfork3-mem = yes
 
+# This generates GiBs of data instead of sparse files, putting build box on 
its knees
+tests-unsupported += test-lfs
+#test-xfail-test-lfs = yes
+
 # happens seldomly
 test-xfail-tst-clock_nanosleep = yes
 test-xfail-tst-nanosleep = yes

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



[glibc] branch glibc-2.23 updated (be8dbc9 -> 66e14ee)

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

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

  from  be8dbc9   Merge branch 'glibc-2.23' of 
ssh://git.debian.org/git/pkg-glibc/glibc into glibc-2.23
   new  66e14ee   hurd-i386/unsubmitted-libpthread.so.diff: use CVS commit

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 +-
 ...tted-libpthread.so.diff => cvs-libpthread.so.diff} | 19 ---
 debian/patches/series |  1 +
 debian/patches/series.hurd-i386   |  1 -
 4 files changed, 10 insertions(+), 13 deletions(-)
 rename debian/patches/hurd-i386/{unsubmitted-libpthread.so.diff => 
cvs-libpthread.so.diff} (51%)

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



[glibc] 01/01: hurd-i386/unsubmitted-libpthread.so.diff: use CVS commit

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

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

commit 66e14ee7bd1eac4c4b0dceac5b8d5ea40745c3e6
Author: Samuel Thibault 
Date:   Tue Mar 22 10:01:52 2016 +0100

hurd-i386/unsubmitted-libpthread.so.diff: use CVS commit
---
 debian/changelog  |  2 +-
 ...tted-libpthread.so.diff => cvs-libpthread.so.diff} | 19 ---
 debian/patches/series |  1 +
 debian/patches/series.hurd-i386   |  1 -
 4 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a0045d1..de92856 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,7 +16,7 @@ glibc (2.23-0experimental1) UNRELEASED; urgency=medium
   * hurd-i386/cvs-aio_sigqueue.diff: Fix aio_sigqueue prototype.
   * hurd-i386/cvs-libpthread.diff: Separate 2.23 changes to...
   * hurd-i386/cvs-libpthread-2.23.diff: ... separate patch.
-  * hurd-i386/unsubmitted-libpthread.so.diff: Fix building malloc tests.
+  * hurd-i386/cvs-libpthread.so.diff: Fix building malloc tests.
   * testsuite-xfail-debian.mk: Skip test which just overflows memory.
   * hurd-i386/cvs-pt-kill.diff: Fix pthread_kill locking.
   * hurd-i386/cvs-open.diff: Fix __open in ld.so, thus fixing dlopen().
diff --git a/debian/patches/hurd-i386/unsubmitted-libpthread.so.diff 
b/debian/patches/hurd-i386/cvs-libpthread.so.diff
similarity index 51%
rename from debian/patches/hurd-i386/unsubmitted-libpthread.so.diff
rename to debian/patches/hurd-i386/cvs-libpthread.so.diff
index 33bb159..921c6ed 100644
--- a/debian/patches/hurd-i386/unsubmitted-libpthread.so.diff
+++ b/debian/patches/hurd-i386/cvs-libpthread.so.diff
@@ -2,11 +2,11 @@ Hardcoded nptl path...
 
 https://sourceware.org/ml/libc-alpha/2016-03/msg00437.html
 
-Index: glibc-2.23/malloc/Makefile
-===
 glibc-2.23.orig/malloc/Makefile
-+++ glibc-2.23/malloc/Makefile
-@@ -46,12 +46,12 @@ extra-libs-others = $(extra-libs)
+diff --git a/malloc/Makefile b/malloc/Makefile
+index 360288b..59d4264 100644
+--- a/malloc/Makefile
 b/malloc/Makefile
+@@ -46,12 +46,9 @@ extra-libs-others = $(extra-libs)
  libmemusage-routines = memusage
  libmemusage-inhibit-o = $(filter-out .os,$(object-suffixes))
  
@@ -16,12 +16,9 @@ Index: glibc-2.23/malloc/Makefile
 - $(common-objpfx)nptl/libpthread_nonshared.a
 -$(objpfx)tst-malloc-thread-fail: $(common-objpfx)nptl/libpthread.so \
 - $(common-objpfx)nptl/libpthread_nonshared.a
-+$(objpfx)tst-malloc-backtrace: $(common-objpfx)libpthread/libpthread.so \
-+ $(common-objpfx)libpthread/libpthread.a
-+$(objpfx)tst-malloc-thread-exit: $(common-objpfx)libpthread/libpthread.so \
-+ $(common-objpfx)libpthread/libpthread.a
-+$(objpfx)tst-malloc-thread-fail: $(common-objpfx)libpthread/libpthread.so \
-+ $(common-objpfx)libpthread/libpthread.a
++$(objpfx)tst-malloc-backtrace: $(shared-thread-library)
++$(objpfx)tst-malloc-thread-exit: $(shared-thread-library)
++$(objpfx)tst-malloc-thread-fail: $(shared-thread-library)
  
  # These should be removed by `make clean'.
  extra-objs = mcheck-init.o libmcheck.a
diff --git a/debian/patches/series b/debian/patches/series
index da42d63..258a11e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -141,6 +141,7 @@ hurd-i386/local-ihash-use.diff
 hurd-i386/cvs-errnos.d.diff
 hurd-i386/cvs-mach-syscalls.mk.diff
 hurd-i386/local-versions.diff
+hurd-i386/cvs-libpthread.so.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff
diff --git a/debian/patches/series.hurd-i386 b/debian/patches/series.hurd-i386
index b7cb1b0..4629e1b 100644
--- a/debian/patches/series.hurd-i386
+++ b/debian/patches/series.hurd-i386
@@ -12,4 +12,3 @@ hurd-i386/tg-pagesize.diff
 hurd-i386/local-no-bootstrap-fs-access.diff
 hurd-i386/unsubmitted-timer_routines.diff 
 hurd-i386/local-versions-hack.diff
-hurd-i386/unsubmitted-libpthread.so.diff

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



[glibc] branch glibc-2.23 updated (7e8241e -> be8dbc9)

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

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

  from  7e8241e   debian/patches/git-updates.diff: update from upstream 
stable branch.
   new  e9e5bb8   hurd-i386/local-versions.diff: New patch to fix symbol 
version
   new  be8dbc9   Merge branch 'glibc-2.23' of 
ssh://git.debian.org/git/pkg-glibc/glibc into glibc-2.23

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/local-versions.diff | 15 +++
 debian/patches/series|  1 +
 3 files changed, 17 insertions(+)
 create mode 100644 debian/patches/hurd-i386/local-versions.diff

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



[glibc] 01/02: hurd-i386/local-versions.diff: New patch to fix symbol version

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

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

commit e9e5bb8f0b2662de06590164c9c03574ebb552cb
Author: Samuel Thibault 
Date:   Mon Mar 21 21:58:43 2016 +

hurd-i386/local-versions.diff: New patch to fix symbol version
---
 debian/changelog |  1 +
 debian/patches/hurd-i386/local-versions.diff | 15 +++
 debian/patches/series|  1 +
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f974d52..98e41e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ glibc (2.23-0experimental1) UNRELEASED; urgency=medium
   * hurd-i386/cvs-pt-kill.diff: Fix pthread_kill locking.
   * hurd-i386/cvs-open.diff: Fix __open in ld.so, thus fixing dlopen().
   * hurd-i386/cvs-c++-types.diff: Add expected c++-types.data.
+  * hurd-i386/local-versions.diff: New patch to fix symbol version.
 
   [ Adam Conrad ]
   * debian/patches/any/cvs-tst-malloc-thread-exit.diff: Backport fix from
diff --git a/debian/patches/hurd-i386/local-versions.diff 
b/debian/patches/hurd-i386/local-versions.diff
new file mode 100644
index 000..fd92c5e
--- /dev/null
+++ b/debian/patches/hurd-i386/local-versions.diff
@@ -0,0 +1,15 @@
+We introduced them in 2.21 in Debian
+
+Index: glibc-2.23/mach/Versions
+===
+--- glibc-2.23.orig/mach/Versions
 glibc-2.23/mach/Versions
+@@ -54,7 +54,7 @@ libc {
+ # This was always there, but not exported as it should have been.
+ mig_strncpy;
+   }
+-  GLIBC_2.23 {
++  GLIBC_2.21 {
+ __mach_host_self_;
+ mach_print;
+   }
diff --git a/debian/patches/series b/debian/patches/series
index f8ddd35..8dc58b0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -138,6 +138,7 @@ hurd-i386/cvs-aio_sigqueue.diff
 hurd-i386/cvs-pt-kill.diff
 hurd-i386/cvs-open.diff
 hurd-i386/cvs-c++-types.diff
+hurd-i386/local-versions.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

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



[glibc] 02/02: Merge branch 'glibc-2.23' of ssh://git.debian.org/git/pkg-glibc/glibc into glibc-2.23

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

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

commit be8dbc9749792b0e9706c19a6ed3797da06e
Merge: e9e5bb8 7e8241e
Author: Samuel Thibault 
Date:   Mon Mar 21 22:00:39 2016 +

Merge branch 'glibc-2.23' of ssh://git.debian.org/git/pkg-glibc/glibc into 
glibc-2.23

 debian/changelog   |  35 +++-
 debian/control |   3 +-
 debian/control.in/main |   3 +-
 debian/patches/any/cvs-resolver-leak.diff  |  29 ---
 debian/patches/any/submitted-resolver-leak.diff|  16 ++
 debian/patches/git-updates.diff| 226 -
 debian/patches/hurd-i386/cvs-errnos.d.diff |  30 +++
 debian/patches/hurd-i386/cvs-mach-syscalls.mk.diff |  21 ++
 debian/patches/hurd-i386/local-ihash-use.diff  |  13 ++
 debian/patches/hurd-i386/tg-sendmsg-SCM_CREDS.diff |  29 ++-
 .../patches/hurd-i386/tg-sendmsg-SCM_RIGHTS.diff   |  61 +++---
 debian/patches/localedata/fr_CA-first_weekday.diff |  15 --
 debian/patches/series  |   5 +-
 debian/rules   |   6 +
 debian/rules.d/build.mk|  45 +++-
 debian/testsuite-xfail-debian.mk   |  12 +-
 16 files changed, 445 insertions(+), 104 deletions(-)

diff --cc debian/changelog
index 98e41e4,af7b7e6..a0045d1
--- a/debian/changelog
+++ b/debian/changelog
@@@ -20,7 -21,9 +21,10 @@@ glibc (2.23-0experimental1) UNRELEASED
* hurd-i386/cvs-pt-kill.diff: Fix pthread_kill locking.
* hurd-i386/cvs-open.diff: Fix __open in ld.so, thus fixing dlopen().
* hurd-i386/cvs-c++-types.diff: Add expected c++-types.data.
+   * hurd-i386/local-ihash-use.diff: Note that libpthread uses ihash.h.
+   * testsuite-xfail-debian.mk: Add failing new tests. Disable the problematic
+ test-lfs test.
 +  * hurd-i386/local-versions.diff: New patch to fix symbol version.
  
[ Adam Conrad ]
* debian/patches/any/cvs-tst-malloc-thread-exit.diff: Backport fix from
diff --cc debian/patches/series
index 8dc58b0,7d8c298..da42d63
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -138,7 -137,9 +137,10 @@@ hurd-i386/cvs-aio_sigqueue.dif
  hurd-i386/cvs-pt-kill.diff
  hurd-i386/cvs-open.diff
  hurd-i386/cvs-c++-types.diff
+ hurd-i386/local-ihash-use.diff
+ hurd-i386/cvs-errnos.d.diff
+ hurd-i386/cvs-mach-syscalls.mk.diff
 +hurd-i386/local-versions.diff
  
  i386/local-biarch.diff
  i386/local-cmov.diff

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



<    4   5   6   7   8   9   10   11   12   13   >