[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



Bug#826987: marked as done (gcc-6: __builtin_cpu_supports() doesn't work on powerpc)

2016-07-06 Thread Debian Bug Tracking System
Your message dated Thu, 7 Jul 2016 08:21:15 +0200
with message-id 

and subject line Re: Bug#826987: gcc-6: __builtin_cpu_supports() doesn't work 
on powerpc
has caused the Debian Bug report #826987,
regarding gcc-6: __builtin_cpu_supports() doesn't work on powerpc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
826987: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826987
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-6
Version: 6.1.1-6
Severity: normal

Hi!
According to the documentation: (gcc-6.info.gz)PowerPC Built-in Functions
__builtin_cpu_supports() can be used for detection of a number of CPU
features, such as altivec.  This is same as that function on x86, other
than understandably a different list of features.  The documentation
lists no caveats or other hoops that one needs to jump through to get
the function to work.

Thus, per analogy to x86, I expect the following code to work:
.--[ altivec.c ]
int main()
{
__builtin_cpu_init(); // no-op on powerpc anyway
return !__builtin_cpu_supports("altivec");
}
`
yet it always returns false.  I've tested both in qemu:
QEMU_CPU=7457_v1.2 ./altivec;echo $?  # should succeed
QEMU_CPU=401 ./altivec2;echo $?   # should fail
and on real hardware (partch.debian.org) whose /proc/cpuinfo says:
cpu : POWER7 (architected), altivec supported

On the other hand, detection via a "boom instruction" works:
.--[ altivec2.c ]
int main()
{
asm("vsldoi %v1,%v1,%v1,0"); // or SIGILL
return 0;
}
`

Any other feature supposed to be supported by __builtin_cpu_supports() that
I tested also fails, including "mmu" or "ppc32" which should be true on
every powerpc machine that can run Linux.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 4.6.0+ (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages gcc-6 depends on:
ii  binutils  2.26-10
ii  cpp-6 6.1.1-6
ii  gcc-6-base6.1.1-6
ii  libatomic16.1.1-6
ii  libc6 2.22-11
ii  libcc1-0  6.1.1-6
ii  libgcc-6-dev  6.1.1-6
ii  libgcc1   1:6.1.1-6
ii  libgmp10  2:6.1.0+dfsg-2
ii  libisl15  0.17.1-1
ii  libmpc3   1.0.3-1
ii  libmpfr4  3.1.4-2
ii  libstdc++66.1.1-6
ii  zlib1g1:1.2.8.dfsg-2+b1

Versions of packages gcc-6 recommends:
ii  libc6-dev  2.22-11

Versions of packages gcc-6 suggests:
pn  gcc-6-doc 
pn  gcc-6-locales 
pn  gcc-6-multilib
pn  libasan3-dbg  
pn  libatomic1-dbg
pn  libcilkrts5-dbg   
pn  libgcc1-dbg   
pn  libgomp1-dbg  
pn  libitm1-dbg   
pn  liblsan0-dbg  
pn  libmpx2-dbg   
pn  libquadmath0-dbg  
pn  libtsan0-dbg  
pn  libubsan0-dbg 

-- no debconf information
--- End Message ---
--- Begin Message ---
reassign 826987 src:glibc 2.22-13
affects src:gcc-6
fixed 826987 2.23-1
thanks

On Wed, Jul 6, 2016 at 8:46 AM, Mathieu Malaterre  wrote:
> Control: forwarded -1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71777
>
> On Tue, Jul 5, 2016 at 10:09 PM, Adam Borowski  wrote:
>> On Tue, Jul 05, 2016 at 08:31:24AM +0200, Mathieu Malaterre wrote:
>>> I cannot see the builtin mentionned anywhere other than on the X86 page:
>>>
>>> X86 (ok):
>>> https://gcc.gnu.org/onlinedocs/gcc-6.1.0/gcc/x86-Built-in-Functions.html#index-g_t_005f_005fbuiltin_005fcpu_005finit-4335
>>>
>>> PowerPC (nothing found):
>>> https://gcc.gnu.org/onlinedocs/gcc-6.1.0/gcc/PowerPC-Built-in-Functions.html#PowerPC-Built-in-Functions
>>
>> It's in the third dash point:
>
> how could I missed that...
>
> [...]
>
>> Should I try asking upstream?
>
> done. I've not tested it on ppc64el.

Indeed:

malat@partch ~ % /lib64/libc-2.23.so
GNU C Library (Debian GLIBC 2.23-1) stable release version 2.23, by
Roland McGrath et al.
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 5.4.0 20160609.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
.

So we need both gcc-6 and glibc ≥ 2.23--- End Message ---


Processed (with 1 error): Re: Bug#826987: gcc-6: __builtin_cpu_supports() doesn't work on powerpc

2016-07-06 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 826987 src:glibc 2.22-13
Bug #826987 [gcc-6] gcc-6: __builtin_cpu_supports() doesn't work on powerpc
Bug reassigned from package 'gcc-6' to 'src:glibc'.
No longer marked as found in versions gcc-6/6.1.1-6.
Ignoring request to alter fixed versions of bug #826987 to the same values 
previously set
Bug #826987 [src:glibc] gcc-6: __builtin_cpu_supports() doesn't work on powerpc
Marked as found in versions glibc/2.22-13.
> affects src:gcc-6
Unknown command or malformed arguments to command.
> fixed 826987 2.23-1
Bug #826987 [src:glibc] gcc-6: __builtin_cpu_supports() doesn't work on powerpc
Marked as fixed in versions glibc/2.23-1.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
826987: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826987
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



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

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

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

  from  f5a61c1   hurd: expose __register_atfork
   new  e0e645e   debian/patches/kfreebsd/local-sysdeps.diff, 
local-fbtl.diff: update to revision 6083 (from glibc-bsd).

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/kfreebsd/local-fbtl.diff| 67 +-
 debian/patches/kfreebsd/local-sysdeps.diff | 44 ++--
 3 files changed, 62 insertions(+), 51 deletions(-)

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



[glibc] 01/01: debian/patches/kfreebsd/local-sysdeps.diff, local-fbtl.diff: update to revision 6083 (from glibc-bsd).

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

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

commit e0e645e1fdb7cbe5f3e8ceefd4b2a3b5194a7f2d
Author: Aurelien Jarno 
Date:   Wed Jul 6 23:38:32 2016 +0200

debian/patches/kfreebsd/local-sysdeps.diff, local-fbtl.diff: update to 
revision 6083 (from glibc-bsd).
---
 debian/changelog   |  2 +
 debian/patches/kfreebsd/local-fbtl.diff| 67 +-
 debian/patches/kfreebsd/local-sysdeps.diff | 44 ++--
 3 files changed, 62 insertions(+), 51 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index af6ef7b..9acc43b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,8 @@ glibc (2.23.90+20160507.87523e9-2) UNRELEASED; urgency=medium
 and an explanation.
   * debian/testsuite-xfail-debian.mk: do not allow math/test-fenv to
 fail now that we do not have Loongson 2 buildds anymore.
+  * debian/patches/kfreebsd/local-sysdeps.diff, local-fbtl.diff:
+update to revision 6083 (from glibc-bsd).
 
  -- Aurelien Jarno   Tue, 05 Jul 2016 20:50:17 +0200
 
diff --git a/debian/patches/kfreebsd/local-fbtl.diff 
b/debian/patches/kfreebsd/local-fbtl.diff
index 173c3ac..01a6eb6 100644
--- a/debian/patches/kfreebsd/local-fbtl.diff
+++ b/debian/patches/kfreebsd/local-fbtl.diff
@@ -25799,7 +25799,7 @@
 +strong_alias (__pthread_mutex_trylock, pthread_mutex_trylock)
 --- /dev/null
 +++ b/fbtl/pthread_mutex_unlock.c
-@@ -0,0 +1,301 @@
+@@ -0,0 +1,312 @@
 +/* Copyright (C) 2002-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +   Contributed by Ulrich Drepper , 2002.
@@ -26018,20 +26018,31 @@
 +  /* One less user.  */
 +  --mutex->__data.__nusers;
 +
-+  /* Unlock.  */
-+  if ((mutex->__data.__lock & FUTEX_WAITERS) != 0
-+|| atomic_compare_and_exchange_bool_rel (&mutex->__data.__lock, 0,
-+ THREAD_GETMEM (THREAD_SELF,
-+tid)))
++  /* Unlock.  Load all necessary mutex data before releasing the mutex
++   to not violate the mutex destruction requirements (see
++   lll_unlock).  */
++  int robust = mutex->__data.__kind & PTHREAD_MUTEX_ROBUST_NORMAL_NP;
++  int private = (robust
++   ? PTHREAD_ROBUST_MUTEX_PSHARED (mutex)
++   : PTHREAD_MUTEX_PSHARED (mutex));
++  /* Unlock the mutex using a CAS unless there are futex waiters or our
++   TID is not the value of __lock anymore, in which case we let the
++   kernel take care of the situation.  Use release MO in the CAS to
++   synchronize with acquire MO in lock acquisitions.  */
++  int l = atomic_load_relaxed (&mutex->__data.__lock);
++  do
 +  {
-+int robust = mutex->__data.__kind & PTHREAD_MUTEX_ROBUST_NORMAL_NP;
-+int private = (robust
-+   ? PTHREAD_ROBUST_MUTEX_PSHARED (mutex)
-+   : PTHREAD_MUTEX_PSHARED (mutex));
-+INTERNAL_SYSCALL_DECL (__err);
-+INTERNAL_SYSCALL (futex, __err, 2, &mutex->__data.__lock,
-+  __lll_private_flag (FUTEX_UNLOCK_PI, private));
++if (((l & FUTEX_WAITERS) != 0)
++|| (l != THREAD_GETMEM (THREAD_SELF, tid)))
++  {
++INTERNAL_SYSCALL_DECL (__err);
++INTERNAL_SYSCALL (futex, __err, 2, &mutex->__data.__lock,
++  __lll_private_flag (FUTEX_UNLOCK_PI, private));
++break;
++  }
 +  }
++  while (!atomic_compare_exchange_weak_release (&mutex->__data.__lock,
++  &l, 0));
 +
 +  THREAD_SETMEM (THREAD_SELF, robust_head.list_op_pending, NULL);
 +  break;
@@ -30410,7 +30421,7 @@
 +#endif
 --- /dev/null
 +++ b/fbtl/sysdeps/i386/tls.h
-@@ -0,0 +1,471 @@
+@@ -0,0 +1,459 @@
 +/* Definition for thread-local data handling.  nptl/i386 version.
 +   Copyright (C) 2002-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -30441,19 +30452,7 @@
 +# include 
 +# include 
 +# include 
-+
-+
-+/* Type for the dtv.  */
-+typedef union dtv
-+{
-+  size_t counter;
-+  struct
-+  {
-+void *val;
-+bool is_static;
-+  } pointer;
-+} dtv_t;
-+
++# include 
 +
 +typedef struct
 +{
@@ -35944,7 +35943,7 @@
 +TCB_PTHREAD_CANCELED   PTHREAD_CANCELED
 --- /dev/null
 +++ b/fbtl/sysdeps/x86_64/tls.h
-@@ -0,0 +1,389 @@
+@@ -0,0 +1,379 @@
 +/* Definition for thread-local data handling.  nptl/x86_64 version.
 +   Copyright (C) 2002-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -35975,6 +35974,7 @@
 +# include 
 +# include 
 +# include 
++# include 
 +
 +/* Replacement type for __m128 since this file is included by ld.so,
 +   which is compiled with -mno-sse.  It must not change the alignment
@@ -35985,17 +35985,6 @@
 +} __128bits;
 +
 +
-+/

[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 (3d0e0d9 -> eb73cfa)

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

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

  from  3d0e0d9   patches/hurd-i386/cvs-PTR_MANGLE.diff: New patch to fix 
build
   new  1b0a2b7   debian/testsuite-xfail-debian.mk: allow 
conform/XPG3/sys/stat.h and conform/XPG4/sys/stat.h to fail on mips and mipsel, 
similarly to the others sys/stat.h conform tests. Group all theses entries and 
an explanation.
   new  eb73cfa   debian/testsuite-xfail-debian.mk: do not allow 
math/test-fenv to fail now that we do not have Loongson 2 buildds anymore.

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

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



[glibc] 01/02: debian/testsuite-xfail-debian.mk: allow conform/XPG3/sys/stat.h and conform/XPG4/sys/stat.h to fail on mips and mipsel, similarly to the others sys/stat.h conform tests. Group all these

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

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

commit 1b0a2b7ad74e8a482ca7363230eb11cf7f23626e
Author: Aurelien Jarno 
Date:   Wed Jul 6 18:21:28 2016 +0200

debian/testsuite-xfail-debian.mk: allow conform/XPG3/sys/stat.h and 
conform/XPG4/sys/stat.h to fail on mips and mipsel, similarly to the others 
sys/stat.h conform tests. Group all theses entries and an explanation.
---
 debian/changelog |  6 ++
 debian/testsuite-xfail-debian.mk | 21 ++---
 2 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3f6b941..f981eba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,12 @@ 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 ]
+  * debian/testsuite-xfail-debian.mk: allow conform/XPG3/sys/stat.h
+and conform/XPG4/sys/stat.h to fail on mips and mipsel, similarly
+to the others sys/stat.h conform tests. Group all theses entries
+and an explanation.
+
  -- Aurelien Jarno   Tue, 05 Jul 2016 20:50:17 +0200
 
 glibc (2.23.90+20160507.87523e9-1) experimental; urgency=medium
diff --git a/debian/testsuite-xfail-debian.mk b/debian/testsuite-xfail-debian.mk
index eee46ac..e018bfb 100644
--- a/debian/testsuite-xfail-debian.mk
+++ b/debian/testsuite-xfail-debian.mk
@@ -1185,14 +1185,26 @@ endif
 
 
 ##
-# mips
+# mips/mipsel
 ##
-ifeq ($(config-machine)-$(config-os),mips-linux-gnu)
+ifneq (,$(filter $(config-machine)-$(config-os), mips-linux-gnu 
mipsel-linux-gnu))
+# These tests fails because the o32 ABI defines stat.st_dev as unsigned
+# long int instead of dev_t for historical reasons. This can not be changed
+# anymore without breaking the ABI.
 test-xfail-POSIX2008/sys/stat.h/conform = yes
 test-xfail-POSIX/sys/stat.h/conform = yes
 test-xfail-UNIX98/sys/stat.h/conform = yes
 test-xfail-XOPEN2K8/sys/stat.h/conform = yes
 test-xfail-XOPEN2K/sys/stat.h/conform = yes
+test-xfail-XPG3/sys/stat.h/conform = yes
+test-xfail-XPG4/sys/stat.h/conform = yes
+endif
+
+
+##
+# mips
+##
+ifeq ($(config-machine)-$(config-os),mips-linux-gnu)
 test-xfail-tst-audit1 = yes
 test-xfail-tst-audit2 = yes
 test-xfail-tst-audit8 = yes
@@ -1208,11 +1220,6 @@ endif
 # mipsel
 ##
 ifeq ($(config-machine)-$(config-os),mipsel-linux-gnu)
-test-xfail-POSIX2008/sys/stat.h/conform = yes
-test-xfail-POSIX/sys/stat.h/conform = yes
-test-xfail-UNIX98/sys/stat.h/conform = yes
-test-xfail-XOPEN2K8/sys/stat.h/conform = yes
-test-xfail-XOPEN2K/sys/stat.h/conform = yes
 test-xfail-test-fenv = yes
 test-xfail-tst-audit1 = yes
 test-xfail-tst-audit2 = yes

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



[glibc] 02/02: debian/testsuite-xfail-debian.mk: do not allow math/test-fenv to fail now that we do not have Loongson 2 buildds anymore.

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

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

commit eb73cfa5a7288844ab175990085865c5e070d488
Author: Aurelien Jarno 
Date:   Wed Jul 6 18:21:28 2016 +0200

debian/testsuite-xfail-debian.mk: do not allow math/test-fenv to fail now 
that we do not have Loongson 2 buildds anymore.
---
 debian/changelog | 2 ++
 debian/testsuite-xfail-debian.mk | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f981eba..04663ce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ glibc (2.23.90+20160507.87523e9-2) UNRELEASED; urgency=medium
 and conform/XPG4/sys/stat.h to fail on mips and mipsel, similarly
 to the others sys/stat.h conform tests. Group all theses entries
 and an explanation.
+  * debian/testsuite-xfail-debian.mk: do not allow math/test-fenv to
+fail now that we do not have Loongson 2 buildds anymore.
 
  -- Aurelien Jarno   Tue, 05 Jul 2016 20:50:17 +0200
 
diff --git a/debian/testsuite-xfail-debian.mk b/debian/testsuite-xfail-debian.mk
index e018bfb..5eb30ad 100644
--- a/debian/testsuite-xfail-debian.mk
+++ b/debian/testsuite-xfail-debian.mk
@@ -1220,7 +1220,6 @@ endif
 # mipsel
 ##
 ifeq ($(config-machine)-$(config-os),mipsel-linux-gnu)
-test-xfail-test-fenv = yes
 test-xfail-tst-audit1 = yes
 test-xfail-tst-audit2 = yes
 test-xfail-tst-audit8 = yes
@@ -1256,7 +1255,6 @@ endif
 # mipsn32el
 ##
 ifeq ($(config-machine)-$(config-os),mips64el-linux-gnuabin32)
-test-xfail-test-fenv = yes
 test-xfail-tst-audit1 = yes
 test-xfail-tst-audit2 = yes
 test-xfail-tst-audit8 = yes

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



Breaking News: New Game-Changing Trolling Motor from Minn Kota; Video: Painting with Gunpowder

2016-07-06 Thread OutdoorHub
To view this mail in a browser, copy 
http://links.outdoorhub.mkt5196.com/servlet/MailView?ms=NTE3NzAwNTIS1&r=NDcyMzY2MjEwOTkS1&j=OTYwNzcwODE5S0&mt=1&rt=0
 into your browser.
OutdoorHub Daily Newswire

Chevy Silverado



Front Page

Breaking News: New Game-Changing Trolling Motor from Minn Kota
By: OutdoorHub Reporters
Minn Kota has just released a 40-second video tease showing the new bow-mount 
trolling motor it plans to unveil next week at the 2016 ICAST industry-only 
fishing show.

Anyone who is familiar with bow-mount trolling motors, and specifically those 
offered by Minn Kota, can quickly see by watching this...

Read More: 
http://links.outdoorhub.mkt5196.com/ctt?kn=12&ms=NTE3NzAwNTIS1&r=NDcyMzY2MjEwOTkS1&b=2&j=OTYwNzcwODE5S0&mt=1&rt=0
 

FWC Offers Grants to Encourage High School Fishing
By: OutdoorHub Reporters
We all want to see our children find something they love to do that will allow 
them to grow and thrive. Since the interests of each individual can vary 
widely, it is important to provide opportunities that cater to every taste. 
That is where fishing comes into play.

The Florida Fish and Wildlife Conservation...

Read More: 
http://links.outdoorhub.mkt5196.com/ctt?kn=19&ms=NTE3NzAwNTIS1&r=NDcyMzY2MjEwOTkS1&b=2&j=OTYwNzcwODE5S0&mt=1&rt=0
 

Teen Angler Catches Rare Golden Piebald Tarpon in Florida
By: Daniel Xu
When it comes to sheer odds, catching a golden piebald tarpon is about as rare 
as it gets. Catching one that weighs more than 100 pounds? Well, that'll get 
your name into some tall tales for years to come. According to Flyliner 
Charters, 16-year-old Will Chapman caught this large golden tarpon while...

Read More: 
http://links.outdoorhub.mkt5196.com/ctt?kn=24&ms=NTE3NzAwNTIS1&r=NDcyMzY2MjEwOTkS1&b=2&j=OTYwNzcwODE5S0&mt=1&rt=0
 

Video: Gun vs. Bow Accuracy Test
By: Daniel Xu
This is an age-old matchup that the bow probably hasn't won since muzzleloaders 
were invented. Just don't let any amateur historians catch you saying that, or 
they might be liable to chew your ear off with all the reasons why it wasn't 
until much later that firearms truly surpassed bows in modern warfare.

However,...

Read More: 
http://links.outdoorhub.mkt5196.com/ctt?kn=30&ms=NTE3NzAwNTIS1&r=NDcyMzY2MjEwOTkS1&b=2&j=OTYwNzcwODE5S0&mt=1&rt=0
 

EXCLUSIVE INTERVIEW: Tennessee Country Rapper Smo Talks Music and Guns
By: OutdoorHub Social
We got a chance to chat with country rapper Smo this week. While we were 
chatting he was driving to a 4th of July mudding festival. You can read the 
interview and watch his new video below.

OutdoorHub:  Hey, great to have you on the phone. Let’s start by talking about 
the new vieo "We The...

Read More: 
http://links.outdoorhub.mkt5196.com/ctt?kn=9&ms=NTE3NzAwNTIS1&r=NDcyMzY2MjEwOTkS1&b=2&j=OTYwNzcwODE5S0&mt=1&rt=0
 

INFOGRAPHIC: Concealed Carry 101
By: Outdoor Hub Staff
Before you start carrying a concealed pistol there are several important things 
you need to take into consideration. If even one of those things is off, you 
could be facing a big issue.

Ultimately the decision to concealed carry may even require a lifestyle change 
– not only do you need to consider...

Read More: 
http://links.outdoorhub.mkt5196.com/ctt?kn=10&ms=NTE3NzAwNTIS1&r=NDcyMzY2MjEwOTkS1&b=2&j=OTYwNzcwODE5S0&mt=1&rt=0
 

22plinkster Video: Celebrating Independence Day with a Henry .22LR and 100 
Balloons
By: OutdoorHub Reporters
With America’s birthday upon us, what better way to celebrate the land of the 
free and the home of the brave than with a Henry .22LR Carbine and 100 
balloons? In the video below, popular YouTube shooter 22plinkster does just 
that.

As the Star-Spangled Banner is played on a guitar nearby, balloons...

Read More: 
http://links.outdoorhub.mkt5196.com/ctt?kn=17&ms=NTE3NzAwNTIS1&r=NDcyMzY2MjEwOTkS1&b=2&j=OTYwNzcwODE5S0&mt=1&rt=0
 

Video: Painting with Gunpowder
By: OutdoorHub Reporters
Wood burning art has come more and more to the forefront over the years as 
technology has improved and ideas have developed, but you would be hard-pressed 
to find something like what Danny Shervin is doing.

Shervin, who is from Jackson Hole, Wyoming, is the artist behind Paint with 
Gunpowder, where...

Read More: 
http://links.outdoorhub.mkt5196.com/ctt?kn=2&ms=NTE3NzAwNTIS1&r=NDcyMzY2MjEwOTkS1&b=2&j=OTYwNzcwODE5S0&mt=1&rt=0
 

OutdoorHub Videos 
Ironworker 
Meet Chris, one tough Boston ironworker. You won’t believe the grueling tasks 
he has to accomplish e 
 
http://links.outdoorhub.mkt5196.com/ctt?kn=5&ms=NTE3NzAwNTIS1&r=NDcyMzY2MjEwOTkS1&b=2&j=OTYwNzcwODE5S0&mt=1&rt=0
 
- 
Engine Block Ballistic Gel Test 
I poured ballistic gel into the cylinders of an engine block and shot them with 
four different round 
 
http://links.outdoorhub.mkt5196.com/ctt?kn=25&ms=NTE3NzAwNTIS1&r=NDcyMzY2MjEwOTkS1&b=2&j=OTYwNzcwODE5S0&mt=1&rt=0
 
- 
No One Fights Alone Part 1 
Jordan and Matt take out a special friend that is fighting his own battles 
against cancer.  Watch th 
 
http://l

[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
 hurd-i386/tg-faccessat.diff
 hurd-i