[arch-commits] Commit in glibc/repos (14 files)

2017-10-30 Thread Bartłomiej Piotrowski
Date: Monday, October 30, 2017 @ 07:20:01
  Author: bpiotrowski
Revision: 308619

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glibc/repos/testing-i686/
  
glibc/repos/testing-i686/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch
(from rev 308618, 
glibc/trunk/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch)
  glibc/repos/testing-i686/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch
(from rev 308618, 
glibc/trunk/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch)
  glibc/repos/testing-i686/PKGBUILD
(from rev 308618, glibc/trunk/PKGBUILD)
  glibc/repos/testing-i686/glibc.install
(from rev 308618, glibc/trunk/glibc.install)
  glibc/repos/testing-i686/locale-gen
(from rev 308618, glibc/trunk/locale-gen)
  glibc/repos/testing-i686/locale.gen.txt
(from rev 308618, glibc/trunk/locale.gen.txt)
  glibc/repos/testing-x86_64/
  
glibc/repos/testing-x86_64/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch
(from rev 308618, 
glibc/trunk/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch)
  glibc/repos/testing-x86_64/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch
(from rev 308618, 
glibc/trunk/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch)
  glibc/repos/testing-x86_64/PKGBUILD
(from rev 308618, glibc/trunk/PKGBUILD)
  glibc/repos/testing-x86_64/glibc.install
(from rev 308618, glibc/trunk/glibc.install)
  glibc/repos/testing-x86_64/locale-gen
(from rev 308618, glibc/trunk/locale-gen)
  glibc/repos/testing-x86_64/locale.gen.txt
(from rev 308618, glibc/trunk/locale.gen.txt)

+
 testing-i686/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch   
|  110 
 testing-i686/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch
|  223 ++
 testing-i686/PKGBUILD  
|  157 +++
 testing-i686/glibc.install 
|5 
 testing-i686/locale-gen
|   42 +
 testing-i686/locale.gen.txt
|   23 +
 testing-x86_64/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch 
|  110 
 testing-x86_64/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch  
|  223 ++
 testing-x86_64/PKGBUILD
|  157 +++
 testing-x86_64/glibc.install   
|5 
 testing-x86_64/locale-gen  
|   42 +
 testing-x86_64/locale.gen.txt  
|   23 +
 12 files changed, 1120 insertions(+)

Copied: 
glibc/repos/testing-i686/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch
 (from rev 308618, 
glibc/trunk/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch)
===
--- 
testing-i686/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch
(rev 0)
+++ 
testing-i686/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch
2017-10-30 07:20:01 UTC (rev 308619)
@@ -0,0 +1,110 @@
+From fc5ad7024c620cdfe9b76e94638aac83b99c5bf8 Mon Sep 17 00:00:00 2001
+From: Andreas Schwab 
+Date: Tue, 8 Aug 2017 16:21:58 +0200
+Subject: [PATCH] Don't use IFUNC resolver for longjmp or system in libpthread
+ (bug 21041)
+
+Unlike the vfork forwarder and like the fork forwarder as in bug 19861,
+there won't be a problem when the compiler does not turn this into a tail
+call.
+---
+ nptl/pt-longjmp.c | 31 ++-
+ nptl/pt-system.c  | 24 
+ 3 files changed, 18 insertions(+), 37 deletions(-)
+
+diff --git a/nptl/pt-longjmp.c b/nptl/pt-longjmp.c
+index 2ef757e687f..8f3c6b3a09f 100644
+--- a/nptl/pt-longjmp.c
 b/nptl/pt-longjmp.c
+@@ -25,21 +25,14 @@
+symbol in libpthread, but the historical ABI requires it.  For static
+linking, there is no need to provide anything here--the libc version
+will be linked in.  For shared library ABI compatibility, there must be
+-   longjmp and siglongjmp symbols in libpthread.so; so we define them using
+-   IFUNC to redirect to the libc function.  */
++   longjmp and siglongjmp symbols in libpthread.so.
+ 
+-#if SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)
+-
+-# if HAVE_IFUNC
+-
+-#  undef INIT_ARCH
+-#  define INIT_ARCH()
+-#  define DEFINE_LONGJMP(name) libc_ifunc (name, &__libc_longjmp)
+-
+-extern __typeof(longjmp) longjmp_ifunc;
+-extern __typeof(siglongjmp) siglongjmp_ifunc;
++   With an IFUNC resolver, it would be possible to avoid the indirection,
++   but the IFUNC resolver might run before the __libc_longjmp symbol has
++   been relocated, in which 

[arch-commits] Commit in glibc/repos (14 files)

2017-10-10 Thread Bartłomiej Piotrowski
Date: Tuesday, October 10, 2017 @ 06:31:18
  Author: bpiotrowski
Revision: 307240

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glibc/repos/testing-i686/
  
glibc/repos/testing-i686/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch
(from rev 307239, 
glibc/trunk/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch)
  glibc/repos/testing-i686/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch
(from rev 307239, 
glibc/trunk/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch)
  glibc/repos/testing-i686/PKGBUILD
(from rev 307239, glibc/trunk/PKGBUILD)
  glibc/repos/testing-i686/glibc.install
(from rev 307239, glibc/trunk/glibc.install)
  glibc/repos/testing-i686/locale-gen
(from rev 307239, glibc/trunk/locale-gen)
  glibc/repos/testing-i686/locale.gen.txt
(from rev 307239, glibc/trunk/locale.gen.txt)
  glibc/repos/testing-x86_64/
  
glibc/repos/testing-x86_64/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch
(from rev 307239, 
glibc/trunk/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch)
  glibc/repos/testing-x86_64/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch
(from rev 307239, 
glibc/trunk/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch)
  glibc/repos/testing-x86_64/PKGBUILD
(from rev 307239, glibc/trunk/PKGBUILD)
  glibc/repos/testing-x86_64/glibc.install
(from rev 307239, glibc/trunk/glibc.install)
  glibc/repos/testing-x86_64/locale-gen
(from rev 307239, glibc/trunk/locale-gen)
  glibc/repos/testing-x86_64/locale.gen.txt
(from rev 307239, glibc/trunk/locale.gen.txt)

+
 testing-i686/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch   
|  110 
 testing-i686/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch
|  223 ++
 testing-i686/PKGBUILD  
|  160 +++
 testing-i686/glibc.install 
|5 
 testing-i686/locale-gen
|   42 +
 testing-i686/locale.gen.txt
|   23 +
 testing-x86_64/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch 
|  110 
 testing-x86_64/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch  
|  223 ++
 testing-x86_64/PKGBUILD
|  160 +++
 testing-x86_64/glibc.install   
|5 
 testing-x86_64/locale-gen  
|   42 +
 testing-x86_64/locale.gen.txt  
|   23 +
 12 files changed, 1126 insertions(+)

Copied: 
glibc/repos/testing-i686/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch
 (from rev 307239, 
glibc/trunk/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch)
===
--- 
testing-i686/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch
(rev 0)
+++ 
testing-i686/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch
2017-10-10 06:31:18 UTC (rev 307240)
@@ -0,0 +1,110 @@
+From fc5ad7024c620cdfe9b76e94638aac83b99c5bf8 Mon Sep 17 00:00:00 2001
+From: Andreas Schwab 
+Date: Tue, 8 Aug 2017 16:21:58 +0200
+Subject: [PATCH] Don't use IFUNC resolver for longjmp or system in libpthread
+ (bug 21041)
+
+Unlike the vfork forwarder and like the fork forwarder as in bug 19861,
+there won't be a problem when the compiler does not turn this into a tail
+call.
+---
+ nptl/pt-longjmp.c | 31 ++-
+ nptl/pt-system.c  | 24 
+ 3 files changed, 18 insertions(+), 37 deletions(-)
+
+diff --git a/nptl/pt-longjmp.c b/nptl/pt-longjmp.c
+index 2ef757e687f..8f3c6b3a09f 100644
+--- a/nptl/pt-longjmp.c
 b/nptl/pt-longjmp.c
+@@ -25,21 +25,14 @@
+symbol in libpthread, but the historical ABI requires it.  For static
+linking, there is no need to provide anything here--the libc version
+will be linked in.  For shared library ABI compatibility, there must be
+-   longjmp and siglongjmp symbols in libpthread.so; so we define them using
+-   IFUNC to redirect to the libc function.  */
++   longjmp and siglongjmp symbols in libpthread.so.
+ 
+-#if SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)
+-
+-# if HAVE_IFUNC
+-
+-#  undef INIT_ARCH
+-#  define INIT_ARCH()
+-#  define DEFINE_LONGJMP(name) libc_ifunc (name, &__libc_longjmp)
+-
+-extern __typeof(longjmp) longjmp_ifunc;
+-extern __typeof(siglongjmp) siglongjmp_ifunc;
++   With an IFUNC resolver, it would be possible to avoid the indirection,
++   but the IFUNC resolver might run before the __libc_longjmp symbol has
++   been relocated, in which 

[arch-commits] Commit in glibc/repos (14 files)

2017-09-12 Thread Bartłomiej Piotrowski
Date: Tuesday, September 12, 2017 @ 18:11:43
  Author: bpiotrowski
Revision: 305373

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glibc/repos/testing-i686/
  
glibc/repos/testing-i686/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch
(from rev 305372, 
glibc/trunk/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch)
  glibc/repos/testing-i686/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch
(from rev 305372, 
glibc/trunk/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch)
  glibc/repos/testing-i686/PKGBUILD
(from rev 305372, glibc/trunk/PKGBUILD)
  glibc/repos/testing-i686/glibc.install
(from rev 305372, glibc/trunk/glibc.install)
  glibc/repos/testing-i686/locale-gen
(from rev 305372, glibc/trunk/locale-gen)
  glibc/repos/testing-i686/locale.gen.txt
(from rev 305372, glibc/trunk/locale.gen.txt)
  glibc/repos/testing-x86_64/
  
glibc/repos/testing-x86_64/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch
(from rev 305372, 
glibc/trunk/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch)
  glibc/repos/testing-x86_64/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch
(from rev 305372, 
glibc/trunk/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch)
  glibc/repos/testing-x86_64/PKGBUILD
(from rev 305372, glibc/trunk/PKGBUILD)
  glibc/repos/testing-x86_64/glibc.install
(from rev 305372, glibc/trunk/glibc.install)
  glibc/repos/testing-x86_64/locale-gen
(from rev 305372, glibc/trunk/locale-gen)
  glibc/repos/testing-x86_64/locale.gen.txt
(from rev 305372, glibc/trunk/locale.gen.txt)

+
 testing-i686/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch   
|  110 
 testing-i686/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch
|  223 ++
 testing-i686/PKGBUILD  
|  160 +++
 testing-i686/glibc.install 
|5 
 testing-i686/locale-gen
|   42 +
 testing-i686/locale.gen.txt
|   23 +
 testing-x86_64/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch 
|  110 
 testing-x86_64/0002-x86-Add-x86_64-to-x86-64-HWCAP-BZ-22093.patch  
|  223 ++
 testing-x86_64/PKGBUILD
|  160 +++
 testing-x86_64/glibc.install   
|5 
 testing-x86_64/locale-gen  
|   42 +
 testing-x86_64/locale.gen.txt  
|   23 +
 12 files changed, 1126 insertions(+)

Copied: 
glibc/repos/testing-i686/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch
 (from rev 305372, 
glibc/trunk/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch)
===
--- 
testing-i686/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch
(rev 0)
+++ 
testing-i686/0001-Don-t-use-IFUNC-resolver-for-longjmp-or-system-in-li.patch
2017-09-12 18:11:43 UTC (rev 305373)
@@ -0,0 +1,110 @@
+From fc5ad7024c620cdfe9b76e94638aac83b99c5bf8 Mon Sep 17 00:00:00 2001
+From: Andreas Schwab 
+Date: Tue, 8 Aug 2017 16:21:58 +0200
+Subject: [PATCH] Don't use IFUNC resolver for longjmp or system in libpthread
+ (bug 21041)
+
+Unlike the vfork forwarder and like the fork forwarder as in bug 19861,
+there won't be a problem when the compiler does not turn this into a tail
+call.
+---
+ nptl/pt-longjmp.c | 31 ++-
+ nptl/pt-system.c  | 24 
+ 3 files changed, 18 insertions(+), 37 deletions(-)
+
+diff --git a/nptl/pt-longjmp.c b/nptl/pt-longjmp.c
+index 2ef757e687f..8f3c6b3a09f 100644
+--- a/nptl/pt-longjmp.c
 b/nptl/pt-longjmp.c
+@@ -25,21 +25,14 @@
+symbol in libpthread, but the historical ABI requires it.  For static
+linking, there is no need to provide anything here--the libc version
+will be linked in.  For shared library ABI compatibility, there must be
+-   longjmp and siglongjmp symbols in libpthread.so; so we define them using
+-   IFUNC to redirect to the libc function.  */
++   longjmp and siglongjmp symbols in libpthread.so.
+ 
+-#if SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)
+-
+-# if HAVE_IFUNC
+-
+-#  undef INIT_ARCH
+-#  define INIT_ARCH()
+-#  define DEFINE_LONGJMP(name) libc_ifunc (name, &__libc_longjmp)
+-
+-extern __typeof(longjmp) longjmp_ifunc;
+-extern __typeof(siglongjmp) siglongjmp_ifunc;
++   With an IFUNC resolver, it would be possible to avoid the indirection,
++   but the IFUNC resolver might run before the __libc_longjmp symbol has
++   been relocated, in which 

[arch-commits] Commit in glibc/repos (14 files)

2016-02-19 Thread Allan McRae
Date: Saturday, February 20, 2016 @ 01:57:09
  Author: allan
Revision: 260028

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glibc/repos/testing-i686/
  glibc/repos/testing-i686/PKGBUILD
(from rev 260027, glibc/trunk/PKGBUILD)
  glibc/repos/testing-i686/glibc-2.22-CVE-2015-7547.patch
(from rev 260027, glibc/trunk/glibc-2.22-CVE-2015-7547.patch)
  glibc/repos/testing-i686/glibc-2.22-roundup.patch
(from rev 260027, glibc/trunk/glibc-2.22-roundup.patch)
  glibc/repos/testing-i686/glibc.install
(from rev 260027, glibc/trunk/glibc.install)
  glibc/repos/testing-i686/locale-gen
(from rev 260027, glibc/trunk/locale-gen)
  glibc/repos/testing-i686/locale.gen.txt
(from rev 260027, glibc/trunk/locale.gen.txt)
  glibc/repos/testing-x86_64/
  glibc/repos/testing-x86_64/PKGBUILD
(from rev 260027, glibc/trunk/PKGBUILD)
  glibc/repos/testing-x86_64/glibc-2.22-CVE-2015-7547.patch
(from rev 260027, glibc/trunk/glibc-2.22-CVE-2015-7547.patch)
  glibc/repos/testing-x86_64/glibc-2.22-roundup.patch
(from rev 260027, glibc/trunk/glibc-2.22-roundup.patch)
  glibc/repos/testing-x86_64/glibc.install
(from rev 260027, glibc/trunk/glibc.install)
  glibc/repos/testing-x86_64/locale-gen
(from rev 260027, glibc/trunk/locale-gen)
  glibc/repos/testing-x86_64/locale.gen.txt
(from rev 260027, glibc/trunk/locale.gen.txt)

---+
 testing-i686/PKGBUILD |  137 +
 testing-i686/glibc-2.22-CVE-2015-7547.patch   |  572 
 testing-i686/glibc-2.22-roundup.patch | 2747 
 testing-i686/glibc.install|   20 
 testing-i686/locale-gen   |   42 
 testing-i686/locale.gen.txt   |   23 
 testing-x86_64/PKGBUILD   |  137 +
 testing-x86_64/glibc-2.22-CVE-2015-7547.patch |  572 
 testing-x86_64/glibc-2.22-roundup.patch   | 2747 
 testing-x86_64/glibc.install  |   20 
 testing-x86_64/locale-gen |   42 
 testing-x86_64/locale.gen.txt |   23 
 12 files changed, 7082 insertions(+)

The diff is longer than the limit of 200KB.
Use svn diff -r 260027:260028 to see the changes.


[arch-commits] Commit in glibc/repos (14 files)

2016-02-16 Thread Allan McRae
Date: Wednesday, February 17, 2016 @ 05:53:24
  Author: allan
Revision: 259877

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glibc/repos/testing-i686/
  glibc/repos/testing-i686/PKGBUILD
(from rev 259874, glibc/trunk/PKGBUILD)
  glibc/repos/testing-i686/glibc-2.22-CVE-2015-7547.patch
(from rev 259874, glibc/trunk/glibc-2.22-CVE-2015-7547.patch)
  glibc/repos/testing-i686/glibc-2.22-roundup.patch
(from rev 259874, glibc/trunk/glibc-2.22-roundup.patch)
  glibc/repos/testing-i686/glibc.install
(from rev 259874, glibc/trunk/glibc.install)
  glibc/repos/testing-i686/locale-gen
(from rev 259874, glibc/trunk/locale-gen)
  glibc/repos/testing-i686/locale.gen.txt
(from rev 259874, glibc/trunk/locale.gen.txt)
  glibc/repos/testing-x86_64/
  glibc/repos/testing-x86_64/PKGBUILD
(from rev 259874, glibc/trunk/PKGBUILD)
  glibc/repos/testing-x86_64/glibc-2.22-CVE-2015-7547.patch
(from rev 259874, glibc/trunk/glibc-2.22-CVE-2015-7547.patch)
  glibc/repos/testing-x86_64/glibc-2.22-roundup.patch
(from rev 259874, glibc/trunk/glibc-2.22-roundup.patch)
  glibc/repos/testing-x86_64/glibc.install
(from rev 259874, glibc/trunk/glibc.install)
  glibc/repos/testing-x86_64/locale-gen
(from rev 259874, glibc/trunk/locale-gen)
  glibc/repos/testing-x86_64/locale.gen.txt
(from rev 259874, glibc/trunk/locale.gen.txt)

---+
 testing-i686/PKGBUILD |  162 +
 testing-i686/glibc-2.22-CVE-2015-7547.patch   |  572 
 testing-i686/glibc-2.22-roundup.patch | 2747 
 testing-i686/glibc.install|   22 
 testing-i686/locale-gen   |   42 
 testing-i686/locale.gen.txt   |   23 
 testing-x86_64/PKGBUILD   |  162 +
 testing-x86_64/glibc-2.22-CVE-2015-7547.patch |  572 
 testing-x86_64/glibc-2.22-roundup.patch   | 2747 
 testing-x86_64/glibc.install  |   22 
 testing-x86_64/locale-gen |   42 
 testing-x86_64/locale.gen.txt |   23 
 12 files changed, 7136 insertions(+)

The diff is longer than the limit of 200KB.
Use svn diff -r 259876:259877 to see the changes.


[arch-commits] Commit in glibc/repos (14 files)

2014-04-22 Thread Allan McRae
Date: Wednesday, April 23, 2014 @ 04:19:02
  Author: allan
Revision: 211671

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  glibc/repos/staging-i686/
  glibc/repos/staging-i686/PKGBUILD
(from rev 211670, glibc/trunk/PKGBUILD)
  glibc/repos/staging-i686/glibc-2.19-fix-sign-in-bsloww1-input.patch
(from rev 211670, glibc/trunk/glibc-2.19-fix-sign-in-bsloww1-input.patch)
  glibc/repos/staging-i686/glibc-2.19-xattr_header.patch
(from rev 211670, glibc/trunk/glibc-2.19-xattr_header.patch)
  glibc/repos/staging-i686/glibc.install
(from rev 211670, glibc/trunk/glibc.install)
  glibc/repos/staging-i686/locale-gen
(from rev 211670, glibc/trunk/locale-gen)
  glibc/repos/staging-i686/locale.gen.txt
(from rev 211670, glibc/trunk/locale.gen.txt)
  glibc/repos/staging-x86_64/
  glibc/repos/staging-x86_64/PKGBUILD
(from rev 211670, glibc/trunk/PKGBUILD)
  glibc/repos/staging-x86_64/glibc-2.19-fix-sign-in-bsloww1-input.patch
(from rev 211670, glibc/trunk/glibc-2.19-fix-sign-in-bsloww1-input.patch)
  glibc/repos/staging-x86_64/glibc-2.19-xattr_header.patch
(from rev 211670, glibc/trunk/glibc-2.19-xattr_header.patch)
  glibc/repos/staging-x86_64/glibc.install
(from rev 211670, glibc/trunk/glibc.install)
  glibc/repos/staging-x86_64/locale-gen
(from rev 211670, glibc/trunk/locale-gen)
  glibc/repos/staging-x86_64/locale.gen.txt
(from rev 211670, glibc/trunk/locale.gen.txt)

---+
 staging-i686/PKGBUILD |  153 
 staging-i686/glibc-2.19-fix-sign-in-bsloww1-input.patch   |   71 +
 staging-i686/glibc-2.19-xattr_header.patch|   42 +++
 staging-i686/glibc.install|   22 +
 staging-i686/locale-gen   |   42 +++
 staging-i686/locale.gen.txt   |   23 +
 staging-x86_64/PKGBUILD   |  153 
 staging-x86_64/glibc-2.19-fix-sign-in-bsloww1-input.patch |   71 +
 staging-x86_64/glibc-2.19-xattr_header.patch  |   42 +++
 staging-x86_64/glibc.install  |   22 +
 staging-x86_64/locale-gen |   42 +++
 staging-x86_64/locale.gen.txt |   23 +
 12 files changed, 706 insertions(+)

Copied: glibc/repos/staging-i686/PKGBUILD (from rev 211670, 
glibc/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2014-04-23 02:19:02 UTC (rev 211671)
@@ -0,0 +1,153 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+
+# toolchain build order: 
linux-api-headers-glibc-binutils-gcc-binutils-glibc
+# NOTE: valgrind requires rebuilt with each major glibc version
+
+# NOTE: adjust version in install script when locale files are updated
+
+pkgname=glibc
+pkgver=2.19
+pkgrel=4
+pkgdesc=GNU C Library
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/libc;
+license=('GPL' 'LGPL')
+groups=('base')
+depends=('linux-api-headers=3.13' 'tzdata' 'filesystem=2013.01')
+makedepends=('gcc=4.8')
+backup=(etc/gai.conf
+etc/locale.gen
+etc/nscd.conf)
+options=('!strip' 'staticlibs')
+install=glibc.install
+source=(http://ftp.gnu.org/gnu/libc/${pkgname}-${pkgver}.tar.xz{,.sig}
+glibc-2.19-xattr_header.patch
+glibc-2.19-fix-sign-in-bsloww1-input.patch
+locale.gen.txt
+locale-gen)
+md5sums=('e26b8cc666b162f999404b03970f14e4'
+ 'SKIP'
+ '39a4876837789e07746f1d84cd8cb46a'
+ '755a1a9d7844a5e338eddaa9a5d974cd'
+ '07ac979b6ab5eeb778d55f041529d623'
+ '476e9113489f93b348b21e144b6a8fcf')
+
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  
+  # fix for {linux,sys}/xattr.h incompatibility - commit fdbe8eae
+  patch -p1 -i $srcdir/glibc-2.19-xattr_header.patch
+
+  # fix issues in sin/cos slow path calculation - commit ffe768a9
+  patch -p1 -i $srcdir/glibc-2.19-fix-sign-in-bsloww1-input.patch
+
+  mkdir ${srcdir}/glibc-build
+}
+
+build() {
+  cd ${srcdir}/glibc-build
+
+  if [[ ${CARCH} = i686 ]]; then
+# Hack to fix NPTL issues with Xen, only required on 32bit platforms
+# TODO: make separate glibc-xen package for i686
+export CFLAGS=${CFLAGS} -mno-tls-direct-seg-refs
+  fi
+
+  echo slibdir=/usr/lib  configparms
+  echo sbindir=/usr/bin  configparms
+  echo rootsbindir=/usr/bin  configparms
+
+  # remove hardening options for building libraries
+  CFLAGS=${CFLAGS/-fstack-protector/}
+  CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}
+
+  ${srcdir}/${pkgname}-${pkgver}/configure --prefix=/usr \
+  --libdir=/usr/lib --libexecdir=/usr/lib \
+  --with-headers=/usr/include \
+  --with-bugurl=https://bugs.archlinux.org/ \
+  --enable-add-ons=nptl,libidn \
+  --enable-obsolete-rpc \
+  --enable-kernel=2.6.32 \
+  

[arch-commits] Commit in glibc/repos (14 files)

2014-02-27 Thread Allan McRae
Date: Friday, February 28, 2014 @ 05:35:12
  Author: allan
Revision: 206496

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glibc/repos/testing-i686/
  glibc/repos/testing-i686/PKGBUILD
(from rev 206495, glibc/trunk/PKGBUILD)
  glibc/repos/testing-i686/glibc-2.18-xattr-compat-hack.patch
(from rev 206495, glibc/trunk/glibc-2.18-xattr-compat-hack.patch)
  glibc/repos/testing-i686/glibc-2.19-fix-sign-in-bsloww1-input.patch
(from rev 206495, glibc/trunk/glibc-2.19-fix-sign-in-bsloww1-input.patch)
  glibc/repos/testing-i686/glibc.install
(from rev 206495, glibc/trunk/glibc.install)
  glibc/repos/testing-i686/locale-gen
(from rev 206495, glibc/trunk/locale-gen)
  glibc/repos/testing-i686/locale.gen.txt
(from rev 206495, glibc/trunk/locale.gen.txt)
  glibc/repos/testing-x86_64/
  glibc/repos/testing-x86_64/PKGBUILD
(from rev 206495, glibc/trunk/PKGBUILD)
  glibc/repos/testing-x86_64/glibc-2.18-xattr-compat-hack.patch
(from rev 206495, glibc/trunk/glibc-2.18-xattr-compat-hack.patch)
  glibc/repos/testing-x86_64/glibc-2.19-fix-sign-in-bsloww1-input.patch
(from rev 206495, glibc/trunk/glibc-2.19-fix-sign-in-bsloww1-input.patch)
  glibc/repos/testing-x86_64/glibc.install
(from rev 206495, glibc/trunk/glibc.install)
  glibc/repos/testing-x86_64/locale-gen
(from rev 206495, glibc/trunk/locale-gen)
  glibc/repos/testing-x86_64/locale.gen.txt
(from rev 206495, glibc/trunk/locale.gen.txt)

---+
 testing-i686/PKGBUILD |  150 
 testing-i686/glibc-2.18-xattr-compat-hack.patch   |   19 +
 testing-i686/glibc-2.19-fix-sign-in-bsloww1-input.patch   |   71 +
 testing-i686/glibc.install|   22 +
 testing-i686/locale-gen   |   42 +++
 testing-i686/locale.gen.txt   |   23 +
 testing-x86_64/PKGBUILD   |  150 
 testing-x86_64/glibc-2.18-xattr-compat-hack.patch |   19 +
 testing-x86_64/glibc-2.19-fix-sign-in-bsloww1-input.patch |   71 +
 testing-x86_64/glibc.install  |   22 +
 testing-x86_64/locale-gen |   42 +++
 testing-x86_64/locale.gen.txt |   23 +
 12 files changed, 654 insertions(+)

Copied: glibc/repos/testing-i686/PKGBUILD (from rev 206495, 
glibc/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-02-28 04:35:12 UTC (rev 206496)
@@ -0,0 +1,150 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+
+# toolchain build order: 
linux-api-headers-glibc-binutils-gcc-binutils-glibc
+# NOTE: valgrind requires rebuilt with each major glibc version
+
+# NOTE: adjust version in install script when locale files are updated
+
+pkgname=glibc
+pkgver=2.19
+pkgrel=3
+pkgdesc=GNU C Library
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/libc;
+license=('GPL' 'LGPL')
+groups=('base')
+depends=('linux-api-headers=3.13' 'tzdata' 'filesystem=2013.01')
+makedepends=('gcc=4.8')
+backup=(etc/gai.conf
+etc/locale.gen
+etc/nscd.conf)
+options=('!strip' 'staticlibs')
+install=glibc.install
+source=(http://ftp.gnu.org/gnu/libc/${pkgname}-${pkgver}.tar.xz{,.sig}
+glibc-2.18-xattr-compat-hack.patch
+glibc-2.19-fix-sign-in-bsloww1-input.patch
+locale.gen.txt
+locale-gen)
+md5sums=('e26b8cc666b162f999404b03970f14e4'
+ 'SKIP'
+ '7ca96c68a37f2a4ab91792bfa0160a24'
+ '755a1a9d7844a5e338eddaa9a5d974cd'
+ '07ac979b6ab5eeb778d55f041529d623'
+ '476e9113489f93b348b21e144b6a8fcf')
+
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  
+  # hack fix for {linux,sys}/xattr.h incompatibility
+  patch -p1 -i $srcdir/glibc-2.18-xattr-compat-hack.patch
+
+  # fix issues in sin/cos slow path calculation - commit ffe768a9
+  patch -p1 -i $srcdir/glibc-2.19-fix-sign-in-bsloww1-input.patch
+
+  mkdir ${srcdir}/glibc-build
+}
+
+build() {
+  cd ${srcdir}/glibc-build
+
+  if [[ ${CARCH} = i686 ]]; then
+# Hack to fix NPTL issues with Xen, only required on 32bit platforms
+# TODO: make separate glibc-xen package for i686
+export CFLAGS=${CFLAGS} -mno-tls-direct-seg-refs
+  fi
+
+  echo slibdir=/usr/lib  configparms
+  echo sbindir=/usr/bin  configparms
+  echo rootsbindir=/usr/bin  configparms
+
+  # remove hardening options for building libraries
+  CFLAGS=${CFLAGS/-fstack-protector/}
+  CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}
+
+  ${srcdir}/${pkgname}-${pkgver}/configure --prefix=/usr \
+  --libdir=/usr/lib --libexecdir=/usr/lib \
+  --with-headers=/usr/include \
+  --with-bugurl=https://bugs.archlinux.org/ \
+  --enable-add-ons=nptl,libidn \
+  --enable-obsolete-rpc \
+  --enable-kernel=2.6.32 \

[arch-commits] Commit in glibc/repos (14 files)

2013-08-13 Thread Allan McRae
Date: Tuesday, August 13, 2013 @ 13:21:27
  Author: allan
Revision: 192514

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  glibc/repos/staging-i686/
  glibc/repos/staging-i686/PKGBUILD
(from rev 192513, glibc/trunk/PKGBUILD)
  glibc/repos/staging-i686/glibc.install
(from rev 192513, glibc/trunk/glibc.install)
  glibc/repos/staging-i686/locale-gen
(from rev 192513, glibc/trunk/locale-gen)
  glibc/repos/staging-i686/locale.gen.txt
(from rev 192513, glibc/trunk/locale.gen.txt)
  glibc/repos/staging-i686/nscd.service
(from rev 192513, glibc/trunk/nscd.service)
  glibc/repos/staging-i686/nscd.tmpfiles
(from rev 192513, glibc/trunk/nscd.tmpfiles)
  glibc/repos/staging-x86_64/
  glibc/repos/staging-x86_64/PKGBUILD
(from rev 192513, glibc/trunk/PKGBUILD)
  glibc/repos/staging-x86_64/glibc.install
(from rev 192513, glibc/trunk/glibc.install)
  glibc/repos/staging-x86_64/locale-gen
(from rev 192513, glibc/trunk/locale-gen)
  glibc/repos/staging-x86_64/locale.gen.txt
(from rev 192513, glibc/trunk/locale.gen.txt)
  glibc/repos/staging-x86_64/nscd.service
(from rev 192513, glibc/trunk/nscd.service)
  glibc/repos/staging-x86_64/nscd.tmpfiles
(from rev 192513, glibc/trunk/nscd.tmpfiles)

---+
 staging-i686/PKGBUILD |  135 
 staging-i686/glibc.install|   19 +
 staging-i686/locale-gen   |   42 
 staging-i686/locale.gen.txt   |   23 ++
 staging-i686/nscd.service |   18 +
 staging-i686/nscd.tmpfiles|4 +
 staging-x86_64/PKGBUILD   |  135 
 staging-x86_64/glibc.install  |   19 +
 staging-x86_64/locale-gen |   42 
 staging-x86_64/locale.gen.txt |   23 ++
 staging-x86_64/nscd.service   |   18 +
 staging-x86_64/nscd.tmpfiles  |4 +
 12 files changed, 482 insertions(+)

Copied: glibc/repos/staging-i686/PKGBUILD (from rev 192513, 
glibc/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2013-08-13 11:21:27 UTC (rev 192514)
@@ -0,0 +1,135 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+
+# toolchain build order: 
linux-api-headers-glibc-binutils-gcc-binutils-glibc
+# NOTE: valgrind requires rebuilt with each major glibc version
+
+pkgname=glibc
+pkgver=2.18
+pkgrel=1
+pkgdesc=GNU C Library
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/libc;
+license=('GPL' 'LGPL')
+groups=('base')
+depends=('linux-api-headers=3.7' 'tzdata' 'filesystem=2013.01')
+makedepends=('gcc=4.7')
+backup=(etc/gai.conf
+etc/locale.gen
+etc/nscd.conf)
+options=('!strip')
+install=glibc.install
+source=(http://ftp.gnu.org/gnu/libc/${pkgname}-${pkgver}.tar.xz{,.sig}
+nscd.service
+nscd.tmpfiles
+locale.gen.txt
+locale-gen)
+md5sums=('88fbbceafee809e82efd52efa1e3c58f'
+ 'SKIP'
+ 'd5fab2cd3abea65aa5ae696ea4a47d6b'
+ 'da662ca76e7c8d7efbc7986ab7acea2d'
+ '07ac979b6ab5eeb778d55f041529d623'
+ '476e9113489f93b348b21e144b6a8fcf')
+
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  cd ${srcdir}
+  mkdir glibc-build
+  cd glibc-build
+
+  if [[ ${CARCH} = i686 ]]; then
+# Hack to fix NPTL issues with Xen, only required on 32bit platforms
+# TODO: make separate glibc-xen package for i686
+export CFLAGS=${CFLAGS} -mno-tls-direct-seg-refs
+  fi
+
+  echo slibdir=/usr/lib  configparms
+  echo sbindir=/usr/bin  configparms
+  echo rootsbindir=/usr/bin  configparms
+
+  # remove hardening options for building libraries
+  CFLAGS=${CFLAGS/-fstack-protector/}
+  CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}
+
+  ${srcdir}/${pkgname}-${pkgver}/configure --prefix=/usr \
+  --libdir=/usr/lib --libexecdir=/usr/lib \
+  --with-headers=/usr/include \
+  --with-bugurl=https://bugs.archlinux.org/ \
+  --enable-add-ons=nptl,libidn \
+  --enable-obsolete-rpc \
+  --enable-kernel=2.6.32 \
+  --enable-bind-now --disable-profile \
+  --enable-stackguard-randomization \
+  --enable-multi-arch
+
+  # build libraries with hardening disabled
+  echo build-programs=no  configparms
+  make
+  
+  # re-enable hardening for programs
+  sed -i /build-programs=/s#no#yes# configparms
+  echo CC += -fstack-protector -D_FORTIFY_SOURCE=2  configparms
+  echo CXX += -fstack-protector -D_FORTIFY_SOURCE=2  configparms
+  make
+
+  # remove harding in preparation to run test-suite
+  sed -i '4,6d' configparms
+}
+
+check() {
+  # bug to file - the linker commands need to be reordered
+  LDFLAGS=${LDFLAGS/--as-needed,/}
+
+  cd ${srcdir}/glibc-build
+  make check
+}
+
+package() {
+  cd ${srcdir}/glibc-build
+
+  install -dm755 ${pkgdir}/etc
+  touch ${pkgdir}/etc/ld.so.conf
+
+  make install_root=${pkgdir} install
+
+  rm -f ${pkgdir}/etc/ld.so.{cache,conf}
+
+  

[arch-commits] Commit in glibc/repos (14 files)

2012-12-26 Thread Allan McRae
Date: Wednesday, December 26, 2012 @ 05:59:25
  Author: allan
Revision: 173864

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  glibc/repos/staging-i686/
  glibc/repos/staging-i686/PKGBUILD
(from rev 173863, glibc/trunk/PKGBUILD)
  glibc/repos/staging-i686/glibc.install
(from rev 173863, glibc/trunk/glibc.install)
  glibc/repos/staging-i686/locale-gen
(from rev 173863, glibc/trunk/locale-gen)
  glibc/repos/staging-i686/locale.gen.txt
(from rev 173863, glibc/trunk/locale.gen.txt)
  glibc/repos/staging-i686/nscd.service
(from rev 173863, glibc/trunk/nscd.service)
  glibc/repos/staging-i686/nscd.tmpfiles
(from rev 173863, glibc/trunk/nscd.tmpfiles)
  glibc/repos/staging-x86_64/
  glibc/repos/staging-x86_64/PKGBUILD
(from rev 173863, glibc/trunk/PKGBUILD)
  glibc/repos/staging-x86_64/glibc.install
(from rev 173863, glibc/trunk/glibc.install)
  glibc/repos/staging-x86_64/locale-gen
(from rev 173863, glibc/trunk/locale-gen)
  glibc/repos/staging-x86_64/locale.gen.txt
(from rev 173863, glibc/trunk/locale.gen.txt)
  glibc/repos/staging-x86_64/nscd.service
(from rev 173863, glibc/trunk/nscd.service)
  glibc/repos/staging-x86_64/nscd.tmpfiles
(from rev 173863, glibc/trunk/nscd.tmpfiles)

---+
 staging-i686/PKGBUILD |  145 
 staging-i686/glibc.install|   20 +
 staging-i686/locale-gen   |   42 +++
 staging-i686/locale.gen.txt   |   23 ++
 staging-i686/nscd.service |   17 
 staging-i686/nscd.tmpfiles|1 
 staging-x86_64/PKGBUILD   |  145 
 staging-x86_64/glibc.install  |   20 +
 staging-x86_64/locale-gen |   42 +++
 staging-x86_64/locale.gen.txt |   23 ++
 staging-x86_64/nscd.service   |   17 
 staging-x86_64/nscd.tmpfiles  |1 
 12 files changed, 496 insertions(+)

Copied: glibc/repos/staging-i686/PKGBUILD (from rev 173863, 
glibc/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2012-12-26 10:59:25 UTC (rev 173864)
@@ -0,0 +1,145 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+
+# toolchain build order: 
linux-api-headers-glibc-binutils-gcc-binutils-glibc
+# NOTE: valgrind requires rebuilt with each major glibc version
+
+pkgname=glibc
+pkgver=2.17
+pkgrel=1
+pkgdesc=GNU C Library
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/libc;
+license=('GPL' 'LGPL')
+groups=('base')
+depends=('linux-api-headers=3.7' 'tzdata')
+makedepends=('gcc=4.7')
+backup=(etc/gai.conf
+etc/locale.gen
+etc/nscd.conf)
+options=('!strip')
+install=glibc.install
+source=(http://ftp.gnu.org/gnu/libc/${pkgname}-${pkgver}.tar.xz{,.sig}
+nscd.service
+nscd.tmpfiles
+locale.gen.txt
+locale-gen)
+md5sums=('87bf675c8ee523ebda4803e8e1cec638'
+ '6db4d1661cf34282755dc90330465f6d'
+ 'c1e07c0bec0fe89791bfd9d13fc85edf'
+ 'bccbe5619e75cf1d97312ec3681c605c'
+ '07ac979b6ab5eeb778d55f041529d623'
+ '476e9113489f93b348b21e144b6a8fcf')
+
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # ldconfig does not need to look in /usr/lib64 or /usr/libx32 on Arch Linux
+  sed -i s#add_system_dir#do_not_add_system_dir# 
sysdeps/unix/sysv/linux/x86_64/dl-cache.h
+
+  cd ${srcdir}
+  mkdir glibc-build
+  cd glibc-build
+
+  if [[ ${CARCH} = i686 ]]; then
+# Hack to fix NPTL issues with Xen, only required on 32bit platforms
+# TODO: make separate glibc-xen package for i686
+export CFLAGS=${CFLAGS} -mno-tls-direct-seg-refs
+  fi
+
+  echo slibdir=/usr/lib  configparms
+
+  # remove hardening options from CFLAGS for building libraries
+  CFLAGS=${CFLAGS/-fstack-protector/}
+  CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/}
+
+  ${srcdir}/${pkgname}-${pkgver}/configure --prefix=/usr \
+  --libdir=/usr/lib --libexecdir=/usr/lib \
+  --with-headers=/usr/include \
+  --enable-add-ons=nptl,libidn \
+  --enable-obsolete-rpc \
+  --enable-kernel=2.6.32 \
+  --enable-bind-now --disable-profile \
+  --enable-stackguard-randomization \
+  --enable-multi-arch
+
+  # build libraries with hardening disabled
+  echo build-programs=no  configparms
+  make
+  
+  # re-enable hardening for programs
+  sed -i /build-programs=/s#no#yes# configparms
+  echo CC += -fstack-protector -D_FORTIFY_SOURCE=2  configparms
+  echo CXX += -fstack-protector -D_FORTIFY_SOURCE=2  configparms
+  make
+
+  # remove harding in preparation to run test-suite
+  sed -i '2,4d' configparms
+}
+
+check() {
+  # bug to file - the linker commands need to be reordered
+  LDFLAGS=${LDFLAGS/--as-needed,/}
+
+  cd ${srcdir}/glibc-build
+  make check
+}
+
+package() {
+  cd ${srcdir}/glibc-build
+
+  install -dm755 ${pkgdir}/etc
+  touch ${pkgdir}/etc/ld.so.conf
+
+  make install_root=${pkgdir}