[glibc] branch sid updated (e6d4304 -> 26eeb93)

2017-10-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  e6d4304   hurd: Complete MONOTONIC patch with clock_getres() and 
clock_settime()
   new  26eeb93   hurd: revert clock_settime(MONOTONIC) patch, it's 
supposed to fail

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 | 12 
 2 files changed, 1 insertion(+), 13 deletions(-)

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



[glibc] branch glibc-2.26 updated (49ba715 -> 7d3bc92)

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

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

  from  49ba715   Merge branch 'sid' into glibc-2.26
  adds  26eeb93   hurd: revert clock_settime(MONOTONIC) patch, it's 
supposed to fail
   new  7d3bc92   Merge branch 'sid' into glibc-2.26

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 | 12 
 2 files changed, 1 insertion(+), 13 deletions(-)

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



[glibc] branch glibc-2.25 updated (09860e1 -> 8fb970f)

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

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

  from  09860e1   Merge branch 'sid' into glibc-2.25
  adds  26eeb93   hurd: revert clock_settime(MONOTONIC) patch, it's 
supposed to fail
   new  8fb970f   Merge branch 'sid' into glibc-2.25

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 | 12 
 2 files changed, 1 insertion(+), 13 deletions(-)

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



[glibc] 01/01: Merge branch 'sid' into glibc-2.26

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

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

commit 7d3bc921deb7010df247e2cca9655c3f6a5f241a
Merge: 49ba715 26eeb93
Author: Samuel Thibault 
Date:   Thu Oct 12 07:30:45 2017 +0200

Merge branch 'sid' into glibc-2.26

 debian/changelog|  2 +-
 debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff | 12 
 2 files changed, 1 insertion(+), 13 deletions(-)


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



[glibc] 01/01: Merge branch 'sid' into glibc-2.25

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

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

commit 8fb970f16e0631bcc7e552c21b71d99e9ded4fe3
Merge: 09860e1 26eeb93
Author: Samuel Thibault 
Date:   Thu Oct 12 07:30:53 2017 +0200

Merge branch 'sid' into glibc-2.25

 debian/changelog|  2 +-
 debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff | 12 
 2 files changed, 1 insertion(+), 13 deletions(-)


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



[glibc] 01/01: hurd: revert clock_settime(MONOTONIC) patch, it's supposed to fail

2017-10-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 26eeb93d1826bf5a56b89ac4d161f982ab7314c7
Author: Samuel Thibault 
Date:   Thu Oct 12 07:29:55 2017 +0200

hurd: revert clock_settime(MONOTONIC) patch, it's supposed to fail
---
 debian/changelog|  2 +-
 debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff | 12 
 2 files changed, 1 insertion(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 18c598d..1035731 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,7 +5,7 @@ glibc (2.24-18) UNRELEASED; urgency=medium
   * patches/hurd-i386/tg-hurdsig-SA_SIGINFO.diff: Always define SA_SIGINFO.
   * patches/hurd-i386/local-no_unsupported_ioctls.diff: New patch.
   * patches/hurd-i386/local-clock_gettime_MONOTONIC.diff: Complete with
-clock_getres() and clock_settime().
+clock_getres().
 
   [ Svante Signell ]
   * patches/hurd-i386/submitted-exec_filename.diff: Update, fixes
diff --git a/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff 
b/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff
index 34920db..2ac7973 100644
--- a/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff
+++ b/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff
@@ -34,18 +34,6 @@ Index: glibc-2.24/sysdeps/posix/clock_getres.c
retval = realtime_getres (res);
break;
  #endif/* handled REALTIME */
-Index: glibc-2.24/sysdeps/unix/clock_settime.c
-===
 glibc-2.24.orig/sysdeps/unix/clock_settime.c
-+++ glibc-2.24/sysdeps/unix/clock_settime.c
-@@ -99,6 +99,7 @@ __clock_settime (clockid_t clock_id, con
- 
- #ifndef HANDLED_REALTIME
- case CLOCK_REALTIME:
-+case CLOCK_MONOTONIC:
-   HANDLE_REALTIME;
-   break;
- #endif
 Index: glibc-2.24/sysdeps/pthread/timer_create.c
 ===
 --- glibc-2.24.orig/sysdeps/pthread/timer_create.c

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



[glibc] branch glibc-2.26 updated (0ab7eef -> 49ba715)

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

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

  from  0ab7eef   Make debian/patches/any/local-cudacc-float128.diff apply 
to POWER too.
  adds  e6d4304   hurd: Complete MONOTONIC patch with clock_getres() and 
clock_settime()
   new  49ba715   Merge branch 'sid' into glibc-2.26

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

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



[glibc] branch glibc-2.25 updated (3a88705 -> 09860e1)

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

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

  from  3a88705   Merge branch 'sid' of 
ssh://git.debian.org/git/pkg-glibc/glibc into glibc-2.25
  adds  e6d4304   hurd: Complete MONOTONIC patch with clock_getres() and 
clock_settime()
   new  09860e1   Merge branch 'sid' into glibc-2.25

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

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



[glibc] branch sid updated (0eee2a9 -> e6d4304)

2017-10-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  0eee2a9   patches/hurd-i386/submitted-exec_filename.diff: Update
   new  e6d4304   hurd: Complete MONOTONIC patch with clock_getres() and 
clock_settime()

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

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



[glibc] 01/01: Merge branch 'sid' into glibc-2.26

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

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

commit 49ba715ee391cbac764d421b1eef33ba854794d2
Merge: 0ab7eef e6d4304
Author: Samuel Thibault 
Date:   Thu Oct 12 00:31:22 2017 +0200

Merge branch 'sid' into glibc-2.26

 debian/changelog   |  2 +
 .../hurd-i386/local-clock_gettime_MONOTONIC.diff   | 52 --
 2 files changed, 41 insertions(+), 13 deletions(-)


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



[glibc] 01/01: Merge branch 'sid' into glibc-2.25

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

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

commit 09860e1999bd83368a9aff24a2e103ff3344ba13
Merge: 3a88705 e6d4304
Author: Samuel Thibault 
Date:   Thu Oct 12 00:31:08 2017 +0200

Merge branch 'sid' into glibc-2.25

 debian/changelog   |  2 +
 .../hurd-i386/local-clock_gettime_MONOTONIC.diff   | 52 --
 2 files changed, 41 insertions(+), 13 deletions(-)


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



[glibc] 01/01: hurd: Complete MONOTONIC patch with clock_getres() and clock_settime()

2017-10-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 e6d430468fd6e5f2f67a742aacffcba13995affb
Author: Samuel Thibault 
Date:   Wed Oct 11 22:27:31 2017 +

hurd: Complete MONOTONIC patch with clock_getres() and clock_settime()
---
 debian/changelog   |  2 +
 .../hurd-i386/local-clock_gettime_MONOTONIC.diff   | 52 --
 2 files changed, 41 insertions(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 35245c9..18c598d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ glibc (2.24-18) UNRELEASED; urgency=medium
   * libc0.3.symbols.hurd-i386: Update with proc_set/get_exe RPCs.
   * patches/hurd-i386/tg-hurdsig-SA_SIGINFO.diff: Always define SA_SIGINFO.
   * patches/hurd-i386/local-no_unsupported_ioctls.diff: New patch.
+  * patches/hurd-i386/local-clock_gettime_MONOTONIC.diff: Complete with
+clock_getres() and clock_settime().
 
   [ Svante Signell ]
   * patches/hurd-i386/submitted-exec_filename.diff: Update, fixes
diff --git a/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff 
b/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff
index 368bd3a..34920db 100644
--- a/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff
+++ b/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff
@@ -10,21 +10,47 @@ former.
  sysdeps/mach/hurd/bits/posix_opt.h |2 +-
  sysdeps/unix/clock_gettime.c   |1 +
  2 files changed, 2 insertions(+), 1 deletion(-)
-Index: eglibc-2.16/sysdeps/unix/clock_gettime.c
+Index: glibc-2.24/sysdeps/unix/clock_gettime.c
 ===
 eglibc-2.16.orig/sysdeps/unix/clock_gettime.c  2012-07-23 
00:41:03.0 +0200
-+++ eglibc-2.16/sysdeps/unix/clock_gettime.c   2012-07-23 00:41:10.0 
+0200
-@@ -100,6 +100,7 @@
- #endif
+--- glibc-2.24.orig/sysdeps/unix/clock_gettime.c
 glibc-2.24/sysdeps/unix/clock_gettime.c
+@@ -101,6 +101,7 @@ __clock_gettime (clockid_t clock_id, str
  
  #ifndef HANDLED_REALTIME
-+case CLOCK_MONOTONIC:
  case CLOCK_REALTIME:
++case CLOCK_MONOTONIC:
{
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 @@
+   retval = gettimeofday (, NULL);
+Index: glibc-2.24/sysdeps/posix/clock_getres.c
+===
+--- glibc-2.24.orig/sysdeps/posix/clock_getres.c
 glibc-2.24/sysdeps/posix/clock_getres.c
+@@ -88,6 +88,7 @@ __clock_getres (clockid_t clock_id, stru
+ 
+ #ifndef HANDLED_REALTIME
+ case CLOCK_REALTIME:
++case CLOCK_MONOTONIC:
+   retval = realtime_getres (res);
+   break;
+ #endif/* handled REALTIME */
+Index: glibc-2.24/sysdeps/unix/clock_settime.c
+===
+--- glibc-2.24.orig/sysdeps/unix/clock_settime.c
 glibc-2.24/sysdeps/unix/clock_settime.c
+@@ -99,6 +99,7 @@ __clock_settime (clockid_t clock_id, con
+ 
+ #ifndef HANDLED_REALTIME
+ case CLOCK_REALTIME:
++case CLOCK_MONOTONIC:
+   HANDLE_REALTIME;
+   break;
+ #endif
+Index: glibc-2.24/sysdeps/pthread/timer_create.c
+===
+--- glibc-2.24.orig/sysdeps/pthread/timer_create.c
 glibc-2.24/sysdeps/pthread/timer_create.c
+@@ -48,7 +48,7 @@ timer_create (clockid_t clock_id, struct
return -1;
  }
  
@@ -33,10 +59,10 @@ Index: eglibc-2.16/sysdeps/unix/clock_gettime.c
  {
__set_errno (EINVAL);
return -1;
-Index: eglibc-2.16/sysdeps/mach/hurd/bits/posix_opt.h
+Index: glibc-2.24/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
-+++ eglibc-2.16/sysdeps/mach/hurd/bits/posix_opt.h 2012-07-23 
00:41:10.0 +0200
+--- glibc-2.24.orig/sysdeps/mach/hurd/bits/posix_opt.h
 glibc-2.24/sysdeps/mach/hurd/bits/posix_opt.h
 @@ -163,10 +163,10 @@
  #define _POSIX_THREAD_PROCESS_SHARED  -1
  
@@ -45,8 +71,8 @@ Index: eglibc-2.16/sysdeps/mach/hurd/bits/posix_opt.h
 +#define _POSIX_MONOTONIC_CLOCK200809L
  
 -/* The clock selection interfaces are available.  */
-+/* The clock selection interfaces are not really available yet.  */
 -#define _POSIX_CLOCK_SELECTION200809L
++/* The clock selection interfaces are not really available yet.  */
 +#define _POSIX_CLOCK_SELECTION-1
  
  /* Advisory information interfaces could be available in future.  */

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



[glibc] 01/01: Make debian/patches/any/local-cudacc-float128.diff apply to POWER too.

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

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

commit 0ab7eef2b89d372ad2c235f5cbf8f383958f68f4
Author: Adam Conrad 
Date:   Wed Oct 11 15:19:49 2017 -0600

Make debian/patches/any/local-cudacc-float128.diff apply to POWER too.
---
 debian/patches/any/local-cudacc-float128.diff | 11 +++
 1 file changed, 11 insertions(+)

diff --git a/debian/patches/any/local-cudacc-float128.diff 
b/debian/patches/any/local-cudacc-float128.diff
index 254a850..e01a35b 100644
--- a/debian/patches/any/local-cudacc-float128.diff
+++ b/debian/patches/any/local-cudacc-float128.diff
@@ -16,3 +16,14 @@ Last-Update: 2017-10-11
  # define __HAVE_FLOAT128 1
  #else
  # define __HAVE_FLOAT128 0
+--- glibc-2.26.orig/sysdeps/powerpc/bits/floatn.h
 glibc-2.26/sysdeps/powerpc/bits/floatn.h
+@@ -25,7 +25,7 @@
+floating-point type with the IEEE 754 binary128 format, and this glibc
+includes corresponding *f128 interfaces for it.  */
+ #if defined _ARCH_PWR8 && defined __LITTLE_ENDIAN__ && (_CALL_ELF == 2) \
+-&& defined __FLOAT128__
++&& defined __FLOAT128__ && !defined(__CUDACC__)
+ # define __HAVE_FLOAT128 1
+ #else
+ # define __HAVE_FLOAT128 0

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



[glibc] branch glibc-2.26 updated (a91100e -> 0ab7eef)

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

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

  from  a91100e   debian/patches/amd64/git-x86_64-search.diff: Backport 
upstream commit to put x86_64 back in the search path, like in 2.25 (LP: 
#1718928)
   new  0ab7eef   Make debian/patches/any/local-cudacc-float128.diff apply 
to POWER too.

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/any/local-cudacc-float128.diff | 11 +++
 1 file changed, 11 insertions(+)

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



[glibc] 01/01: debian/patches/amd64/git-x86_64-search.diff: Backport upstream commit to put x86_64 back in the search path, like in 2.25 (LP: #1718928)

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

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

commit a91100e8e200e1577e4c0df9d60c2e89df301956
Author: Adam Conrad 
Date:   Wed Oct 11 14:13:31 2017 -0600

debian/patches/amd64/git-x86_64-search.diff: Backport upstream commit to 
put x86_64 back in the search path, like in 2.25 (LP: #1718928)
---
 debian/changelog|   2 +
 debian/patches/amd64/git-x86_64-search.diff | 211 
 debian/patches/series   |   2 +
 3 files changed, 215 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8e797cb..a8138af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -32,6 +32,8 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium
   defining __HAVE_FLOAT128 on NVIDIA's CUDA compilers (LP: #1717257)
 - debian/patches/arm/git-arm64-memcmp.diff: Backport optimized memcmp
   for AArch64, improving performance from 25% to 500% (LP: #1720832)
+- debian/patches/amd64/git-x86_64-search.diff: Backport upstream commit
+  to put x86_64 back in the search path, like in 2.25 (LP: #1718928)
 - debian/control.in/libc: Drop ancient Breaks satisfied in oldoldstable.
 - debian/{debhelper.in/libc.preinst,sysdeps/amd64.mk,sysdeps/i386.mk}:
   Bump MIN_KERNEL_SUPPORTED to 3.2 on x86, following upstream's change.
diff --git a/debian/patches/amd64/git-x86_64-search.diff 
b/debian/patches/amd64/git-x86_64-search.diff
new file mode 100644
index 000..d78adb6
--- /dev/null
+++ b/debian/patches/amd64/git-x86_64-search.diff
@@ -0,0 +1,211 @@
+commit 45ff34638f034877b6a490c217d6a0632ce263f4
+Author: H.J. Lu 
+Date:   Mon Sep 11 08:18:11 2017 -0700
+
+x86: Add x86_64 to x86-64 HWCAP [BZ #22093]
+
+Before glibc 2.26, ld.so set dl_platform to "x86_64" and searched the
+"x86_64" subdirectory when loading a shared library.  ld.so in glibc
+2.26 was changed to set dl_platform to "haswell" or "xeon_phi", based
+on supported ISAs.  This led to shared library loading failure for
+shared libraries placed under the "x86_64" subdirectory.
+
+This patch adds "x86_64" to x86-64 dl_hwcap so that ld.so will always
+search the "x86_64" subdirectory when loading a shared library.
+
+NB: We can't set x86-64 dl_platform to "x86-64" since ld.so will skip
+the "haswell" and "xeon_phi" subdirectories on "haswell" and "xeon_phi"
+machines.
+
+Tested on i686 and x86-64.
+
+[BZ #22093]
+* sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
+GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
+* sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
+(HWCAP_IMPORTANT): Likewise.
+(HWCAP_X86_64): New enum.
+(HWCAP_X86_AVX512_1): Updated.
+* sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
+* sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
+(modules-names): Add x86_64/tst-x86_64mod-1.
+(LDFLAGS-tst-x86_64mod-1.so): New.
+($(objpfx)tst-x86_64-1): Likewise.
+($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
+(tst-x86_64-1-clean): Likewise.
+* sysdeps/x86_64/tst-x86_64-1.c: New file.
+* sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
+
+diff --git a/sysdeps/x86/cpu-features.c b/sysdeps/x86/cpu-features.c
+index 6f900840d4..c267f17b76 100644
+--- a/sysdeps/x86/cpu-features.c
 b/sysdeps/x86/cpu-features.c
+@@ -336,7 +336,6 @@ no_cpuid:
+ 
+   /* Reuse dl_platform, dl_hwcap and dl_hwcap_mask for x86.  */
+   GLRO(dl_platform) = NULL;
+-  GLRO(dl_hwcap) = 0;
+ #if !HAVE_TUNABLES && defined SHARED
+   /* The glibc.tune.hwcap_mask tunable is initialized already, so no need to 
do
+  this.  */
+@@ -344,6 +343,7 @@ no_cpuid:
+ #endif
+ 
+ #ifdef __x86_64__
++  GLRO(dl_hwcap) = HWCAP_X86_64;
+   if (cpu_features->kind == arch_kind_intel)
+ {
+   if (CPU_FEATURES_ARCH_P (cpu_features, AVX512F_Usable)
+@@ -374,6 +374,7 @@ no_cpuid:
+   GLRO(dl_platform) = "haswell";
+ }
+ #else
++  GLRO(dl_hwcap) = 0;
+   if (CPU_FEATURES_CPU_P (cpu_features, SSE2))
+ GLRO(dl_hwcap) |= HWCAP_X86_SSE2;
+ 
+diff --git a/sysdeps/x86/dl-hwcap.h b/sysdeps/x86/dl-hwcap.h
+index c95668415a..38627e9eef 100644
+--- a/sysdeps/x86/dl-hwcap.h
 b/sysdeps/x86/dl-hwcap.h
+@@ -24,15 +24,16 @@
+ # define HWCAP_PLATFORMS_START0
+ # define HWCAP_PLATFORMS_COUNT4
+ # define HWCAP_START  0
+-# define HWCAP_COUNT  2
+-# define HWCAP_IMPORTANT  (HWCAP_X86_SSE2 | HWCAP_X86_AVX512_1)
++# define HWCAP_COUNT  3
++# define HWCAP_IMPORTANT \
++  (HWCAP_X86_SSE2 | HWCAP_X86_64 | HWCAP_X86_AVX512_1)
+ #elif defined __x86_64__
+ /* For 64 bit, only cover x86-64 platforms and capabilities.  */
+ # define HWCAP_PLATFORMS_START2
+ # define 

[glibc] branch glibc-2.26 updated (d4f6d38 -> a91100e)

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

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

  from  d4f6d38   debian/patches/arm/git-arm64-memcmp.diff: Backport 
optimized memcmp for AArch64, improving performance from 25% to 500% (LP: 
#1720832)
   new  a91100e   debian/patches/amd64/git-x86_64-search.diff: Backport 
upstream commit to put x86_64 back in the search path, like in 2.25 (LP: 
#1718928)

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/amd64/git-x86_64-search.diff | 211 
 debian/patches/series   |   2 +
 3 files changed, 215 insertions(+)
 create mode 100644 debian/patches/amd64/git-x86_64-search.diff

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



[glibc] branch glibc-2.26 updated (925768d -> d4f6d38)

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

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

  from  925768d   debian/rules.d/debhelper.mk: Filter python hooks in 
stage1 (closes: #874491)
   new  d4f6d38   debian/patches/arm/git-arm64-memcmp.diff: Backport 
optimized memcmp for AArch64, improving performance from 25% to 500% (LP: 
#1720832)

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/arm/git-arm64-memcmp.diff | 232 +++
 debian/patches/series|   1 +
 3 files changed, 235 insertions(+)
 create mode 100644 debian/patches/arm/git-arm64-memcmp.diff

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



[glibc] 01/01: debian/patches/arm/git-arm64-memcmp.diff: Backport optimized memcmp for AArch64, improving performance from 25% to 500% (LP: #1720832)

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

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

commit d4f6d3805e95af3f6aaf47d16ed6eac7783391f4
Author: Adam Conrad 
Date:   Wed Oct 11 14:08:40 2017 -0600

debian/patches/arm/git-arm64-memcmp.diff: Backport optimized memcmp for 
AArch64, improving performance from 25% to 500% (LP: #1720832)
---
 debian/changelog |   2 +
 debian/patches/arm/git-arm64-memcmp.diff | 232 +++
 debian/patches/series|   1 +
 3 files changed, 235 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1356817..8e797cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -30,6 +30,8 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium
   agree with the sorting we see in Debian, may need another look.
 - debian/patches/any/local-cudacc-float128.diff: Local patch to prevent
   defining __HAVE_FLOAT128 on NVIDIA's CUDA compilers (LP: #1717257)
+- debian/patches/arm/git-arm64-memcmp.diff: Backport optimized memcmp
+  for AArch64, improving performance from 25% to 500% (LP: #1720832)
 - debian/control.in/libc: Drop ancient Breaks satisfied in oldoldstable.
 - debian/{debhelper.in/libc.preinst,sysdeps/amd64.mk,sysdeps/i386.mk}:
   Bump MIN_KERNEL_SUPPORTED to 3.2 on x86, following upstream's change.
diff --git a/debian/patches/arm/git-arm64-memcmp.diff 
b/debian/patches/arm/git-arm64-memcmp.diff
new file mode 100644
index 000..4b31caf
--- /dev/null
+++ b/debian/patches/arm/git-arm64-memcmp.diff
@@ -0,0 +1,232 @@
+commit 922369032c604b4dcfd535e1bcddd4687e7126a5
+Author: Wilco Dijkstra 
+Date:   Thu Aug 10 17:00:38 2017 +0100
+
+[AArch64] Optimized memcmp.
+
+This is an optimized memcmp for AArch64.  This is a complete rewrite
+using a different algorithm.  The previous version split into cases
+where both inputs were aligned, the inputs were mutually aligned and
+unaligned using a byte loop.  The new version combines all these cases,
+while small inputs of less than 8 bytes are handled separately.
+
+This allows the main code to be sped up using unaligned loads since
+there are now at least 8 bytes to be compared.  After the first 8 bytes,
+align the first input.  This ensures each iteration does at most one
+unaligned access and mutually aligned inputs behave as aligned.
+After the main loop, process the last 8 bytes using unaligned accesses.
+
+This improves performance of (mutually) aligned cases by 25% and
+unaligned by >500% (yes >6 times faster) on large inputs.
+
+* sysdeps/aarch64/memcmp.S (memcmp):
+Rewrite of optimized memcmp.
+
+diff --git a/sysdeps/aarch64/memcmp.S b/sysdeps/aarch64/memcmp.S
+index 4cfcb89297..b99c081bba 100644
+--- a/sysdeps/aarch64/memcmp.S
 b/sysdeps/aarch64/memcmp.S
+@@ -22,132 +22,98 @@
+ 
+ /* Assumptions:
+  *
+- * ARMv8-a, AArch64
++ * ARMv8-a, AArch64, unaligned accesses.
+  */
+ 
+ /* Parameters and result.  */
+ #define src1  x0
+ #define src2  x1
+ #define limit x2
+-#define resultx0
++#define resultw0
+ 
+ /* Internal variables.  */
+ #define data1 x3
+ #define data1ww3
+ #define data2 x4
+ #define data2ww4
+-#define has_nul   x5
+-#define diff  x6
+-#define endloop   x7
+-#define tmp1  x8
+-#define tmp2  x9
+-#define tmp3  x10
+-#define pos   x11
+-#define limit_wd  x12
+-#define mask  x13
++#define tmp1  x5
+ 
+ ENTRY_ALIGN (memcmp, 6)
+   DELOUSE (0)
+   DELOUSE (1)
+   DELOUSE (2)
+-  cbz limit, L(ret0)
+-  eor tmp1, src1, src2
+-  tst tmp1, #7
+-  b.neL(misaligned8)
+-  andstmp1, src1, #7
+-  b.neL(mutual_align)
+-  add limit_wd, limit, #7
+-  lsr limit_wd, limit_wd, #3
+-  /* Start of performance-critical section  -- one 64B cache line.  */
+-L(loop_aligned):
+-  ldr data1, [src1], #8
+-  ldr data2, [src2], #8
+-L(start_realigned):
+-  subslimit_wd, limit_wd, #1
+-  eor diff, data1, data2  /* Non-zero if differences found.  */
+-  csinv   endloop, diff, xzr, ne  /* Last Dword or differences.  */
+-  cbz endloop, L(loop_aligned)
+-  /* End of performance-critical section  -- one 64B cache line.  */
+-
+-  /* Not reached the limit, must have found a diff.  */
+-  cbnzlimit_wd, L(not_limit)
+-
+-  /* Limit % 8 == 0 => all bytes significant.  */
+-  andslimit, limit, #7
+-  b.eqL(not_limit)
+-
+-  lsl limit, limit, #3/* Bits -> bytes.  */
+-  mov mask, #~0
+-#ifdef __AARCH64EB__
+-  lsr mask, mask, limit
+-#else
+-  lsl mask, mask, limit
+-#endif
+-  bic 

[glibc] 01/01: debian/rules.d/debhelper.mk: Filter python hooks in stage1 (closes: #874491)

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

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

commit 925768db66d7ad97229253cd8258dc2545f6d708
Author: Adam Conrad 
Date:   Wed Oct 11 13:51:40 2017 -0600

debian/rules.d/debhelper.mk: Filter python hooks in stage1 (closes: #874491)
---
 debian/changelog| 3 +++
 debian/rules.d/debhelper.mk | 1 +
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 913b09f..1356817 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -44,6 +44,9 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium
 - debian/rules.d/build.mk: Configure with --enable-obsolete-nsl until we
   sort out a reasonable nsswitch migration strategy from compat to files.
 
+  [ Matthias Klose ]
+  * debian/rules.d/debhelper.mk: Filter python hooks in stage1 (closes: 
#874491)
+
   [ Samuel Thibault ]
   * Adjust hurd-i386 patches to restore build and functionality with 2.26:
 - patches/hurd-i386/tg-gsync-libc.diff: rebased.
diff --git a/debian/rules.d/debhelper.mk b/debian/rules.d/debhelper.mk
index 9c4f29a..ee6032e 100644
--- a/debian/rules.d/debhelper.mk
+++ b/debian/rules.d/debhelper.mk
@@ -210,6 +210,7 @@ $(stamp)debhelper_%: $(stamp)debhelper-common 
$(stamp)install_%
-e "s#RTLDDIR#$$rtlddir#g" \
-e "s#SLIBDIR#$$slibdir#g" \
-e "s#LIBDIR#$$libdir#g" \
+   -e "/gdb/d" \
  $$t; \
  done ; \
done

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



[glibc] branch glibc-2.26 updated (04770d5 -> 925768d)

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

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

  from  04770d5   debian/patches/any/local-cudacc-float128.diff: Local 
patch to prevent defining __HAVE_FLOAT128 on NVIDIA's CUDA compilers (LP: 
#1717257)
   new  925768d   debian/rules.d/debhelper.mk: Filter python hooks in 
stage1 (closes: #874491)

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/rules.d/debhelper.mk | 1 +
 2 files changed, 4 insertions(+)

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



[glibc] branch glibc-2.26 updated (99a309b -> 04770d5)

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

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

  from  99a309b   Update git-updates.diff and drop redundant 
submitted-tst-tlsopt-powerpc.diff
   new  04770d5   debian/patches/any/local-cudacc-float128.diff: Local 
patch to prevent defining __HAVE_FLOAT128 on NVIDIA's CUDA compilers (LP: 
#1717257)

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/any/local-cudacc-float128.diff | 18 ++
 debian/patches/series |  1 +
 3 files changed, 21 insertions(+)
 create mode 100644 debian/patches/any/local-cudacc-float128.diff

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



[glibc] 01/01: debian/patches/any/local-cudacc-float128.diff: Local patch to prevent defining __HAVE_FLOAT128 on NVIDIA's CUDA compilers (LP: #1717257)

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

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

commit 04770d5747d91c17c9a74bca5e02084a3abac377
Author: Adam Conrad 
Date:   Wed Oct 11 13:46:02 2017 -0600

debian/patches/any/local-cudacc-float128.diff: Local patch to prevent 
defining __HAVE_FLOAT128 on NVIDIA's CUDA compilers (LP: #1717257)
---
 debian/changelog  |  2 ++
 debian/patches/any/local-cudacc-float128.diff | 18 ++
 debian/patches/series |  1 +
 3 files changed, 21 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 416e0d9..913b09f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,8 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium
 - debian/patches/sparc/submitted-sparc64-socketcall.diff: rebased.
 - debian/patches/localedata/local-hu_HU-sort.diff: Make testsuite
   agree with the sorting we see in Debian, may need another look.
+- debian/patches/any/local-cudacc-float128.diff: Local patch to prevent
+  defining __HAVE_FLOAT128 on NVIDIA's CUDA compilers (LP: #1717257)
 - debian/control.in/libc: Drop ancient Breaks satisfied in oldoldstable.
 - debian/{debhelper.in/libc.preinst,sysdeps/amd64.mk,sysdeps/i386.mk}:
   Bump MIN_KERNEL_SUPPORTED to 3.2 on x86, following upstream's change.
diff --git a/debian/patches/any/local-cudacc-float128.diff 
b/debian/patches/any/local-cudacc-float128.diff
new file mode 100644
index 000..254a850
--- /dev/null
+++ b/debian/patches/any/local-cudacc-float128.diff
@@ -0,0 +1,18 @@
+Description: Turn off HAVE_FLOAT128 for CUDACC compilers.
+Author: Adam Conrad 
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1717257
+Forwarded: no
+Last-Update: 2017-10-11
+
+--- glibc-2.26.orig/sysdeps/x86/bits/floatn.h
 glibc-2.26/sysdeps/x86/bits/floatn.h
+@@ -28,7 +28,8 @@
+support, for x86_64 and x86.  */
+ #if (defined __x86_64__   
\
+  ? __GNUC_PREREQ (4, 3)   \
+- : (defined __GNU__ ? __GNUC_PREREQ (4, 5) : __GNUC_PREREQ (4, 4)))
++ : (defined __GNU__ ? __GNUC_PREREQ (4, 5) : __GNUC_PREREQ (4, 4))) \
++ &&  !defined(__CUDACC__)
+ # define __HAVE_FLOAT128 1
+ #else
+ # define __HAVE_FLOAT128 0
diff --git a/debian/patches/series b/debian/patches/series
index 00c8b66..1548798 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -234,3 +234,4 @@ any/local-libpic.diff
 any/local-bootstrap-headers.diff
 any/submitted-resolv-unaligned.diff
 any/submitted-intl-tstgettext.diff
+any/local-cudacc-float128.diff

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



Processed: Bug#874491 marked as pending

2017-10-11 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tag 874491 pending
Bug #874491 [src:glibc] [patch] fix glibc-2.25 /26 stage1 build
Added tag(s) pending.
> thanks
Stopping processing here.

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



[glibc] branch glibc-2.26 updated (70480d3 -> 99a309b)

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

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

  from  70480d3   hurd: disable hidden only in rtld
   new  99a309b   Update git-updates.diff and drop redundant 
submitted-tst-tlsopt-powerpc.diff

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/git-updates.diff| 6378 +++-
 .../powerpc/submitted-tst-tlsopt-powerpc.diff  |  163 -
 debian/patches/series  |1 -
 4 files changed, 6340 insertions(+), 206 deletions(-)
 delete mode 100644 debian/patches/powerpc/submitted-tst-tlsopt-powerpc.diff

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