Hello community, here is the log from the commit of package glibc for openSUSE:Factory checked in at 2019-09-27 14:43:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glibc (Old) and /work/SRC/openSUSE:Factory/.glibc.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glibc" Fri Sep 27 14:43:07 2019 rev:232 rq:732759 version:2.30 Changes: -------- --- /work/SRC/openSUSE:Factory/glibc/glibc.changes 2019-07-08 15:06:42.207049698 +0200 +++ /work/SRC/openSUSE:Factory/.glibc.new.2352/glibc.changes 2019-09-27 14:43:10.241588196 +0200 @@ -1,0 +2,89 @@ +Mon Sep 23 14:00:09 UTC 2019 - Andreas Schwab <[email protected]> + +- Package gconv-modules.cache as %ghost +- Regenerate it also in the %post of glibc-local-base-<targettype> + +------------------------------------------------------------------- +Mon Sep 23 13:01:24 UTC 2019 - Ludwig Nussel <[email protected]> + +- move mo files to glibc-locale as that's where all the other + informations for those locales are. glibc-locale-base only has English + anyways. + +------------------------------------------------------------------- +Wed Sep 18 13:57:25 UTC 2019 - Andreas Schwab <[email protected]> + +- riscv-vfork.patch: Fix RISC-V vfork build with Linux 5.3 kernel headers + +------------------------------------------------------------------- +Mon Aug 19 13:47:26 UTC 2019 - Andreas Schwab <[email protected]> + +- Remove NoSource tags (bsc#994835) + +------------------------------------------------------------------- +Mon Aug 19 15:40:19 CEST 2019 - [email protected] + +- pwdutils is long gone and replaced by shadow + +------------------------------------------------------------------- +Fri Aug 2 08:59:46 UTC 2019 - Andreas Schwab <[email protected]> + +- Update to glibc 2.30 + * Unicode 12.1.0 Support + * The dynamic linker accepts the --preload argument to preload shared + objects + * The twalk_r function has been added + * On Linux, the getdents64, gettid, and tgkill functions have been added + * Minguo (Republic of China) calendar support has been added + * The entry for the new Japanese era has been added + * Memory allocation functions malloc, calloc, realloc, reallocarray, valloc, + pvalloc, memalign, and posix_memalign fail now with total object size + larger than PTRDIFF_MAX + * The dynamic linker no longer refuses to load objects which reference + versioned symbols whose implementation has moved to a different soname + since the object has been linked + * Add new POSIX-proposed pthread_cond_clockwait, pthread_mutex_clocklock, + pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and sem_clockwait + functions + * On AArch64 the GNU IFUNC resolver call ABI changed + * The copy_file_range function fails with ENOSYS if the kernel does not + support the system call of the same name + * The functions clock_gettime, clock_getres, clock_settime, + clock_getcpuclockid, clock_nanosleep were removed from the librt library + for new applications (on architectures which had them) + * The obsolete and never-implemented XSI STREAMS header files <stropts.h> + and <sys/stropts.h> have been removed + * Support for the "inet6" option in /etc/resolv.conf and the RES_USE_INET6 + resolver flag (deprecated in glibc 2.25) have been removed + * The obsolete RES_INSECURE1 and RES_INSECURE2 option flags for the DNS stub + resolver have been removed from <resolv.h> + * With --enable-bind-now, installed programs are now linked with the + BIND_NOW flag. + * On 32-bit Arm, support for the port-based I/O emulation and the <sys/io.h> + header have been removed + * The Linux-specific <sys/sysctl.h> header and the sysctl function have been + deprecated and will be removed from a future version of glibc + * CVE-2019-7309: x86-64 memcmp used signed Jcc instructions to check + size + * CVE-2019-9169: Attempted case-insensitive regular-expression match + via proceed_next_node in posix/regexec.c leads to heap-based buffer + over-read +- pthread-rwlock-trylock-stalls.patch, + arm-systemtap-probe-constraint.patch, pthread-mutex-barrier.patch, + fork-handler-lock.patch, pthread-join-probe.patch, + riscv-clone-unwind.patch, add-new-Fortran-vector-math-header-file.patch, + regex-read-overrun.patch, japanese-era-name-may-2019.patch, + dl-show-auxv.patch, s390-vx-vxe-hwcap.patch, taisho-era-string.patch, + malloc-tracing-hooks.patch, pldd-inf-loop.patch, + malloc-large-bin-corruption-check.patch, wfile-sync-crash.patch, + malloc-tests-warnings.patch, fnmatch-collating-elements.patch, + iconv-reset-input-buffer.patch: Removed +- malloc-info-whitespace.patch: Remove unwanted leading whitespace in + malloc_info (BZ #24867) + +------------------------------------------------------------------- +Wed Jul 17 09:47:02 UTC 2019 - Andreas Schwab <[email protected]> + +- Move /var/lib/misc/Makefile to /usr/share/misc/Makefile.makedb (bsc#1138726) + +------------------------------------------------------------------- Old: ---- add-new-Fortran-vector-math-header-file.patch arm-systemtap-probe-constraint.patch dl-show-auxv.patch fnmatch-collating-elements.patch fork-handler-lock.patch glibc-2.29.tar.xz glibc-2.29.tar.xz.sig iconv-reset-input-buffer.patch japanese-era-name-may-2019.patch malloc-large-bin-corruption-check.patch malloc-tests-warnings.patch malloc-tracing-hooks.patch pldd-inf-loop.patch pthread-join-probe.patch pthread-mutex-barrier.patch pthread-rwlock-trylock-stalls.patch regex-read-overrun.patch riscv-clone-unwind.patch s390-vx-vxe-hwcap.patch taisho-era-string.patch wfile-sync-crash.patch New: ---- glibc-2.30.tar.xz glibc-2.30.tar.xz.sig malloc-info-whitespace.patch riscv-vfork.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glibc.spec ++++++ --- /var/tmp/diff_new_pack.6yfBnT/_old 2019-09-27 14:43:13.145580644 +0200 +++ /var/tmp/diff_new_pack.6yfBnT/_new 2019-09-27 14:43:13.145580644 +0200 @@ -62,8 +62,8 @@ BuildRequires: libcap-devel BuildRequires: libselinux-devel BuildRequires: makeinfo -BuildRequires: pwdutils BuildRequires: python3-base +BuildRequires: shadow BuildRequires: systemd-rpm-macros BuildRequires: systemtap-headers BuildRequires: xz @@ -148,10 +148,10 @@ %define enablekernel 4.15 %endif -Version: 2.29 +Version: 2.30 Release: 0 %if !%{build_snapshot} -%define git_id 56c86f5dd516 +%define git_id 0a8262a1b2 %define libversion %version %else %define git_id %(echo %version | sed 's/.*\.g//') @@ -202,14 +202,6 @@ Requires: glibc = %{version} %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build -%ifarch i686 -# We need to avoid to have only the src rpm from i686 on the media, -# since it does not work on other architectures. -NoSource: 0 -%endif -%if !%{build_main} -NoSource: 0 -%endif # ### @@ -267,52 +259,18 @@ ### # Patches from upstream ### -# PATCH-FIX-UPSTREAM nptl: Fix pthread_rwlock_try*lock stalls (BZ #23844) -Patch1000: pthread-rwlock-trylock-stalls.patch -# PATCH-FIX-UPSTREAM arm: Use "nr" constraint for Systemtap probes (BZ #24164) -Patch1001: arm-systemtap-probe-constraint.patch -# PATCH-FIX-UPSTREAM Add compiler barriers around modifications of the robust mutex list for pthread_mutex_trylock (BZ #24180) -Patch1002: pthread-mutex-barrier.patch -# PATCH-FIX-UPSTREAM nptl: Avoid fork handler lock for async-signal-safe fork (BZ #24161) -Patch1003: fork-handler-lock.patch -# PATCH-FIX-UPSTREAM nptl: Fix invalid Systemtap probe in pthread_join (BZ #24211) -Patch1004: pthread-join-probe.patch -# PATCH-FIX-UPSTREAM RISC-V: Fix elfutils testsuite unwind failures (BZ #24040) -Patch1005: riscv-clone-unwind.patch -# PATCH-FIX-UPSTREAM Add new Fortran vector math header file. -Patch1006: add-new-Fortran-vector-math-header-file.patch -# PATCH-FIX-UPSTREAM regex: fix read overrun (CVE-2019-9169, BZ #24114) -Patch1007: regex-read-overrun.patch -# PATCH-FIX-UPSTREAM ja_JP locale: Add entry for the new Japanese era (BZ #22964) -Patch1008: japanese-era-name-may-2019.patch -# PATCH-FIX-UPSTREAM Fix output of LD_SHOW_AUXV=1 -Patch1009: dl-show-auxv.patch -# PATCH-FIX-UPSTREAM S390: Mark vx and vxe as important hwcap -Patch1010: s390-vx-vxe-hwcap.patch -# PATCH-FIX-UPSTREAM ja_JP: Change the offset for Taisho gan-nen from 2 to 1 (BZ #24162) -Patch1011: taisho-era-string.patch -# PATCH-FIX-UPSTREAM malloc: Set and reset all hooks for tracing (BZ #16573) -Patch1012: malloc-tracing-hooks.patch -# PATCH-FIX-UPSTREAM elf: Fix pldd (BZ#18035) -Patch1013: pldd-inf-loop.patch -# PATCH-FIX-UPSTREAM malloc: Check for large bin list corruption when inserting unsorted chunk (BZ #24216) -Patch1014: malloc-large-bin-corruption-check.patch -# PATCH-FIX-UPSTREAM Fix crash in _IO_wfile_sync (BZ #20568) -Patch1015: wfile-sync-crash.patch -# PATCH-FIX-UPSTREAM malloc: Fix warnings in tests with GCC 9 -Patch1016: malloc-tests-warnings.patch +# PATCH-FIX-UPSTREAM malloc: Remove unwanted leading whitespace in malloc_info (BZ #24867) +Patch1000: malloc-info-whitespace.patch +# PATCH-FIX-UPSTREAM Fix RISC-V vfork build with Linux 5.3 kernel headers +Patch1001: riscv-vfork.patch ### # Patches awaiting upstream approval ### # PATCH-FIX-UPSTREAM Always to locking when accessing streams (BZ #15142) Patch2000: fix-locking-in-_IO_cleanup.patch -# PATCH-FIX-UPSTREAM Fix fnmatch handling of collating elements (BZ #17396, BZ #16976) -Patch2004: fnmatch-collating-elements.patch -# PATCH-FIX-UPSTREAM Fix iconv buffer handling with IGNORE error handler (BZ #18830) -Patch2006: iconv-reset-input-buffer.patch # PATCH-FIX-UPSTREAM Avoid concurrency problem in ldconfig (BZ #23973) -Patch2007: ldconfig-concurrency.patch +Patch2001: ldconfig-concurrency.patch # Non-glibc patches # PATCH-FIX-OPENSUSE Remove debianisms from manpages @@ -416,7 +374,7 @@ Provides: glibc:/usr/sbin/nscd Requires: glibc = %{version} Obsoletes: unscd <= 0.48 -Requires(pre): pwdutils +Requires(pre): shadow %{?systemd_requires} %description -n nscd @@ -512,26 +470,9 @@ %patch1000 -p1 %patch1001 -p1 -%patch1002 -p1 -%patch1003 -p1 -%patch1004 -p1 -%patch1005 -p1 -%patch1006 -p1 -%patch1007 -p1 -%patch1008 -p1 -%patch1009 -p1 -%patch1010 -p1 -%patch1011 -p1 -%patch1012 -p1 -%patch1013 -p1 -%patch1014 -p1 -%patch1015 -p1 -%patch1016 -p1 %patch2000 -p1 -%patch2004 -p1 -%patch2006 -p1 -%patch2007 -p1 +%patch2001 -p1 %patch3000 @@ -804,10 +745,6 @@ # files - specifically valgrind and PurifyPlus. export STRIP_KEEP_SYMTAB=*.so* -# Make sure we will create the gconv-modules.cache -mkdir -p %{buildroot}%{_libdir}/gconv -touch %{buildroot}%{_libdir}/gconv/gconv-modules.cache - # Install base glibc make %{?_smp_mflags} install_root=%{buildroot} install -C cc-base @@ -897,6 +834,8 @@ install -m 0644 resolv/mapv4v6addr.h %{buildroot}%{_includedir}/resolv/ install -m 0644 resolv/mapv4v6hostent.h %{buildroot}%{_includedir}/resolv/ +touch %{buildroot}%{_libdir}/gconv/gconv-modules.cache + %if %{build_html} mkdir -p %{buildroot}%{_datadir}/doc/glibc cp -p cc-base/manual/libc/*.html %{buildroot}%{_datadir}/doc/glibc @@ -980,6 +919,14 @@ rm -f %{buildroot}%{_bindir}/makedb %{buildroot}/var/lib/misc/Makefile rm -f %{buildroot}%{_sbindir}/nscd %endif # i686 + +%ifnarch i686 +# /var/lib/misc is incompatible with transactional updates (bsc#1138726) +mkdir %{buildroot}%{_prefix}/share/misc +mv %{buildroot}/var/lib/misc/Makefile %{buildroot}%{_prefix}/share/misc/Makefile.makedb +ln -s %{_prefix}/share/misc/Makefile.makedb %{buildroot}/var/lib/misc/Makefile +%endif + %endif # !utils # LSB @@ -1269,7 +1216,7 @@ %{_libexecdir}/getconf/* %{_sbindir}/iconvconfig -%files locale-base -f libc.lang +%files locale-base %defattr(-,root,root) %{_datadir}/locale/locale.alias %if %{build_locales} @@ -1277,9 +1224,12 @@ %{_prefix}/lib/locale/C.utf8 %{_prefix}/lib/locale/en_US.utf8 %endif -%{_libdir}/gconv +%dir %{_libdir}/gconv +%{_libdir}/gconv/*.so +%{_libdir}/gconv/gconv-modules +%attr(0644,root,root) %verify(not md5 size mtime) %ghost %{_libdir}/gconv/gconv-modules.cache -%files locale +%files locale -f libc.lang %defattr(-,root,root) %if %{build_locales} %{_prefix}/lib/locale @@ -1383,6 +1333,7 @@ %files extra %defattr(-,root,root) %{_bindir}/makedb +%{_prefix}/share/misc/Makefile.makedb /var/lib/misc/Makefile %endif # !i686 ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.6yfBnT/_old 2019-09-27 14:43:13.189580531 +0200 +++ /var/tmp/diff_new_pack.6yfBnT/_new 2019-09-27 14:43:13.189580531 +0200 @@ -13,6 +13,7 @@ +/usr/lib(64)?/gconv/gconv-modules targettype x86 -/usr/lib(64)?/gconv/gconv-modules obsoletes "glibc-locale-<targettype>" + post "/usr/sbin/iconvconfig-<extension>" glibc-devel requires "glibc-<targettype> = %version" arch i586 block! ++++++ fix-locking-in-_IO_cleanup.patch ++++++ --- /var/tmp/diff_new_pack.6yfBnT/_old 2019-09-27 14:43:13.201580499 +0200 +++ /var/tmp/diff_new_pack.6yfBnT/_new 2019-09-27 14:43:13.201580499 +0200 @@ -83,7 +83,7 @@ } libc_hidden_def (_IO_flush_all) -@@ -852,22 +860,18 @@ _IO_unbuffer_all (void) +@@ -852,6 +860,14 @@ _IO_unbuffer_all (void) for (fp = (FILE *) _IO_list_all; fp; fp = fp->_chain) { @@ -95,9 +95,12 @@ + continue; + } + - if (! (fp->_flags & _IO_UNBUFFERED) + int legacy = 0; + + #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1) +@@ -863,18 +879,6 @@ _IO_unbuffer_all (void) /* Iff stream is un-orientated, it wasn't used. */ - && fp->_mode != 0) + && (legacy || fp->_mode != 0)) { -#ifdef _IO_MTSAFE_IO - int cnt; @@ -111,12 +114,12 @@ - __sched_yield (); -#endif - - if (! dealloc_buffers && !(fp->_flags & _IO_USER_BUF)) + if (! legacy && ! dealloc_buffers && !(fp->_flags & _IO_USER_BUF)) { fp->_flags |= _IO_USER_BUF; -@@ -881,16 +885,14 @@ _IO_unbuffer_all (void) +@@ -881,17 +885,15 @@ _IO_unbuffer_all (void) - if (fp->_mode > 0) + if (! legacy && fp->_mode > 0) _IO_wsetb (fp, NULL, NULL, 0); - -#ifdef _IO_MTSAFE_IO @@ -127,7 +130,8 @@ /* Make sure that never again the wide char functions can be used. */ - fp->_mode = -1; + if (! legacy) + fp->_mode = -1; + + _IO_funlockfile (fp); + run_fp = NULL; ++++++ glibc-2.29.tar.xz -> glibc-2.30.tar.xz ++++++ /work/SRC/openSUSE:Factory/glibc/glibc-2.29.tar.xz /work/SRC/openSUSE:Factory/.glibc.new.2352/glibc-2.30.tar.xz differ: char 27, line 1 ++++++ glibc.keyring ++++++ --- /var/tmp/diff_new_pack.6yfBnT/_old 2019-09-27 14:43:13.253580364 +0200 +++ /var/tmp/diff_new_pack.6yfBnT/_new 2019-09-27 14:43:13.257580354 +0200 @@ -1,3 +1,4 @@ +GPG keys of Andreas Schwab <schwab> -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v2 @@ -39,6 +40,7 @@ =oOhV -----END PGP PUBLIC KEY BLOCK----- +GPG keys of Roland McGrath <roland> -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.0.7 (NetBSD) @@ -88,6 +90,7 @@ =SLj7 -----END PGP PUBLIC KEY BLOCK----- +GPG keys of Paul Eggert <eggert> -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.10 (GNU/Linux) @@ -141,6 +144,7 @@ =AL6o -----END PGP PUBLIC KEY BLOCK----- +GPG keys of Ian Wienand <ianw> -----BEGIN PGP PUBLIC KEY BLOCK----- Version: PGP Key Server 0.9.6 @@ -168,6 +172,7 @@ DxXIOrZyOO3jtbtsTYR/VrsdK9sAn0lrUm/jZKWyvK6V1CCA3TwXyvLQ =dSXY -----END PGP PUBLIC KEY BLOCK----- +GPG keys of Siddhesh Poyarekar <siddhesh> -----BEGIN PGP PUBLIC KEY BLOCK----- mQENBFMAZNMBCACeatEKl6YY9iEVxzS64bPbvJsA1mLE2XFWmKXyYzm58dFqPMa0 @@ -299,6 +304,7 @@ TKN3JdfTyacfNU4= =IcJn -----END PGP PUBLIC KEY BLOCK----- +GPG keys of Carlos O'Donell <codonell> -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1 @@ -377,6 +383,7 @@ c8HFfqRDMIQCPexAXgsSKg== =d45e -----END PGP PUBLIC KEY BLOCK----- +GPG keys of Karl Berry <karl> -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.5 (GNU/Linux) @@ -410,6 +417,7 @@ =5dqZ -----END PGP PUBLIC KEY BLOCK----- +GPG keys of Alexandre Oliva <oliva> -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.2.2 (GNU/Linux) @@ -621,6 +629,7 @@ =fZUN -----END PGP PUBLIC KEY BLOCK----- +GPG keys of Eric Blake <ericb> -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg ++++++ malloc-info-whitespace.patch ++++++ 2019-08-01 Florian Weimer <[email protected]> [BZ #24867] * malloc/malloc.c (__malloc_info): Remove unwanted leading whitespace. diff --git a/malloc/malloc.c b/malloc/malloc.c index 00ce48cf58..343d89f489 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -5491,7 +5491,7 @@ __malloc_info (int options, FILE *fp) for (size_t i = 0; i < nsizes; ++i) if (sizes[i].count != 0 && i != NFASTBINS) - fprintf (fp, " \ + fprintf (fp, "\ <size from=\"%zu\" to=\"%zu\" total=\"%zu\" count=\"%zu\"/>\n", sizes[i].from, sizes[i].to, sizes[i].total, sizes[i].count); -- 2.22.0 ++++++ riscv-vfork.patch ++++++ 2019-09-18 Joseph Myers <[email protected]> * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include <linux/sched.h>. (CLONE_VM): New macro. (CLONE_VFORK): Likewise. Index: glibc-2.30/sysdeps/unix/sysv/linux/riscv/vfork.S =================================================================== --- glibc-2.30.orig/sysdeps/unix/sysv/linux/riscv/vfork.S +++ glibc-2.30/sysdeps/unix/sysv/linux/riscv/vfork.S @@ -21,9 +21,12 @@ #include <sys/asm.h> #include <sysdep.h> #define __ASSEMBLY__ -#include <linux/sched.h> #include <asm/signal.h> +#define CLONE_VM 0x00000100 /* Set if VM shared between processes. */ +#define CLONE_VFORK 0x00004000 /* Set if the parent wants the child to + wake it up on mm_release. */ + .text LEAF (__libc_vfork)
