Date: Wednesday, May 10, 2017 @ 13:44:55 Author: bpiotrowski Revision: 295544
upgpkg: glibc 2.25-2 rebuild against gcc 7.1 Modified: glibc/trunk/PKGBUILD Deleted: glibc/trunk/0001-Revert-Avoid-an-extra-branch-to-PLT-for-z-now.patch ----------------------------------------------------------+ 0001-Revert-Avoid-an-extra-branch-to-PLT-for-z-now.patch | 99 ------------- PKGBUILD | 13 - 2 files changed, 3 insertions(+), 109 deletions(-) Deleted: 0001-Revert-Avoid-an-extra-branch-to-PLT-for-z-now.patch =================================================================== --- 0001-Revert-Avoid-an-extra-branch-to-PLT-for-z-now.patch 2017-05-10 13:44:35 UTC (rev 295543) +++ 0001-Revert-Avoid-an-extra-branch-to-PLT-for-z-now.patch 2017-05-10 13:44:55 UTC (rev 295544) @@ -1,99 +0,0 @@ -From c903d7992134802ada495c137a4f1a2ac85af86e Mon Sep 17 00:00:00 2001 -From: Allan McRae <[email protected]> -Date: Mon, 31 Oct 2016 15:10:23 +1000 -Subject: [PATCH] Revert "Avoid an extra branch to PLT for -z now" - -This reverts commit 6901def689b5c77465d34f07822989ec67e80c1e. ---- - ChangeLog | 8 -------- - config.h.in | 3 --- - configure | 4 ---- - configure.ac | 3 --- - sysdeps/x86_64/sysdep.h | 8 ++------ - 5 files changed, 2 insertions(+), 24 deletions(-) - -diff --git a/ChangeLog b/ChangeLog -index b2f6372..e2119a3 100644 ---- a/ChangeLog -+++ b/ChangeLog -@@ -2806,14 +2806,6 @@ - (huge): Remove variable. - (__ceill): Do not force "inexact" exception. - --2016-05-24 H.J. Lu <[email protected]> -- -- * config.h.in (BIND_NOW): New. -- * configure.ac (BIND_NOW): New. Defined for --enable-bind-now. -- * configure: Regenerated. -- * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to -- indirect branch via the GOT slot. -- - 2016-05-24 Stefan Liebler <[email protected]> - - [BZ #19765] -diff --git a/config.h.in b/config.h.in -index 856ef6a..b96a4ce 100644 ---- a/config.h.in -+++ b/config.h.in -@@ -91,9 +91,6 @@ - include/libc-symbols.h that avoid PLT slots in the shared objects. */ - #undef NO_HIDDEN - --/* Define this to disable lazy relocations in DSOs. */ --#undef BIND_NOW -- - /* AArch64 big endian ABI */ - #undef HAVE_AARCH64_BE - -diff --git a/configure b/configure -index 17625e1..5cad071 100755 ---- a/configure -+++ b/configure -@@ -3417,10 +3417,6 @@ else - fi - - --if test "x$bindnow" = xyes; then -- $as_echo "#define BIND_NOW 1" >>confdefs.h -- --fi - - # Check whether --enable-static-nss was given. - if test "${enable_static_nss+set}" = set; then : -diff --git a/configure.ac b/configure.ac -index 33bcd62..33701fa 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -231,9 +231,6 @@ AC_ARG_ENABLE([bind-now], - [bindnow=$enableval], - [bindnow=no]) - AC_SUBST(bindnow) --if test "x$bindnow" = xyes; then -- AC_DEFINE(BIND_NOW) --fi - - dnl On some platforms we cannot use dynamic loading. We must provide - dnl static NSS modules. -diff --git a/sysdeps/x86_64/sysdep.h b/sysdeps/x86_64/sysdep.h -index 75ac747..fbe3560 100644 ---- a/sysdeps/x86_64/sysdep.h -+++ b/sysdeps/x86_64/sysdep.h -@@ -90,13 +90,9 @@ lose: \ - - #undef JUMPTARGET - #ifdef PIC --# ifdef BIND_NOW --# define JUMPTARGET(name) *name##@GOTPCREL(%rip) --# else --# define JUMPTARGET(name) name##@PLT --# endif -+#define JUMPTARGET(name) name##@PLT - #else --# define JUMPTARGET(name) name -+#define JUMPTARGET(name) name - #endif - - /* Local label name for asm code. */ --- -2.10.1 - Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-05-10 13:44:35 UTC (rev 295543) +++ PKGBUILD 2017-05-10 13:44:55 UTC (rev 295544) @@ -6,8 +6,8 @@ pkgname=glibc pkgver=2.25 -pkgrel=1 -_commit=69e0a87cc4c570e3b7218392fc3e743b5bddcce2 +pkgrel=2 +_commit=ccb4fd7a657b0fbc4890c98f4586d58a135fc583 pkgdesc="GNU C Library" arch=('i686' 'x86_64') url="http://www.gnu.org/software/libc" @@ -29,14 +29,7 @@ prepare() { mkdir glibc-build - - cd glibc - # avoid crashes on i686 memchr-sse2.S - # https://sourceware.org/bugzilla/show_bug.cgi?id=21182 - _revert_commit="23d27709a423aec32821e9a5198a10267107bae2" - _revert_file="sysdeps/i386/i686/multiarch/memchr-sse2.S" - git show ${_revert_commit} -- ${_revert_file} | git apply -R -} +} build() { cd glibc-build
