[Bug 1497473] Re: [FFe] update glibc to 2.22 in wily
Adam Conrad
adconrad at 0c3.net
Sat Sep 19 06:51:34 UTC 2015
** Changed in: glibc (Ubuntu)
Status: Triaged => Fix Committed
** Changed in: glibc (Ubuntu)
Assignee: (unassigned) => Adam Conrad (adconrad)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1497473
Title:
[FFe] update glibc to 2.22 in wily
Status in glibc package in Ubuntu:
Fix Committed
Bug description:
The glibc 2.22 development cycle was fairly sedate, there are only 670
commits between 2.21 and 2.22 upstream, mostly bugfixes. For
comparison, there were 912 between 2.19 and 2.20.
That said, a lot of the commits are worth picking up, and
cherrypicking them all would be far more error-prone than updating as
a whole.
glibc-2.22 has been building and testing well in my devirt PPA (
https://launchpad.net/~adconrad/+archive/ubuntu/ppa/+packages ), and
all seems to be good there. I'm still testing a few more cherrypicks
from trunk to hunt down an existing (ie: affects 2.21 as well) build
failure with squid3, but that shouldn't affect the outcome of this
FFe, IMO.
In general, I think this is low risk, the upstream testsuite fully
passes (after a bit of arguing with it), and everything builds and
runs as well as one might expect. Full changelog follows:
glibc (2.22-0ubuntu1~ppa2) wily; urgency=medium
.
* Merge with 2.22 from experimental (LP: #), remaining changes:
- Drop the Breaks line from libc which refers to a Debian transition.
- Remove the libc6 recommends on libc6-i686, which we don't build.
- Enable libc6{,-dev}-armel on armhf and libc6{-dev}-armhf on armel.
- Ship update-locale and validlocale in /usr/sbin in libc-bin.
- Don't build locales or locales-all in Ubuntu, we rely on langpacks.
- Heavily mangle the way we do service restarting on major upgrades.
- Build i386 variants as -march=i686, build amd64 with -O3, and build
ppc64 variants (both 64-bit and 32-bit) with -O3 -fno-tree-vectorize.
- Build generic i386/i686 flavour with -mno-tls-direct-seg-refs.
- Drop the libc6-xen flavour, as the above change covers Xen's needs.
- Enable systemtap support, which is currently disabled in Debian.
- debian/patches/ubuntu/local-warn-bsd-source.diff: Don't warn on
_BSD_SOURCE || _SVID_SOURCE, so we don't have to fix everything
that might define them and build with -Werror, drop after wily.
- Force tuning POWER7 builds to POWER8, as POWER7 is just a stopgap.
* debian/patches/any/cvs-netinet-in-4.2.diff: Pull patch from git that
updates netinet/in.h to match the kernel UAPI header's values in 4.2.
* debian/patches/any/cvs-netinet-tcp-4.2.diff: Ditto for netinet/tcp.h.
.
glibc (2.22-0experimental0) UNRELEASED; urgency=medium
.
[ Adam Conrad ]
* New upstream release: version 2.22, with git updates up to 2015-09-17:
- debian/patches/all/local-alias-UTF-8.diff: Fixed upstream.
- debian/patches/any/cvs-ldconfig-aux-cache.diff: Upstreamed.
- debian/patches/any/cvs-localplt-new-readelf.diff: Upstreamed.
- debian/patches/any/cvs-logbl-accuracy.diff: Upstreamed.
- debian/patches/any/cvs-make-typo.diff: Upstreamed.
- debian/patches/any/cvs-vismain-pie.diff: Upstreamed.
- debian/patches/any/local-xfail-stdlib-linkns.diff: Dropped.
- debian/patches/any/local-tester-gcc-4.9.diff: Dropped.
- debian/patches/arm/cvs-arm-sfi_breg.diff: Upstreamed.
- debian/patches/arm/cvs-memcpy-memmove-always-bx.diff: Upstreamed.
- debian/patches/hppa/cvs-alloca-werror.diff: Upstreamed.
- debian/patches/hppa/cvs-fpu-r2.diff: Upstreamed.
- debian/patches/hppa/cvs-fpu2.diff: Upstreamed.
- debian/patches/hppa/local-fcntl-osync.diff: Fixed upstream.
- debian/patches/hppa/local-setcontext.diff: Fixed upstream.
- debian/patches/powerpc/cvs-power7-strncpy.diff: Upstreamed.
- debian/patches/powerpc/cvs-ppc-feraiseexcept.diff: Upstreamed.
- debian/patches/powerpc/cvs-ppc-pow.diff: Upstreamed.
- debian/patches/powerpc/cvs-ppc-sqrt.diff: Upstreamed.
- debian/patches/powerpc/cvs-ppc-sqrtf.diff: Upstreamed.
- debian/patches/powerpc/cvs-ppc-tabort-le.diff: Upstreamed.
- debian/patches/all/local-alias-et_EE.diff: Rebased.
- debian/patches/amd64/local-blacklist-on-TSX-Haswell.diff: Rebased.
- debian/patches/any/local-libgcc-compat-ports.diff: Rebased.
- debian/patches/any/local-libpic.diff: Rebased.
- debian/patches/any/local-no-pagesize.diff: Rebased.
- debian/patches/any/submitted-longdouble.diff: Rebased.
- debian/patches/any/submitted-missing-etc-hosts.diff: Rebased.
- debian/patches/any/submitted-resolv-ipv6-nameservers.diff: Rebased.
- debian/patches/i386/submitted-i686-timing.diff: Rebased.
- debian/patches/localedata/local-all-no-archive.diff: Rebased.
- debian/patches/localedata/submitted-locale-bo.diff: Rebased.
- debian/patches/mips/submitted-rld_map.diff: Rebased.
* debian/{control,symbols.wildcards,copyright}: Updated strings for 2.22.
.
[ Samuel Thibault ]
* debian/patches/hurd-i386/tg-tls.diff: Rebased.
* debian/patches/hurd-i386/tg-tls-threadvar.diff: Rebased.
* debian/patches/hurd-i386/tg-ioctl-base-types.diff: Upstreamed.
* debian/patches/hurd-i386/tg-extern_inline.diff: Rebased.
* debian/patches/hurd-i386/tg-aio_misc.diff: Upstreamed.
* debian/patches/hurd-i386/tg-chflags.diff: Upstreamed.
* debian/patches/hurd-i386/tg-select-EINTR.diff: Upstreamed.
* debian/patches/hurd-i386/tg-af_local_strlen.diff: Upstreamed.
* debian/patches/hurd-i386/tg-nice.diff: Upstreamed.
* debian/patches/hurd-i386/tg-nfds-poll.diff: Upstreamed.
* debian/patches/hurd-i386/tg-sigstate_locking.diff: Upstreamed.
* debian/patches/hurd-i386/tg-mmap_file_prot_none_fix.diff: Upstreamed.
* debian/patches/hurd-i386/cvs-unwind-resume.diff: Upstreamed.
* debian/patches/hurd-i386/cvs-libc-modules.h.diff: Upstreamed.
* debian/patches/hurd-i386/cvs-warnings.diff: Upstreamed.
* debian/patches/hurd-i386/cvs-check-local-headers.diff: Upstreamed.
* debian/patches/hurd-i386/cvs-mlock.diff: Upstreamed.
* debian/patches/hurd-i386/cvs-csu_crt0.diff: New patch, fixes gcrt0.o
build.
* debian/patches/hurd-i386/cvs-s_scalbn.diff: New patch, fixes s_scalbn.S
build.
.
glibc (2.21-0experimental2) UNRELEASED; urgency=medium
.
[ Samuel Thibault ]
* Symbol versions which contain _DEBIAN_ are unexpected by upstream scripts.
Add hurd-i386-only patches/hurd-i386/local-versions-hack.diff to work
around the issue. Also take the opportunity of the upstream version bump
to bump the versions to GLIBC_2_21, which will allow one to remove the
_DEBIAN_ hacks once packages are rebuilt.
* patches/hurd-i386/unsubmitted-libpthread-semaphore.h.diff: Remove
libpthread/sysdeps/i386/bits/semaphore.h, now that hurd Implies
libpthread/sysdeps/generic. Move libpthread/include/semaphore.h into
libpthread/sysdeps/pthread/semaphore.h instead of the latter just
including the former, since the latter is what gets installed.
.
[ Aurelien Jarno ]
* rules.d/debhelper.mk: replace GLIBC_VERSION before LIBC. Closes:
#797538.
* Drop loongson-2f flavour on mipsel as this machine is not supported
anymore (default to R2 ISA).
* kfreebsd/local-sysdeps.diff: update to revision 5772 (from glibc-bsd).
Closes: #764692, #785796.
* testsuite-checking/expected-results-mips*: allow the new tst-audit9
fail, like the others tst-auditX.
* testsuite-checking/expected-results-mips(el)-linux-gnu-libc: allow
conformtest for sys/stat.h to fail for O32 ABI. They were previously
under the failing test run-conformtest.out, but it has been lost in
the conversion to the new format.
* testsuite-checking/expected-results-mips*: sort the files. Remove
failures due to old kernel now that all buildds run jessie.
* debhelper.in/locales-all.prerm: do not specify a path to check for
locale-gen.
* libc6.1.symbols.alpha: remove invoke_dynamic_linker from libpcprofile.so.
It has disappeared, but it is a private library.
* Remove debver2localesdep.pl, it is unused since 2.19-16.
* Use $(GLIBC_VERSION) for shlib, instead of defining the version in a
separate shlibver file.
* Remove completely outdated README, README.source and TODO files.
* rules.d/debhelper.mk: use the default compression format for libc6,
libc-bin and multiarch-support. Nowadays deboostrap is able to handle
the xz format and modern distributions also support it. Anyway almost
all packages installed by debootstrap are now using the xz format.
* Bump debhelper compatibility to level 9. This brings compressed debug
file using the build-id instead of a fixed path. This is much more
multiarch friendly.
* control.in/*: remove pre-squeeze conflicts.
* libc-bin, libc-dev-bin: Recommends the manpages package and add lintian
override for missing manpages.
* sysdeps/s390x.mk: --enable-lock-elision.
* testsuite-checking/expected-results-x86_64-linux-gnux32-*: allow
conformtest for headers with tv_nsec to fail for x32. The type
non-compliance is intentional. These tests were previously marked as
failing under the run-conformtest.out, but they have been lost during
the conversion to the new format.
* testsuite-checking/compare.sh: reenable failures in case of regressions.
* rules.d/build.mk: don't require flavours to be tested before being
installed. They are still tested when calling the build-arch or
binary-arch targets, but not anymore when calling the build-indep or
binary-indep targets.
* patches/hppa/cvs-alloca-werror.diff: new patch from upstream to fix a
build failure.
.
[ Steven Chamberlain ]
* sysdeps/kfreebsd.mk: find kfreebsd-kernel-headers in multiarch path.
Closes: #672774, #798064.
.
[ Helmut Grohne ]
* Fix some issues with stage 1. Closes: #797831.
.
[ Adam Conrad ]
* debian/patches/arm/local-arm-futex.diff: Lie about the minimum kernel
support for futex_atomic_cmpxchg_inatomic to restore the previous state
and fix the pulsesink (and others) regression on ARM (closes: #788799)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1497473/+subscriptions
More information about the foundations-bugs
mailing list