Hello community,

here is the log from the commit of package glibc for openSUSE:Factory checked 
in at 2015-08-21 07:37:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glibc (Old)
 and      /work/SRC/openSUSE:Factory/.glibc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glibc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/glibc/glibc-testsuite.changes    2015-07-05 
17:50:39.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.glibc.new/glibc-testsuite.changes       
2015-08-21 07:37:52.000000000 +0200
@@ -1,0 +2,54 @@
+Mon Aug 10 09:23:57 UTC 2015 - [email protected]
+
+- dont-remove-nodelete-flag.patch: Don't remove DF_1_NODELETE flag from
+  all loaded objects on failed dlopen
+- openat64-readd-o-largefile.patch: Readd O_LARGEFILE flag for openat64
+
+-------------------------------------------------------------------
+Wed Aug  5 09:35:41 UTC 2015 - [email protected]
+
+- Update to glibc 2.22 release.
+  * Cache information can be queried via sysconf() function on s390
+  * A buffer overflow in gethostbyname_r and related functions performing DNS
+    requests has been fixed.
+  * The time zone file parser has been made more robust against crafted time
+    zone files
+  * A powerpc and powerpc64 optimization for TLS, similar to TLS descriptors
+    for LD and GD on x86 and x86-64, has been implemented.
+  * Character encoding and ctype tables were updated to Unicode 7.0.0
+  * Added vector math library named libmvec
+  * A new fmemopen implementation has been added with the goal of POSIX
+    compliance.
+  * The header <regexp.h> is deprecated, and will be removed in a future
+    release.
+- Patches from upstream removed
+  * htm-tabort.patch
+  * o-tmpfile.patch
+  * memcpy-chk-non-SSE2.patch
+  * pthread-mutexattr-gettype-kind.patch
+  * powerpc-software-sqrt.patch
+  * static-tls-dtv-limit.patch
+  * threaded-trim-threshold.patch
+  * resolv-nameserver-handling.patch
+  * nss-separate-state-getXXent.patch
+  * aarch64-sigstksz.patch
+  * heap-top-corruption.patch
+  * pthread-join-deadlock.patch
+
+-------------------------------------------------------------------
+Mon Jul 27 09:08:21 UTC 2015 - [email protected]
+
+- pthread-join-deadlock.patch: Use IE model for static variables in
+  libc.so, libpthread.so and rtld (bsc#930015, BZ #18457)
+
+-------------------------------------------------------------------
+Wed Jul 22 09:13:48 UTC 2015 - [email protected]
+
+- glibc-nodate.patch: fix verification of timestamp
+
+-------------------------------------------------------------------
+Tue Jul 21 07:50:22 UTC 2015 - [email protected]
+
+- also filter out -fstack-protector-strong
+
+-------------------------------------------------------------------
glibc-utils.changes: same change
glibc.changes: same change

Old:
----
  aarch64-sigstksz.patch
  glibc-2.21.tar.xz
  heap-top-corruption.patch
  htm-tabort.patch
  memcpy-chk-non-SSE2.patch
  nss-separate-state-getXXent.patch
  o-tmpfile.patch
  powerpc-software-sqrt.patch
  pthread-join-deadlock.patch
  pthread-mutexattr-gettype-kind.patch
  resolv-nameserver-handling.patch
  static-tls-dtv-limit.patch
  threaded-trim-threshold.patch

New:
----
  dont-remove-nodelete-flag.patch
  glibc-2.22.tar.xz
  glibc-2.22.tar.xz.sig
  glibc.keyring
  openat64-readd-o-largefile.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ glibc-testsuite.spec ++++++
--- /var/tmp/diff_new_pack.wuJQQD/_old  2015-08-21 07:37:54.000000000 +0200
+++ /var/tmp/diff_new_pack.wuJQQD/_new  2015-08-21 07:37:54.000000000 +0200
@@ -100,13 +100,15 @@
 # 3.1 is the openSUSE 12.1 kernel
 %define enablekernel 3.0
 
-Version:        2.21
+Version:        2.22
 Release:        0
-%define git_id 4e42b5b8f89f
+%define git_id bbab82c25da9
 Url:            http://www.gnu.org/software/libc/libc.html
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 #Source:         glibc-%{version}-%{git_id}.tar.xz
 Source:         http://ftp.gnu.org/pub/gnu/glibc/glibc-%{version}.tar.xz
+Source1:        http://ftp.gnu.org/pub/gnu/glibc/glibc-%{version}.tar.xz.sig
+Source2:        glibc.keyring
 Source3:        noversion.tar.bz2
 Source4:        manpages.tar.bz2
 Source5:        nsswitch.conf
@@ -214,7 +216,6 @@
 Patch103:       glibc-2.4-china.diff
 
 ### Broken patches in glibc that we revert for now:
-# None
 
 ### Network related patches
 # PATCH-FIX-OPENSUSE reload /etc/resolv.conf on change
@@ -229,26 +230,6 @@
 ###
 # Patches from upstream
 ###
-# PATCH-FIX-UPSTREAM powerpc: Fix TABORT encoding for little endian
-Patch1000:      htm-tabort.patch
-# PATCH-FIX-UPSTREAM Fix value of O_TMPFILE for architectures with non-default 
O_DIRECTORY (BZ #17912)
-Patch1001:      o-tmpfile.patch
-# PATCH-FIX-UPSTREAM Fix __memcpy_chk on non-SSE2 CPUs (BZ #17949)
-Patch1002:      memcpy-chk-non-SSE2.patch
-# PATCH-FIX-UPSTREAM Filter out PTHREAD_MUTEX_NO_ELISION_NP bit in 
pthread_mutexattr_gettype (BZ #15790)
-Patch1003:      pthread-mutexattr-gettype-kind.patch
-# PATCH-FIX-UPSTREAM Fix powerpc software sqrt (BZ #17964, BZ #17967)
-Patch1004:      powerpc-software-sqrt.patch
-# PATCH-FIX-UPSTREAM Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and 
nptl_db garbage (bsc#919678, BZ #17090, BZ #17620, BZ #17621, BZ #17628)
-Patch1005:      static-tls-dtv-limit.patch
-# PATCH-FIX-UPSTREAM Fix regression in threaded application malloc performance 
(bsc#915955, BZ #17195)
-Patch1006:      threaded-trim-threshold.patch
-# PATCH-FIX-UPSTREAM Simplify handling of nameserver configuration in resolver
-Patch1007:      resolv-nameserver-handling.patch
-# PATCH-FIX-UPSTREAM Separate internal state between getXXent and getXXbyYY 
NSS calls (bsc#918187, BZ #18007)
-Patch1008:      nss-separate-state-getXXent.patch
-# PATCH-FIX-UPSTREAM aarch64: Increase MINSIGSTKSZ and SIGSTKSZ (BZ #16850)
-Patch1009:      aarch64-sigstksz.patch
 
 ### 
 # Patches awaiting upstream approval
@@ -263,10 +244,10 @@
 Patch2005:      glibc-memset-nontemporal.diff
 # PATCH-FIX-UPSTREAM Avoid redundant shift character in iconv output at block 
boundary (BZ #17197)
 Patch2006:      ibm93x-redundant-shift-si.patch
-# PATCH-FIX-UPSTREAM Don't require rtld lock to store static TLS offset in the 
DTV (BZ #18457)
-Patch2007:      pthread-join-deadlock.patch
-# PATCH-FIX-UPSTREAM malloc: Do not corrupt the top of a threaded heap if top 
chunk is MINSIZE (BZ #18502)
-Patch2008:      heap-top-corruption.patch
+# BZ #18778
+Patch2007:      dont-remove-nodelete-flag.patch
+# BZ #18781
+Patch2008:      openat64-readd-o-largefile.patch
 
 # Non-glibc patches
 # PATCH-FIX-OPENSUSE Remove debianisms from manpages
@@ -466,17 +447,6 @@
 %patch304 -p1
 %patch306 -p1
 
-%patch1000 -p1
-%patch1001 -p1
-%patch1002 -p1
-%patch1003 -p1
-%patch1004 -p1
-%patch1005 -p1
-%patch1006 -p1
-%patch1007 -p1
-%patch1008 -p1
-%patch1009 -p1
-
 %patch2000 -p1
 %patch2002 -p1
 %patch2003 -p1
@@ -541,7 +511,7 @@
 # Default CFLAGS and Compiler
 #
 BuildFlags="%{optflags} -U_FORTIFY_SOURCE"
-BuildFlags=$(echo $BuildFlags | sed -e 's#-fstack-protector##' -e 
's#-ffortify=[0-9]*##')
+BuildFlags=$(echo $BuildFlags | sed -e 's#-fstack-protector[^ ]*##' -e 
's#-ffortify=[0-9]*##')
 BuildCC="%__cc"
 BuildCCplus="%__cxx"
 add_ons=libidn
@@ -1144,6 +1114,10 @@
 /%{_lib}/libdl.so.2*
 /%{_lib}/libm-%{version}.so
 /%{_lib}/libm.so.6*
+%ifarch x86_64
+/%{_lib}/libmvec-%{version}.so
+/%{_lib}/libmvec.so.1
+%endif
 /%{_lib}/libnsl-%{version}.so
 /%{_lib}/libnsl.so.1
 /%{_lib}/libnss_compat-%{version}.so
@@ -1265,6 +1239,9 @@
 %{_libdir}/libowcrypt.a
 %{_libdir}/libdl.a
 %{_libdir}/libm.a
+%ifarch x86_64
+%{_libdir}/libmvec.a
+%endif
 %{_libdir}/libnsl.a
 %{_libdir}/libpthread.a
 %{_libdir}/libresolv.a
@@ -1313,6 +1290,9 @@
 %{_libdir}/libBrokenLocale_p.a
 %{_libdir}/libanl_p.a
 %{_libdir}/libm_p.a
+%ifarch x86_64
+%{_libdir}/libmvec_p.a
+%endif
 %{_libdir}/libcrypt_p.a
 %{_libdir}/libowcrypt_p.a
 %{_libdir}/libpthread_p.a

glibc-utils.spec: same change
++++++ glibc.spec ++++++
--- /var/tmp/diff_new_pack.wuJQQD/_old  2015-08-21 07:37:54.000000000 +0200
+++ /var/tmp/diff_new_pack.wuJQQD/_new  2015-08-21 07:37:54.000000000 +0200
@@ -100,13 +100,15 @@
 # 3.1 is the openSUSE 12.1 kernel
 %define enablekernel 3.0
 
-Version:        2.21
+Version:        2.22
 Release:        0
-%define git_id 4e42b5b8f89f
+%define git_id bbab82c25da9
 Url:            http://www.gnu.org/software/libc/libc.html
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 #Source:         glibc-%{version}-%{git_id}.tar.xz
 Source:         http://ftp.gnu.org/pub/gnu/glibc/glibc-%{version}.tar.xz
+Source1:        http://ftp.gnu.org/pub/gnu/glibc/glibc-%{version}.tar.xz.sig
+Source2:        glibc.keyring
 Source3:        noversion.tar.bz2
 Source4:        manpages.tar.bz2
 Source5:        nsswitch.conf
@@ -214,7 +216,6 @@
 Patch103:       glibc-2.4-china.diff
 
 ### Broken patches in glibc that we revert for now:
-# None
 
 ### Network related patches
 # PATCH-FIX-OPENSUSE reload /etc/resolv.conf on change
@@ -229,26 +230,6 @@
 ###
 # Patches from upstream
 ###
-# PATCH-FIX-UPSTREAM powerpc: Fix TABORT encoding for little endian
-Patch1000:      htm-tabort.patch
-# PATCH-FIX-UPSTREAM Fix value of O_TMPFILE for architectures with non-default 
O_DIRECTORY (BZ #17912)
-Patch1001:      o-tmpfile.patch
-# PATCH-FIX-UPSTREAM Fix __memcpy_chk on non-SSE2 CPUs (BZ #17949)
-Patch1002:      memcpy-chk-non-SSE2.patch
-# PATCH-FIX-UPSTREAM Filter out PTHREAD_MUTEX_NO_ELISION_NP bit in 
pthread_mutexattr_gettype (BZ #15790)
-Patch1003:      pthread-mutexattr-gettype-kind.patch
-# PATCH-FIX-UPSTREAM Fix powerpc software sqrt (BZ #17964, BZ #17967)
-Patch1004:      powerpc-software-sqrt.patch
-# PATCH-FIX-UPSTREAM Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and 
nptl_db garbage (bsc#919678, BZ #17090, BZ #17620, BZ #17621, BZ #17628)
-Patch1005:      static-tls-dtv-limit.patch
-# PATCH-FIX-UPSTREAM Fix regression in threaded application malloc performance 
(bsc#915955, BZ #17195)
-Patch1006:      threaded-trim-threshold.patch
-# PATCH-FIX-UPSTREAM Simplify handling of nameserver configuration in resolver
-Patch1007:      resolv-nameserver-handling.patch
-# PATCH-FIX-UPSTREAM Separate internal state between getXXent and getXXbyYY 
NSS calls (bsc#918187, BZ #18007)
-Patch1008:      nss-separate-state-getXXent.patch
-# PATCH-FIX-UPSTREAM aarch64: Increase MINSIGSTKSZ and SIGSTKSZ (BZ #16850)
-Patch1009:      aarch64-sigstksz.patch
 
 ### 
 # Patches awaiting upstream approval
@@ -263,10 +244,10 @@
 Patch2005:      glibc-memset-nontemporal.diff
 # PATCH-FIX-UPSTREAM Avoid redundant shift character in iconv output at block 
boundary (BZ #17197)
 Patch2006:      ibm93x-redundant-shift-si.patch
-# PATCH-FIX-UPSTREAM Don't require rtld lock to store static TLS offset in the 
DTV (BZ #18457)
-Patch2007:      pthread-join-deadlock.patch
-# PATCH-FIX-UPSTREAM malloc: Do not corrupt the top of a threaded heap if top 
chunk is MINSIZE (BZ #18502)
-Patch2008:      heap-top-corruption.patch
+# BZ #18778
+Patch2007:      dont-remove-nodelete-flag.patch
+# BZ #18781
+Patch2008:      openat64-readd-o-largefile.patch
 
 # Non-glibc patches
 # PATCH-FIX-OPENSUSE Remove debianisms from manpages
@@ -466,17 +447,6 @@
 %patch304 -p1
 %patch306 -p1
 
-%patch1000 -p1
-%patch1001 -p1
-%patch1002 -p1
-%patch1003 -p1
-%patch1004 -p1
-%patch1005 -p1
-%patch1006 -p1
-%patch1007 -p1
-%patch1008 -p1
-%patch1009 -p1
-
 %patch2000 -p1
 %patch2002 -p1
 %patch2003 -p1
@@ -541,7 +511,7 @@
 # Default CFLAGS and Compiler
 #
 BuildFlags="%{optflags} -U_FORTIFY_SOURCE"
-BuildFlags=$(echo $BuildFlags | sed -e 's#-fstack-protector##' -e 
's#-ffortify=[0-9]*##')
+BuildFlags=$(echo $BuildFlags | sed -e 's#-fstack-protector[^ ]*##' -e 
's#-ffortify=[0-9]*##')
 BuildCC="%__cc"
 BuildCCplus="%__cxx"
 add_ons=libidn
@@ -1144,6 +1114,10 @@
 /%{_lib}/libdl.so.2*
 /%{_lib}/libm-%{version}.so
 /%{_lib}/libm.so.6*
+%ifarch x86_64
+/%{_lib}/libmvec-%{version}.so
+/%{_lib}/libmvec.so.1
+%endif
 /%{_lib}/libnsl-%{version}.so
 /%{_lib}/libnsl.so.1
 /%{_lib}/libnss_compat-%{version}.so
@@ -1265,6 +1239,9 @@
 %{_libdir}/libowcrypt.a
 %{_libdir}/libdl.a
 %{_libdir}/libm.a
+%ifarch x86_64
+%{_libdir}/libmvec.a
+%endif
 %{_libdir}/libnsl.a
 %{_libdir}/libpthread.a
 %{_libdir}/libresolv.a
@@ -1313,6 +1290,9 @@
 %{_libdir}/libBrokenLocale_p.a
 %{_libdir}/libanl_p.a
 %{_libdir}/libm_p.a
+%ifarch x86_64
+%{_libdir}/libmvec_p.a
+%endif
 %{_libdir}/libcrypt_p.a
 %{_libdir}/libowcrypt_p.a
 %{_libdir}/libpthread_p.a



++++++ dont-remove-nodelete-flag.patch ++++++
Index: glibc-2.22/elf/dl-close.c
===================================================================
--- glibc-2.22.orig/elf/dl-close.c
+++ glibc-2.22/elf/dl-close.c
@@ -144,6 +144,14 @@ _dl_close_worker (struct link_map *map,
   char done[nloaded];
   struct link_map *maps[nloaded];
 
+   /* Clear DF_1_NODELETE to force object deletion.  We don't need to touch
+      l_tls_dtor_count because forced object deletion only happens when an
+      error occurs during object load.  Destructor registration for TLS
+      non-POD objects should not have happened till then for this
+      object.  */
+  if (force)
+    map->l_flags_1 &= ~DF_1_NODELETE;
+
   /* Run over the list and assign indexes to the link maps and enter
      them into the MAPS array.  */
   int idx = 0;
@@ -152,14 +160,6 @@ _dl_close_worker (struct link_map *map,
       l->l_idx = idx;
       maps[idx] = l;
       ++idx;
-
-      /* Clear DF_1_NODELETE to force object deletion.  We don't need to touch
-        l_tls_dtor_count because forced object deletion only happens when an
-        error occurs during object load.  Destructor registration for TLS
-        non-POD objects should not have happened till then for this
-        object.  */
-      if (force)
-       l->l_flags_1 &= ~DF_1_NODELETE;
     }
   assert (idx == nloaded);
 
++++++ fix-locking-in-_IO_cleanup.patch ++++++
--- /var/tmp/diff_new_pack.wuJQQD/_old  2015-08-21 07:37:55.000000000 +0200
+++ /var/tmp/diff_new_pack.wuJQQD/_new  2015-08-21 07:37:55.000000000 +0200
@@ -5,7 +5,7 @@
        (_IO_flush_all_all_lockp): Delete.
        (_IO_flush_all): Replace with body of _IO_flush_all_all_lockp.
        Always do locking.
-       (_IO_unbuffer_write): Always do locking.
+       (_IO_unbuffer_all): Always do locking.
        (_IO_cleanup): Call _IO_flush_all instead of _IO_flush_all_lockp.
        * libio/libioP.h (_IO_flush_all_all_lockp): Remove declaration.
 
@@ -155,7 +155,7 @@
  
  #ifdef _IO_MTSAFE_IO
 @@ -947,6 +902,12 @@ static void
- _IO_unbuffer_write (void)
+ _IO_unbuffer_all (void)
  {
    struct _IO_FILE *fp;
 +

++++++ glibc-2.21.tar.xz -> glibc-2.22.tar.xz ++++++
/work/SRC/openSUSE:Factory/glibc/glibc-2.21.tar.xz 
/work/SRC/openSUSE:Factory/.glibc.new/glibc-2.22.tar.xz differ: char 26, line 1

++++++ glibc-nodate.patch ++++++
--- /var/tmp/diff_new_pack.wuJQQD/_old  2015-08-21 07:37:55.000000000 +0200
+++ /var/tmp/diff_new_pack.wuJQQD/_new  2015-08-21 07:37:55.000000000 +0200
@@ -1,7 +1,7 @@
-Index: glibc-2.20.90/nscd/nscd_stat.c
+Index: glibc-2.21/nscd/nscd_stat.c
 ===================================================================
---- glibc-2.20.90.orig/nscd/nscd_stat.c
-+++ glibc-2.20.90/nscd/nscd_stat.c
+--- glibc-2.21.orig/nscd/nscd_stat.c
++++ glibc-2.21/nscd/nscd_stat.c
 @@ -36,8 +36,13 @@
  #endif /* HAVE_SELINUX */
  
@@ -30,3 +30,18 @@
    data.debug_level = debug_level;
    data.runtime = time (NULL) - start_time;
    data.client_queued = client_queued;
+@@ -196,7 +206,13 @@ receive_print_stats (void)
+ 
+   /* Read as much data as we expect.  */
+   if (TEMP_FAILURE_RETRY (read (fd, &data, sizeof (data))) != sizeof (data)
+-      || (memcmp (data.version, compilation, sizeof (compilation)) != 0
++      || (
++#ifdef __TIMESTAMP__
++        /* Skip day of the week.  */
++        memcmp (data.version, __TIMESTAMP__ + 4, sizeof (compilation)) != 0
++#else
++        memcmp (data.version, compilation, sizeof (compilation)) != 0
++#endif
+         /* Yes, this is an assignment!  */
+         && (errno = EINVAL)))
+     {

++++++ openat64-readd-o-largefile.patch ++++++
Index: glibc-2.22/sysdeps/unix/sysv/linux/openat.c
===================================================================
--- glibc-2.22.orig/sysdeps/unix/sysv/linux/openat.c
+++ glibc-2.22/sysdeps/unix/sysv/linux/openat.c
@@ -68,6 +68,11 @@ __OPENAT (int fd, const char *file, int
       va_end (arg);
     }
 
+  /* We have to add the O_LARGEFILE flag for openat64.  */
+#ifdef MORE_OFLAGS
+  oflag |= MORE_OFLAGS;
+#endif
+
   return SYSCALL_CANCEL (openat, fd, file, oflag, mode);
 }
 libc_hidden_def (__OPENAT)

Reply via email to