2016-07-13 12:23:26 +00:00
|
|
|
%define glibcsrcdir glibc-2.23-561-gf531f93
|
2016-02-26 05:36:28 +00:00
|
|
|
%define glibcversion 2.23.90
|
2016-07-21 14:16:25 +00:00
|
|
|
%define glibcrelease 30%{?dist}
|
2013-08-16 13:56:44 +00:00
|
|
|
# Pre-release tarballs are pulled in from git using a command that is
|
|
|
|
# effectively:
|
|
|
|
#
|
|
|
|
# git archive HEAD --format=tar --prefix=$(git describe --match 'glibc-*')/ \
|
|
|
|
# > $(git describe --match 'glibc-*').tar
|
|
|
|
# gzip -9 $(git describe --match 'glibc-*').tar
|
|
|
|
#
|
|
|
|
# glibc_release_url is only defined when we have a release tarball.
|
2013-09-05 12:07:40 +00:00
|
|
|
# % define glibc_release_url http://ftp.gnu.org/gnu/glibc/
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
2015-08-28 19:29:26 +00:00
|
|
|
# We support hte following options:
|
|
|
|
# --with/--without,
|
|
|
|
# * testsuite - Running the testsuite.
|
|
|
|
# * benchtests - Running and building benchmark subpackage.
|
|
|
|
# * bootstrap - Bootstrapping the package.
|
|
|
|
# * werror - Build with -Werror
|
|
|
|
# * docs - Build with documentation and the required dependencies.
|
|
|
|
# * valgrind - Run smoke tests with valgrind to verify dynamic loader.
|
|
|
|
#
|
|
|
|
# You must always run the testsuite for production builds.
|
|
|
|
# Default: Always run the testsuite.
|
|
|
|
%bcond_without testsuite
|
|
|
|
# Default: Always build the benchtests.
|
|
|
|
%bcond_without benchtests
|
|
|
|
# Default: Not bootstrapping.
|
|
|
|
%bcond_with bootstrap
|
|
|
|
# Default: Enable using -Werror
|
|
|
|
%bcond_without werror
|
|
|
|
# Default: Always build documentation.
|
|
|
|
%bcond_without docs
|
|
|
|
# Default: Always run valgrind tests
|
|
|
|
%bcond_without valgrind
|
|
|
|
|
|
|
|
# Run a valgrind smoke test to ensure that the release is compatible and
|
|
|
|
# doesn't any new feature that might cause valgrind to abort.
|
|
|
|
%if %{with valgrind}
|
2015-10-28 15:52:56 +00:00
|
|
|
%ifarch s390 ppc64 ppc64p7
|
2015-08-28 19:29:26 +00:00
|
|
|
# There is no valgrind support for 31-bit s390.
|
2015-10-28 15:52:56 +00:00
|
|
|
# The valgrind test does not work on ppc64, ppc64p7 (bug 1273103).
|
2015-08-28 19:29:26 +00:00
|
|
|
%undefine with_valgrind
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%if %{with werror}
|
2015-11-18 12:28:07 +00:00
|
|
|
%ifarch s390 s390x
|
|
|
|
# The s390 and s390x builds are not -Werror clean yet. For s390, the
|
|
|
|
# latest problem may be due to questionable code in test-string.h
|
|
|
|
# (upstream bug 19261, rhbz#1283184).
|
2015-08-28 19:29:26 +00:00
|
|
|
%undefine with_werror
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%if %{with bootstrap}
|
|
|
|
# Disable benchtests, -Werror, docs, and valgrind if we're bootstrapping
|
|
|
|
%undefine with_benchtests
|
|
|
|
%undefine with_werror
|
|
|
|
%undefine with_docs
|
|
|
|
%undefine with_valgrind
|
2015-01-21 14:48:21 +00:00
|
|
|
%endif
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Auxiliary arches are those arches that can be built in addition
|
|
|
|
# to the core supported arches. You either install an auxarch or
|
|
|
|
# you install the base arch, not both. You would do this in order
|
|
|
|
# to provide a more optimized version of the package for your arch.
|
2010-09-16 03:30:56 +00:00
|
|
|
%define auxarches athlon alphaev6
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
2014-09-30 16:34:19 +00:00
|
|
|
# Enable lock elision support for these architectures
|
|
|
|
#
|
|
|
|
# At the moment lock elision is disabled on x86_64 until there's a CPU that
|
|
|
|
# would actually benefit from enabling it. Intel released a microcode update
|
|
|
|
# to disable HLE and RTM at boot and the Fedora kernel now applies it early
|
|
|
|
# enough that keeping lock elision enabled should be harmless, but we have
|
|
|
|
# disabled it anyway as a conservative measure.
|
|
|
|
%define lock_elision_arches s390 s390x
|
|
|
|
##############################################################################
|
2013-07-24 11:58:38 +00:00
|
|
|
# We build a special package for Xen that includes TLS support with
|
|
|
|
# no negative segment offsets for use with Xen guests. This is
|
|
|
|
# purely an optimization for increased performance on those arches.
|
2005-04-27 12:26:45 +00:00
|
|
|
%define xenarches i686 athlon
|
|
|
|
%ifarch %{xenarches}
|
|
|
|
%define buildxen 1
|
2005-04-27 20:09:52 +00:00
|
|
|
%define xenpackage 0
|
2005-04-27 12:26:45 +00:00
|
|
|
%else
|
|
|
|
%define buildxen 0
|
|
|
|
%define xenpackage 0
|
|
|
|
%endif
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
2016-01-12 16:59:28 +00:00
|
|
|
# We support only 64-bit POWER with the following runtimes:
|
|
|
|
# 64-bit BE:
|
|
|
|
# - Power 620 / 970 ISA (default runtime, compatile with POWER4 and newer)
|
|
|
|
# - Provided for the large number of PowerPC G5 users.
|
|
|
|
# - IFUNC support provides optimized core routines for POWER6,
|
|
|
|
# POWER7, and POWER8 transparently (if not using specific runtimes
|
|
|
|
# below)
|
|
|
|
# - POWER6 (has power6x symlink to power6, enabled via AT_PLATFORM)
|
|
|
|
# - Legacy for old systems. Should be deprecated at some point soon.
|
|
|
|
# - POWER7 (enabled via AT_PLATFORM)
|
|
|
|
# - Existing deployments.
|
|
|
|
# - POWER8 (enabled via AT_PLATFORM)
|
|
|
|
# - Latest generation.
|
|
|
|
# 64-bit LE:
|
|
|
|
# - POWER8 LE (default)
|
|
|
|
# - Latest generation.
|
|
|
|
#
|
|
|
|
# No 32-bit POWER support is provided.
|
|
|
|
#
|
|
|
|
# There are currently no plans for POWER9 enablement, but as hardware and
|
|
|
|
# upstream support become available this will be reviewed.
|
|
|
|
#
|
|
|
|
%ifarch ppc64
|
|
|
|
# Build the additional runtimes for 64-bit BE POWER.
|
2006-09-15 20:28:56 +00:00
|
|
|
%define buildpower6 1
|
2016-01-12 16:59:28 +00:00
|
|
|
%define buildpower7 1
|
|
|
|
%define buildpower8 1
|
2006-09-15 20:28:56 +00:00
|
|
|
%else
|
2016-01-12 16:59:28 +00:00
|
|
|
# No additional runtimes for ppc64le or ppc64p7, just the default.
|
2006-09-15 20:28:56 +00:00
|
|
|
%define buildpower6 0
|
2016-01-12 16:59:28 +00:00
|
|
|
%define buildpower7 0
|
|
|
|
%define buildpower8 0
|
2006-09-15 20:28:56 +00:00
|
|
|
%endif
|
2016-02-09 08:48:54 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Any architecture/kernel combination that supports running 32-bit and 64-bit
|
|
|
|
# code in userspace is considered a biarch arch.
|
2016-01-12 16:59:28 +00:00
|
|
|
%define biarcharches %{ix86} x86_64 %{power64} s390 s390x
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# If the debug information is split into two packages, the core debuginfo
|
|
|
|
# pacakge and the common debuginfo package then the arch should be listed
|
|
|
|
# here. If the arch is not listed here then a single core debuginfo package
|
|
|
|
# will be created for the architecture.
|
2011-02-15 13:29:18 +00:00
|
|
|
%define debuginfocommonarches %{biarcharches} alpha alphaev6
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# If the architecture has multiarch support in glibc then it should be listed
|
|
|
|
# here to enable support in the build. Multiarch support is a single library
|
|
|
|
# with implementations of certain functions for multiple architectures. The
|
|
|
|
# most optimal function is selected at runtime based on the hardware that is
|
|
|
|
# detected by glibc. The underlying support for function selection and
|
|
|
|
# execution is provided by STT_GNU_IFUNC.
|
2016-01-12 16:59:28 +00:00
|
|
|
%define multiarcharches %{power64} %{ix86} x86_64 %{sparc}
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
2013-03-18 00:13:38 +00:00
|
|
|
# Add -s for a less verbose build output.
|
|
|
|
%define silentrules PARALLELMFLAGS=
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# %%package glibc - The GNU C Library (glibc) core package.
|
|
|
|
##############################################################################
|
2008-03-05 10:32:39 +00:00
|
|
|
Summary: The GNU libc libraries
|
2004-09-09 05:40:37 +00:00
|
|
|
Name: glibc
|
2009-06-26 15:46:27 +00:00
|
|
|
Version: %{glibcversion}
|
2015-06-17 20:40:15 +00:00
|
|
|
Release: %{glibcrelease}
|
2007-08-04 21:26:28 +00:00
|
|
|
# GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
|
|
|
|
# Things that are linked directly into dynamically linked programs
|
|
|
|
# and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
|
|
|
|
# exception which allows linking it into any kind of programs or shared
|
|
|
|
# libraries without restrictions.
|
|
|
|
License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
|
2004-09-09 05:40:37 +00:00
|
|
|
Group: System Environment/Libraries
|
2010-07-12 11:40:50 +00:00
|
|
|
URL: http://www.gnu.org/software/glibc/
|
2011-12-20 05:46:44 +00:00
|
|
|
Source0: %{?glibc_release_url}%{glibcsrcdir}.tar.gz
|
2013-08-19 11:35:59 +00:00
|
|
|
Source1: build-locale-archive.c
|
|
|
|
Source2: glibc_post_upgrade.c
|
|
|
|
Source4: nscd.conf
|
|
|
|
Source7: nsswitch.conf
|
|
|
|
Source8: power6emul.c
|
2015-05-08 06:19:59 +00:00
|
|
|
Source9: bench.mk
|
|
|
|
Source10: glibc-bench-compare
|
2016-05-09 18:43:58 +00:00
|
|
|
# A copt of localedata/SUPPORTED in the Source0 tarball. The
|
|
|
|
# SUPPORTED file is used below to generate the list of locale
|
|
|
|
# packages. See the language_list macro definition.
|
2016-02-26 09:06:35 +00:00
|
|
|
Source11: SUPPORTED
|
2012-04-05 21:59:29 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Start of glibc patches
|
|
|
|
##############################################################################
|
2012-04-05 21:59:29 +00:00
|
|
|
# 0000-0999 for patches which are unlikely to ever go upstream or which
|
|
|
|
# have not been analyzed to see if they ought to go upstream yet.
|
2013-07-24 05:22:37 +00:00
|
|
|
#
|
|
|
|
# 1000-2000 for patches that are already upstream.
|
2012-04-05 21:59:29 +00:00
|
|
|
#
|
|
|
|
# 2000-3000 for patches that are awaiting upstream approval
|
|
|
|
#
|
|
|
|
# Yes, I realize this means some gratutious changes as patches to from
|
|
|
|
# one bucket to another, but I find this scheme makes it easier to track
|
|
|
|
# the upstream divergence and patches needing approval.
|
|
|
|
#
|
|
|
|
# Note that we can still apply the patches in any order we see fit, so
|
|
|
|
# the changes from one bucket to another won't necessarily result in needing
|
|
|
|
# to twiddle the patch because of dependencies on prior patches and the like.
|
|
|
|
|
|
|
|
|
2014-03-05 21:13:37 +00:00
|
|
|
##############################################################################
|
2012-04-05 21:59:29 +00:00
|
|
|
#
|
2014-03-05 21:13:37 +00:00
|
|
|
# Patches that are unlikely to go upstream or not yet analyzed.
|
2012-04-05 21:59:29 +00:00
|
|
|
#
|
2014-03-05 21:13:37 +00:00
|
|
|
##############################################################################
|
2012-10-05 18:24:19 +00:00
|
|
|
|
|
|
|
# Configuration twiddle, not sure there's a good case to get upstream to
|
|
|
|
# change this.
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch0001: glibc-fedora-nscd.patch
|
2012-04-05 21:59:29 +00:00
|
|
|
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch0003: glibc-fedora-ldd.patch
|
2012-06-22 19:30:06 +00:00
|
|
|
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch0004: glibc-fedora-ppc-unwind.patch
|
2012-06-22 19:30:06 +00:00
|
|
|
|
|
|
|
# Build info files in the source tree, then move to the build
|
|
|
|
# tree so that they're identical for multilib builds
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch0005: glibc-rh825061.patch
|
2012-06-22 19:30:06 +00:00
|
|
|
|
|
|
|
# Horrible hack, never to be upstreamed. Can go away once the world
|
|
|
|
# has been rebuilt to use the new ld.so path.
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch0006: glibc-arm-hardfloat-3.patch
|
2012-06-22 19:30:06 +00:00
|
|
|
|
2012-04-05 21:59:29 +00:00
|
|
|
# Needs to be sent upstream
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch0009: glibc-fedora-include-bits-ldbl.patch
|
2012-04-05 21:59:29 +00:00
|
|
|
|
2012-12-06 17:45:03 +00:00
|
|
|
# All these were from the glibc-fedora.patch mega-patch and need another
|
|
|
|
# round of reviewing. Ideally they'll either be submitted upstream or
|
|
|
|
# dropped.
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch0012: glibc-fedora-linux-tcsetattr.patch
|
|
|
|
Patch0014: glibc-fedora-nptl-linklibc.patch
|
|
|
|
Patch0015: glibc-fedora-localedef.patch
|
|
|
|
Patch0016: glibc-fedora-i386-tls-direct-seg-refs.patch
|
|
|
|
Patch0019: glibc-fedora-nis-rh188246.patch
|
|
|
|
Patch0020: glibc-fedora-manual-dircategory.patch
|
|
|
|
Patch0024: glibc-fedora-locarchive.patch
|
|
|
|
Patch0025: glibc-fedora-streams-rh436349.patch
|
|
|
|
Patch0028: glibc-fedora-localedata-rh61908.patch
|
|
|
|
Patch0031: glibc-fedora-__libc_multiple_libcs.patch
|
|
|
|
Patch0033: glibc-fedora-elf-ORIGIN.patch
|
2012-09-21 19:08:53 +00:00
|
|
|
|
2014-03-12 22:13:23 +00:00
|
|
|
# Needs to be sent upstream.
|
|
|
|
# Support mangling and demangling null pointers.
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch0037: glibc-rh952799.patch
|
2013-02-28 00:48:51 +00:00
|
|
|
|
2013-10-03 01:34:56 +00:00
|
|
|
# ARM: Accept that some objects marked hard ABI are now not because of a
|
|
|
|
# binutils bug.
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch0044: glibc-rh1009145.patch
|
2013-10-03 01:34:56 +00:00
|
|
|
|
2013-10-03 09:22:51 +00:00
|
|
|
# Allow applications to call pthread_atfork without libpthread.so.
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch0046: glibc-rh1013801.patch
|
2013-10-03 09:22:51 +00:00
|
|
|
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch0047: glibc-nscd-sysconfig.patch
|
2014-02-26 19:01:15 +00:00
|
|
|
|
2014-09-27 16:31:11 +00:00
|
|
|
# Disable rwlock elision if --enable-lock-elision is not used.
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch0052: glibc-disable-rwlock-elision.patch
|
2014-09-27 16:31:11 +00:00
|
|
|
|
2014-10-10 09:07:46 +00:00
|
|
|
# confstr _CS_PATH should only return /usr/bin on Fedora since /bin is just a
|
|
|
|
# symlink to it.
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch0053: glibc-cs-path.patch
|
2014-10-10 09:07:46 +00:00
|
|
|
|
2015-09-17 16:24:49 +00:00
|
|
|
# Fix -Warray-bounds warning for GCC5, likely PR/59124 or PR/66422.
|
|
|
|
# See Fedora bug #1263817.
|
|
|
|
Patch0054: glibc-res-hconf-gcc5.patch
|
|
|
|
Patch0055: glibc-ld-ctype-gcc5.patch
|
|
|
|
Patch0056: glibc-gethnamaddr-gcc5.patch
|
|
|
|
Patch0057: glibc-dns-host-gcc5.patch
|
|
|
|
Patch0058: glibc-bug-regex-gcc5.patch
|
|
|
|
|
|
|
|
# Add C.UTF-8 locale into /usr/lib/locale/
|
|
|
|
Patch0059: glibc-c-utf8-locale.patch
|
|
|
|
|
2014-03-05 21:13:37 +00:00
|
|
|
##############################################################################
|
2012-04-05 21:59:29 +00:00
|
|
|
#
|
|
|
|
# Patches from upstream
|
|
|
|
#
|
2014-03-05 21:13:37 +00:00
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
##############################################################################
|
2012-04-05 21:59:29 +00:00
|
|
|
#
|
|
|
|
# Patches submitted, but not yet approved upstream.
|
2014-03-05 21:13:37 +00:00
|
|
|
#
|
|
|
|
##############################################################################
|
|
|
|
#
|
2012-04-05 21:59:29 +00:00
|
|
|
# Each should be associated with a BZ.
|
|
|
|
# Obviously we're not there right now, but that's the goal
|
|
|
|
#
|
2014-03-05 21:13:37 +00:00
|
|
|
|
2012-12-06 17:45:03 +00:00
|
|
|
# http://sourceware.org/ml/libc-alpha/2012-12/msg00103.html
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch2007: glibc-rh697421.patch
|
2012-04-05 21:59:29 +00:00
|
|
|
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch2013: glibc-rh741105.patch
|
2012-04-05 21:59:29 +00:00
|
|
|
|
2012-06-22 19:30:06 +00:00
|
|
|
# Upstream BZ 14247
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch2023: glibc-rh827510.patch
|
2012-06-22 19:30:06 +00:00
|
|
|
|
2012-05-31 20:21:36 +00:00
|
|
|
# Upstream BZ 14185
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch2027: glibc-rh819430.patch
|
2013-07-29 14:34:15 +00:00
|
|
|
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch2031: glibc-rh1070416.patch
|
2014-02-25 09:52:53 +00:00
|
|
|
|
2015-07-07 18:04:07 +00:00
|
|
|
Patch2033: glibc-aarch64-tls-fixes.patch
|
|
|
|
Patch2034: glibc-aarch64-workaround-nzcv-clobber-in-tlsdesc.patch
|
2014-05-22 02:06:41 +00:00
|
|
|
|
2016-01-28 13:24:44 +00:00
|
|
|
Patch2036: glibc-gcc-PR69537.patch
|
2016-01-13 17:59:35 +00:00
|
|
|
|
2016-03-07 05:52:27 +00:00
|
|
|
# extend_alloca removal, BZ 18023
|
|
|
|
Patch2037: glibc-rh1315108.patch
|
2016-05-11 14:08:21 +00:00
|
|
|
Patch2038: glibc-rh1335011.patch
|
2016-03-07 05:52:27 +00:00
|
|
|
|
2016-06-29 09:35:36 +00:00
|
|
|
# Upstream BZ 20313
|
|
|
|
Patch2110: glibc-rh1351108-update-to-unicode-9.0.0.patch
|
|
|
|
|
2016-07-13 14:34:41 +00:00
|
|
|
# sln implemented by ldconfig, to conserve disk space.
|
|
|
|
Patch2111: glibc-rh1315476-1.patch
|
|
|
|
Patch2112: glibc-rh1315476-2.patch
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# End of glibc patches.
|
|
|
|
##############################################################################
|
2012-05-31 20:21:36 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Continued list of core "glibc" package information:
|
|
|
|
##############################################################################
|
2008-03-05 10:32:39 +00:00
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Obsoletes: glibc-profile < 2.4
|
2004-09-09 05:40:37 +00:00
|
|
|
Provides: ldconfig
|
2013-07-24 11:58:38 +00:00
|
|
|
|
2006-07-11 15:23:42 +00:00
|
|
|
# The dynamic linker supports DT_GNU_HASH
|
|
|
|
Provides: rtld(GNU_HASH)
|
2012-06-12 01:32:35 +00:00
|
|
|
|
|
|
|
# This is a short term need until everything is rebuilt in the ARM world
|
|
|
|
# to use the new dynamic linker path
|
|
|
|
%ifarch armv7hl armv7hnl
|
|
|
|
Provides: ld-linux.so.3
|
|
|
|
Provides: ld-linux.so.3(GLIBC_2.4)
|
|
|
|
%endif
|
|
|
|
|
2004-09-09 05:40:37 +00:00
|
|
|
Requires: glibc-common = %{version}-%{release}
|
2013-07-24 11:58:38 +00:00
|
|
|
|
2016-07-22 13:39:33 +00:00
|
|
|
Requires(pre): basesystem
|
2013-07-24 11:58:38 +00:00
|
|
|
|
2004-09-09 05:52:48 +00:00
|
|
|
# This is for building auxiliary programs like memusage, nscd
|
2004-09-09 05:40:37 +00:00
|
|
|
# For initial glibc bootstraps it can be commented out
|
2015-08-28 19:29:26 +00:00
|
|
|
BuildRequires: gd-devel libpng-devel zlib-devel
|
|
|
|
%if %{with docs}
|
|
|
|
# Removing texinfo will cause check-safety.sh test to fail because it seems to
|
|
|
|
# trigger documentation generation based on dependencies. We need to fix this
|
|
|
|
# upstream in some way that doesn't depend on generating docs to validate the
|
|
|
|
# texinfo. I expect it's simply the wrong dependency for that target.
|
|
|
|
BuildRequires: texinfo
|
|
|
|
%endif
|
|
|
|
%if %{without bootstrap}
|
|
|
|
BuildRequires: libselinux-devel >= 1.33.4-3
|
|
|
|
BuildRequires: nss-devel
|
|
|
|
%endif
|
|
|
|
BuildRequires: audit-libs-devel >= 1.1.3, sed >= 3.95, libcap-devel, gettext
|
2015-09-17 16:24:49 +00:00
|
|
|
# We need procps-ng (/bin/ps), util-linux (/bin/kill), and gawk (/bin/awk),
|
|
|
|
# but it is more flexible to require the actual programs and let rpm infer
|
|
|
|
# the packages. However, until bug 1259054 is widely fixed we avoid the
|
|
|
|
# following:
|
|
|
|
# BuildRequires: /bin/ps, /bin/kill, /bin/awk
|
|
|
|
# And use instead (which should be reverted some time in the future):
|
|
|
|
BuildRequires: procps-ng, util-linux, gawk
|
2011-04-07 11:22:58 +00:00
|
|
|
BuildRequires: systemtap-sdt-devel
|
2013-07-24 11:58:38 +00:00
|
|
|
|
2015-08-28 19:29:26 +00:00
|
|
|
%if %{with valgrind}
|
2015-09-17 16:24:49 +00:00
|
|
|
# Require valgrind for smoke testing the dynamic loader to make sure we
|
|
|
|
# have not broken valgrind.
|
2014-09-23 11:28:34 +00:00
|
|
|
BuildRequires: /usr/bin/valgrind
|
|
|
|
%endif
|
|
|
|
|
2013-08-16 14:00:36 +00:00
|
|
|
# We use systemd rpm macros for nscd
|
|
|
|
BuildRequires: systemd
|
|
|
|
|
2015-07-15 15:28:17 +00:00
|
|
|
# We use python for the microbenchmarks
|
|
|
|
BuildRequires: python
|
|
|
|
|
2004-09-09 05:40:37 +00:00
|
|
|
# This is to ensure that __frame_state_for is exported by glibc
|
|
|
|
# will be compatible with egcs 1.x.y
|
2008-03-05 10:32:39 +00:00
|
|
|
BuildRequires: gcc >= 3.2
|
2010-07-21 15:08:07 +00:00
|
|
|
%define enablekernel 2.6.32
|
2010-08-02 12:18:20 +00:00
|
|
|
Conflicts: kernel < %{enablekernel}
|
2011-07-20 11:54:13 +00:00
|
|
|
%define target %{_target_cpu}-redhat-linux
|
|
|
|
%ifarch %{arm}
|
|
|
|
%define target %{_target_cpu}-redhat-linuxeabi
|
2004-09-09 05:54:44 +00:00
|
|
|
%endif
|
2012-09-04 17:33:31 +00:00
|
|
|
%ifarch %{power64}
|
2014-05-14 07:21:29 +00:00
|
|
|
%ifarch ppc64le
|
|
|
|
%define target ppc64le-redhat-linux
|
|
|
|
%else
|
2012-09-04 17:33:31 +00:00
|
|
|
%define target ppc64-redhat-linux
|
|
|
|
%endif
|
2014-05-14 07:21:29 +00:00
|
|
|
%endif
|
2013-07-24 11:58:38 +00:00
|
|
|
|
2009-06-26 15:46:27 +00:00
|
|
|
%ifarch %{multiarcharches}
|
|
|
|
# Need STT_IFUNC support
|
2016-01-12 16:59:28 +00:00
|
|
|
%ifarch %{power64}
|
2009-11-24 15:50:44 +00:00
|
|
|
BuildRequires: binutils >= 2.20.51.0.2
|
|
|
|
Conflicts: binutils < 2.20.51.0.2
|
|
|
|
%else
|
2013-09-19 14:23:27 +00:00
|
|
|
%ifarch s390 s390x
|
|
|
|
# Needed for STT_GNU_IFUNC support for s390/390x
|
|
|
|
BuildRequires: binutils >= 2.23.52.0.1-8
|
|
|
|
Conflicts: binutils < 2.23.52.0.1-8
|
|
|
|
%else
|
|
|
|
# Default to this version
|
2009-06-26 15:46:27 +00:00
|
|
|
BuildRequires: binutils >= 2.19.51.0.10
|
2009-11-12 17:51:25 +00:00
|
|
|
Conflicts: binutils < 2.19.51.0.10
|
2009-11-24 15:50:44 +00:00
|
|
|
%endif
|
2013-09-19 14:23:27 +00:00
|
|
|
%endif
|
2009-08-24 09:22:26 +00:00
|
|
|
# Earlier releases have broken support for IRELATIVE relocations
|
|
|
|
Conflicts: prelink < 0.4.2
|
2009-06-26 15:46:27 +00:00
|
|
|
%else
|
2009-08-24 09:22:26 +00:00
|
|
|
# Need AS_NEEDED directive
|
|
|
|
# Need --hash-style=* support
|
2006-07-11 10:26:01 +00:00
|
|
|
BuildRequires: binutils >= 2.17.50.0.2-5
|
2009-06-26 15:46:27 +00:00
|
|
|
%endif
|
2013-07-24 11:58:38 +00:00
|
|
|
|
2004-09-09 05:40:37 +00:00
|
|
|
BuildRequires: gcc >= 3.2.1-5
|
2016-01-12 16:59:28 +00:00
|
|
|
%ifarch s390 s390x
|
2006-01-30 10:11:25 +00:00
|
|
|
BuildRequires: gcc >= 4.1.0-0.17
|
|
|
|
%endif
|
2009-06-26 15:46:27 +00:00
|
|
|
%if 0%{?_enable_debug_packages}
|
2008-03-05 10:32:39 +00:00
|
|
|
BuildRequires: elfutils >= 0.72
|
|
|
|
BuildRequires: rpm >= 4.2-0.56
|
2004-09-09 05:40:37 +00:00
|
|
|
%endif
|
2013-07-24 11:58:38 +00:00
|
|
|
|
2015-11-27 06:14:36 +00:00
|
|
|
%if %{without boostrap}
|
|
|
|
%if %{with testsuite}
|
|
|
|
# The testsuite builds static C++ binaries that require a C++ compiler,
|
|
|
|
# static C++ runtime from libstdc++-static, and lastly static glibc.
|
2015-08-28 19:29:26 +00:00
|
|
|
BuildRequires: gcc-c++
|
2013-07-24 12:54:14 +00:00
|
|
|
BuildRequires: libstdc++-static
|
2015-11-27 06:14:36 +00:00
|
|
|
# A configure check tests for the ability to create static C++ binaries
|
|
|
|
# before glibc is built and therefore we need a glibc-static for that
|
|
|
|
# check to pass even if we aren't going to use any of those objects to
|
|
|
|
# build the tests.
|
|
|
|
BuildRequires: glibc-static
|
|
|
|
%endif
|
|
|
|
%endif
|
2013-07-24 12:54:14 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# Filter out all GLIBC_PRIVATE symbols since they are internal to
|
2013-07-25 02:45:11 +00:00
|
|
|
# the package and should not be examined by any other tool.
|
2011-08-15 09:29:40 +00:00
|
|
|
%global __filter_GLIBC_PRIVATE 1
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2016-03-01 07:59:24 +00:00
|
|
|
# For language packs we have glibc require a virtual dependency
|
|
|
|
# "glibc-langpack" wich gives us at least one installed langpack.
|
|
|
|
# If no langpack providing 'glibc-langpack' was installed you'd
|
|
|
|
# get all of them, and that would make the transition from a
|
|
|
|
# system without langpacks smoother (you'd get all the locales
|
|
|
|
# installed). You would then trim that list, and the trimmed list
|
|
|
|
# is preserved. One problem is you can't have "no" locales installed,
|
|
|
|
# in that case we offer a "glibc-minimal-langpack" sub-pakcage for
|
|
|
|
# this purpose.
|
|
|
|
Requires: glibc-langpack = %{version}-%{release}
|
|
|
|
Suggests: glibc-all-langpacks = %{version}-%{release}
|
|
|
|
|
2004-09-09 05:40:37 +00:00
|
|
|
%description
|
|
|
|
The glibc package contains standard libraries which are used by
|
|
|
|
multiple programs on the system. In order to save disk space and
|
|
|
|
memory, as well as to make upgrading easier, common system code is
|
|
|
|
kept in one place and shared between programs. This particular package
|
|
|
|
contains the most important sets of shared libraries: the standard C
|
|
|
|
library and the standard math library. Without these two libraries, a
|
|
|
|
Linux system will not function.
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# glibc "xen" sub-package
|
|
|
|
##############################################################################
|
2005-04-27 12:26:45 +00:00
|
|
|
%if %{xenpackage}
|
|
|
|
%package xen
|
|
|
|
Summary: The GNU libc libraries (optimized for running under Xen)
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Requires: glibc = %{version}-%{release}, glibc-utils = %{version}-%{release}
|
|
|
|
|
|
|
|
%description xen
|
|
|
|
The standard glibc package is optimized for native kernels and does not
|
|
|
|
perform as well under the Xen hypervisor. This package provides alternative
|
|
|
|
library binaries that will be selected instead when running under Xen.
|
|
|
|
|
|
|
|
Install glibc-xen if you might run your system under the Xen hypervisor.
|
|
|
|
%endif
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# glibc "devel" sub-package
|
|
|
|
##############################################################################
|
2004-09-09 05:40:37 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Object files for development using standard C libraries.
|
|
|
|
Group: Development/Libraries
|
2008-03-05 10:32:39 +00:00
|
|
|
Requires(pre): /sbin/install-info
|
2009-06-26 15:46:27 +00:00
|
|
|
Requires(pre): %{name}-headers
|
|
|
|
Requires: %{name}-headers = %{version}-%{release}
|
2008-03-05 10:32:39 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2016-07-22 13:35:11 +00:00
|
|
|
Requires: libgcc%{_isa}
|
2004-09-09 05:40:37 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The glibc-devel package contains the object files necessary
|
|
|
|
for developing programs which use the standard C libraries (which are
|
|
|
|
used by nearly all programs). If you are developing programs which
|
|
|
|
will use the standard C libraries, your system needs to have these
|
|
|
|
standard object files available in order to create the
|
|
|
|
executables.
|
|
|
|
|
|
|
|
Install glibc-devel if you are going to develop programs which will
|
|
|
|
use the standard C libraries.
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# glibc "static" sub-package
|
|
|
|
##############################################################################
|
2009-02-18 20:47:04 +00:00
|
|
|
%package static
|
|
|
|
Summary: C library static libraries for -static linking.
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
%description static
|
|
|
|
The glibc-static package contains the C library static libraries
|
|
|
|
for -static linking. You don't need these, unless you link statically,
|
|
|
|
which is highly discouraged.
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# glibc "headers" sub-package
|
2015-06-17 20:40:15 +00:00
|
|
|
# - The headers package includes all common headers that are shared amongst
|
|
|
|
# the multilib builds. It was created to reduce the download size, and
|
|
|
|
# thus avoid downloading one header package per multilib. The package is
|
|
|
|
# identical both in content and file list, any difference is an error.
|
|
|
|
# Files like gnu/stubs.h which have gnu/stubs-32.h (i686) and gnu/stubs-64.h
|
|
|
|
# are included in glibc-headers, but the -32 and -64 files are in their
|
|
|
|
# respective i686 and x86_64 devel packages.
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
2004-09-09 05:40:37 +00:00
|
|
|
%package headers
|
|
|
|
Summary: Header files for development using standard C libraries.
|
|
|
|
Group: Development/Libraries
|
|
|
|
Provides: %{name}-headers(%{_target_cpu})
|
|
|
|
%ifarch x86_64
|
|
|
|
# If both -m32 and -m64 is to be supported on AMD64, x86_64 glibc-headers
|
2009-02-18 20:47:04 +00:00
|
|
|
# have to be installed, not i586 ones.
|
|
|
|
Obsoletes: %{name}-headers(i586)
|
2009-07-20 13:24:45 +00:00
|
|
|
Obsoletes: %{name}-headers(i686)
|
2004-09-09 05:40:37 +00:00
|
|
|
%endif
|
2008-03-05 10:32:39 +00:00
|
|
|
Requires(pre): kernel-headers
|
2005-04-01 16:55:01 +00:00
|
|
|
Requires: kernel-headers >= 2.2.1, %{name} = %{version}-%{release}
|
2007-08-01 17:49:56 +00:00
|
|
|
BuildRequires: kernel-headers >= 2.6.22
|
2004-09-09 05:40:37 +00:00
|
|
|
|
|
|
|
%description headers
|
|
|
|
The glibc-headers package contains the header files necessary
|
|
|
|
for developing programs which use the standard C libraries (which are
|
|
|
|
used by nearly all programs). If you are developing programs which
|
|
|
|
will use the standard C libraries, your system needs to have these
|
|
|
|
standard header files available in order to create the
|
|
|
|
executables.
|
|
|
|
|
|
|
|
Install glibc-headers if you are going to develop programs which will
|
|
|
|
use the standard C libraries.
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# glibc "common" sub-package
|
|
|
|
##############################################################################
|
2004-09-09 05:40:37 +00:00
|
|
|
%package common
|
|
|
|
Summary: Common binaries and locale data for glibc
|
2008-03-26 12:29:52 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2004-09-09 05:40:37 +00:00
|
|
|
Requires: tzdata >= 2003a
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
|
|
|
%description common
|
|
|
|
The glibc-common package includes common binaries for the GNU libc
|
|
|
|
libraries, as well as national language (locale) support.
|
|
|
|
|
2016-02-26 09:06:35 +00:00
|
|
|
%package locale-source
|
|
|
|
Summary: The sources for the locales
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
|
|
|
%description locale-source
|
|
|
|
The sources for all locales provided in the language packs.
|
|
|
|
If you are building custom locales you will most likely use
|
|
|
|
these sources as the basis for your new locale.
|
|
|
|
|
|
|
|
%define lang_package()\
|
|
|
|
%package langpack-%{1}\
|
|
|
|
Summary: Locale data for %{1}\
|
2016-03-01 07:59:24 +00:00
|
|
|
Provides: glibc-langpack = %{version}-%{release}\
|
2016-02-26 09:06:35 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}\
|
|
|
|
Requires: %{name}-common = %{version}-%{release}\
|
|
|
|
%define supplements_list %(cat %{SOURCE11} | grep ^%{1}_ | cut -d / -f 1 | cut -d @ -f 1 | cut -d . -f 1 | sort -u | tr "\\\\n" " " | sed 's/ $//' | sed 's/ / or langpacks-/g' | sed 's/^/ or langpacks-/')\
|
|
|
|
Supplements: (glibc = %{version}-%{release} and (langpacks-%{1}%{supplements_list}))\
|
|
|
|
Group: System Environment/Base\
|
|
|
|
%description langpack-%{1}\
|
|
|
|
The glibc-langpack-%{1} package includes the basic information required\
|
|
|
|
to support the %{1} language in your applications.\
|
|
|
|
%ifnarch %{auxarches}\
|
|
|
|
%files -f langpack-%{1}.filelist langpack-%{1}\
|
|
|
|
%defattr(-,root,root)\
|
|
|
|
%endif\
|
|
|
|
%{nil}
|
|
|
|
|
|
|
|
# language_list will contain a list of all supported language
|
|
|
|
# names in iso-639 format, i.e. something like "aa af ... yue zh zu"
|
|
|
|
# We add "eo" (Esperanto) manually because currently glibc has no
|
|
|
|
# Esperanto locale in SUPPORTED but translations for Esperanto exist.
|
|
|
|
# Therefore, we want a glibc-langpack-eo sub-package containing these
|
|
|
|
# translations.
|
|
|
|
%define language_list eo %(cat %{SOURCE11} | grep -E '^[a-z]+_' | cut -d _ -f 1 | sort -u | tr "\\\\n" " " | sed 's/ $//')
|
|
|
|
|
|
|
|
%define create_lang_packages()\
|
|
|
|
%{lua:\
|
|
|
|
local languages = rpm.expand("%1")\
|
|
|
|
string.gsub(languages, "(%a+)",\
|
|
|
|
function(i) print(rpm.expand("%lang_package "..i.."")) end)}\
|
|
|
|
%{nil}
|
|
|
|
|
|
|
|
%create_lang_packages %language_list
|
|
|
|
|
|
|
|
%define require_langpacks()\
|
|
|
|
%{lua:\
|
|
|
|
local languages = rpm.expand("%1")\
|
|
|
|
string.gsub(languages, "(%a+)",\
|
|
|
|
function(i) print(rpm.expand("Requires: %{name}-langpack-"..i.." = %{version}-%{release}\\n")) end)}\
|
|
|
|
%{nil}
|
|
|
|
|
2016-03-01 07:59:24 +00:00
|
|
|
# The glibc-all-langpacks provides the virtual glibc-langpack,
|
|
|
|
# and thus satisfies glibc's requirement for installed locales.
|
|
|
|
# Users can add one more other langauge packs and then eventually
|
|
|
|
# uninstall all-langpacks to save space.
|
2016-02-26 09:06:35 +00:00
|
|
|
%package all-langpacks
|
2016-03-01 07:59:24 +00:00
|
|
|
Summary: All language packs for %{name}.
|
2016-02-26 09:06:35 +00:00
|
|
|
Group: System Environment/Base
|
2016-03-01 07:59:24 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
Provides: %{name}-langpack = %{version}-%{release}
|
2016-02-26 09:06:35 +00:00
|
|
|
%description all-langpacks
|
2016-03-01 07:59:24 +00:00
|
|
|
|
|
|
|
# No %files, this is an empty pacakge. The C/POSIX and
|
|
|
|
# C.UTF-8 files are already installed by glibc. We create
|
|
|
|
# minimal-langpack because the virtual provide of
|
|
|
|
# glibc-langpack needs at least one package installed
|
|
|
|
# to satisfy it. Given that no-locales installed is a valid
|
|
|
|
# use case we support it here with this package.
|
|
|
|
%package minimal-langpack
|
|
|
|
Summary: Minimal language packs for %{name}.
|
|
|
|
Group: System Environment/Base
|
|
|
|
Provides: glibc-langpack = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
%description minimal-langpack
|
|
|
|
This is a Meta package that is used to install minimal language packs.
|
|
|
|
This package ensures you can use C, POSIX, or C.UTF-8 locales, but
|
|
|
|
nothing else. It is designed for assembling a minimal system.
|
2016-02-26 09:06:35 +00:00
|
|
|
%ifnarch %{auxarches}
|
2016-03-01 07:59:24 +00:00
|
|
|
%files minimal-langpack
|
2016-02-26 09:06:35 +00:00
|
|
|
%endif
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# glibc "nscd" sub-package
|
|
|
|
##############################################################################
|
2004-09-09 05:40:37 +00:00
|
|
|
%package -n nscd
|
|
|
|
Summary: A Name Service Caching Daemon (nscd).
|
|
|
|
Group: System Environment/Daemons
|
2010-10-14 10:30:32 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2016-05-03 19:51:17 +00:00
|
|
|
%if %{without bootstrap}
|
2015-08-28 19:29:26 +00:00
|
|
|
Requires: libselinux >= 1.17.10-1
|
|
|
|
%endif
|
|
|
|
Requires: audit-libs >= 1.1.3
|
2011-09-28 12:23:58 +00:00
|
|
|
Requires(pre): /usr/sbin/useradd, coreutils
|
2013-07-22 09:14:54 +00:00
|
|
|
Requires(post): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(postun): systemd, /usr/sbin/userdel
|
2004-09-09 05:40:37 +00:00
|
|
|
|
|
|
|
%description -n nscd
|
|
|
|
Nscd caches name service lookups and can dramatically improve
|
2006-03-28 10:15:50 +00:00
|
|
|
performance with NIS+, and may help with DNS as well.
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2016-07-20 15:09:24 +00:00
|
|
|
##############################################################################
|
|
|
|
# Subpackages for NSS modules except nss_files, nss_dns
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
%package -n nss_db
|
|
|
|
Summary: Name Service Switch (NSS) module using hash-indexed files
|
|
|
|
Group: System Environment/Base
|
|
|
|
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n nss_db
|
|
|
|
The nss_db Name Service Switch module uses hash-indexed files in /var/db
|
|
|
|
to speed up user, group, service, host name, and other NSS-based lookups.
|
|
|
|
|
|
|
|
%package -n nss_nis
|
|
|
|
Summary: Name Service Switch (NSS) module using NIS
|
|
|
|
Group: System Environment/Base
|
|
|
|
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n nss_nis
|
|
|
|
The nss_nis, nss_nisplus, and nss_compat Name Service Switch modules
|
|
|
|
uses the Network Information System (NIS) to obtain user, group, host
|
|
|
|
name, and other data.
|
|
|
|
|
|
|
|
%package -n nss_hesiod
|
|
|
|
Summary: Name Service Switch (NSS) module using Hesiod
|
|
|
|
Group: System Environment/Base
|
|
|
|
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n nss_hesiod
|
|
|
|
The nss_hesiod Name Service Switch module uses the Domain Name System
|
|
|
|
(DNS) as a source for user, group, and service information, following
|
|
|
|
the Hesiod convention of Project Athena.
|
|
|
|
|
|
|
|
%package nss-devel
|
|
|
|
Summary: Development files for directly linking NSS service modules
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: nss_db%{_isa} = %{version}-%{release}
|
|
|
|
Requires: nss_nis%{_isa} = %{version}-%{release}
|
|
|
|
Requires: nss_hesiod%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description nss-devel
|
|
|
|
The glibc-nss-devel package contains the object files necessary to
|
|
|
|
compile applications and libraries which directly link against NSS
|
|
|
|
modules supplied by glibc.
|
|
|
|
|
|
|
|
This is a rare and special use case; regular development has to use
|
|
|
|
the glibc-devel package instead.
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# glibc "utils" sub-package
|
|
|
|
##############################################################################
|
2004-09-09 05:40:37 +00:00
|
|
|
%package utils
|
|
|
|
Summary: Development utilities from GNU C library
|
|
|
|
Group: Development/Tools
|
2008-03-05 10:32:39 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2004-09-09 05:40:37 +00:00
|
|
|
|
|
|
|
%description utils
|
|
|
|
The glibc-utils package contains memusage, a memory usage profiler,
|
|
|
|
mtrace, a memory leak tracer and xtrace, a function call tracer
|
|
|
|
which can be helpful during program debugging.
|
|
|
|
|
|
|
|
If unsure if you need this, don't install this package.
|
|
|
|
|
2013-07-25 02:45:11 +00:00
|
|
|
##############################################################################
|
|
|
|
# glibc core "debuginfo" sub-package
|
|
|
|
##############################################################################
|
2009-06-26 15:46:27 +00:00
|
|
|
%if 0%{?_enable_debug_packages}
|
2004-09-09 05:40:37 +00:00
|
|
|
%define debug_package %{nil}
|
2008-10-28 15:50:31 +00:00
|
|
|
%define __debug_install_post %{nil}
|
|
|
|
%global __debug_package 1
|
2004-09-09 05:40:37 +00:00
|
|
|
|
|
|
|
%package debuginfo
|
|
|
|
Summary: Debug information for package %{name}
|
|
|
|
Group: Development/Debug
|
2007-08-10 01:55:13 +00:00
|
|
|
AutoReqProv: no
|
2004-09-09 05:40:37 +00:00
|
|
|
%ifarch %{debuginfocommonarches}
|
|
|
|
Requires: glibc-debuginfo-common = %{version}-%{release}
|
2009-07-20 13:24:45 +00:00
|
|
|
%else
|
2010-09-16 03:30:56 +00:00
|
|
|
%ifarch %{ix86} %{sparc}
|
2009-07-20 13:24:45 +00:00
|
|
|
Obsoletes: glibc-debuginfo-common
|
|
|
|
%endif
|
2004-09-09 05:40:37 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%description debuginfo
|
|
|
|
This package provides debug information for package %{name}.
|
|
|
|
Debug information is useful when developing applications that use this
|
|
|
|
package or when debugging this package.
|
|
|
|
|
auto-import changelog data from glibc-2.3.3-27.src.rpm
Tue May 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-27
- remove /lib64/tls/librtkaio-2.3.[23].so in glibc_post_upgrade on x86-64,
s390x and ppc64 instead of /lib/tls/librtkaio-2.3.[23].so
- build mq_{send,receive} with -fexceptions
Fri May 07 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-26
- update from CVS
- fix <tgmath.h>
- fix memory leaks in nis, getifaddrs, etc. caused by incorrect use of
realloc
- remove /lib/{tls,i686}/librtkaio-2.3.[23].so in glibc_post_upgrade and
rerun ldconfig if needed, otherwise after glibc upgrade librt.so.1
might be a stale symlink
Wed May 05 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-25
- update from CVS
- disable FUTEX_REQUEUE (work around #115349)
- mq for sparc/sparc64/ia64
Tue May 04 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-24
- update from CVS
- define S_ISSOCK in -D_XOPEN_SOURCE=600 and S_I[FS]SOCK plus F_[SG]ETOWN
also in -D_XOPEN_SOURCE=500 (both included already in XNS5)
- reorder dlopen checks, so that dlopening ET_REL objects complains about
!= ET_DYN != ET_EXEC, not about phentsize (#121606)
- fix strpbrk macro for GCC 3.4+ (BZ #130)
- fix <sys/sysctl.h> (BZ #140)
- sched_[gs]etaffinity documentation fix (BZ #131)
- fix sparc64 build (BZ #139)
- change linuxthreads back to use non-cancellable writes to manager pipes
etc.
- fix sem_timedwait return value in linuxthreads (BZ #133)
- ia64 unnecessary PLT relocs removal
Thu Apr 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-23
- update from CVS
- fix *scanf
- fix shm_unlink, sem_unlink and mq_unlink errno values
- avoid memory leaks in error
- execstack fixes on s390
Mon Apr 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-22
- update from CVS
- mq and timer fixes
- rebuilt with binutils >= 2.15.90.0.3-2 to fix IA-64 statically linked
binaries
- fix linuxthreads librt.so on s390{,x}, so it is no longer DT_TEXTREL
Sat Apr 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-21
- disable rtkaio
- update from CVS
- POSIX message passing support
- fixed SIGEV_THREAD support for POSIX timers
- fix free on non-malloced memory in syslog
- fix ffsl on some 64-bit arches
- fix sched_setaffinity on x86-64, ia64
- fix ppc64 umount
- NETID_AUTHORITATIVE, SERVICES_AUTHORITATIVE support
- various NIS speedups
- fix fwrite with > 2GB sizes on 64-bit arches
- fix pthread_getattr_np guardsize reporting in NPTL
- report PLT relocations in ld.so and libc.so during the build
Thu Mar 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-20
- update from CVS
- change NPTL PTHREAD_MUTEX_ADAPTIVE_NP mutexes to spin on SMP
- strtol speed optimization
- don't try to use certainly unimplemented syscalls on ppc64
- kill -debug subpackage, move the libs to glibc-debuginfo{,-common} into
/usr/lib/debug/usr/lib64/ directory
- fix c_stubs with gcc 3.4
- move all the up to 3 builds into %build scriptlet and leave only
installation in the %install scriptlet
Mon Mar 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-19
- update from CVS
- affinity API changes
2004-09-09 05:48:43 +00:00
|
|
|
This package also contains static standard C libraries with
|
|
|
|
debugging information. You need this only if you want to step into
|
|
|
|
C library routines during debugging programs statically linked against
|
|
|
|
one or more of the standard C libraries.
|
|
|
|
To use this debugging information, you need to link binaries
|
2013-07-26 05:59:43 +00:00
|
|
|
with -static -L%{_prefix}/lib/debug%{_libdir} compiler options.
|
auto-import changelog data from glibc-2.3.3-27.src.rpm
Tue May 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-27
- remove /lib64/tls/librtkaio-2.3.[23].so in glibc_post_upgrade on x86-64,
s390x and ppc64 instead of /lib/tls/librtkaio-2.3.[23].so
- build mq_{send,receive} with -fexceptions
Fri May 07 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-26
- update from CVS
- fix <tgmath.h>
- fix memory leaks in nis, getifaddrs, etc. caused by incorrect use of
realloc
- remove /lib/{tls,i686}/librtkaio-2.3.[23].so in glibc_post_upgrade and
rerun ldconfig if needed, otherwise after glibc upgrade librt.so.1
might be a stale symlink
Wed May 05 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-25
- update from CVS
- disable FUTEX_REQUEUE (work around #115349)
- mq for sparc/sparc64/ia64
Tue May 04 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-24
- update from CVS
- define S_ISSOCK in -D_XOPEN_SOURCE=600 and S_I[FS]SOCK plus F_[SG]ETOWN
also in -D_XOPEN_SOURCE=500 (both included already in XNS5)
- reorder dlopen checks, so that dlopening ET_REL objects complains about
!= ET_DYN != ET_EXEC, not about phentsize (#121606)
- fix strpbrk macro for GCC 3.4+ (BZ #130)
- fix <sys/sysctl.h> (BZ #140)
- sched_[gs]etaffinity documentation fix (BZ #131)
- fix sparc64 build (BZ #139)
- change linuxthreads back to use non-cancellable writes to manager pipes
etc.
- fix sem_timedwait return value in linuxthreads (BZ #133)
- ia64 unnecessary PLT relocs removal
Thu Apr 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-23
- update from CVS
- fix *scanf
- fix shm_unlink, sem_unlink and mq_unlink errno values
- avoid memory leaks in error
- execstack fixes on s390
Mon Apr 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-22
- update from CVS
- mq and timer fixes
- rebuilt with binutils >= 2.15.90.0.3-2 to fix IA-64 statically linked
binaries
- fix linuxthreads librt.so on s390{,x}, so it is no longer DT_TEXTREL
Sat Apr 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-21
- disable rtkaio
- update from CVS
- POSIX message passing support
- fixed SIGEV_THREAD support for POSIX timers
- fix free on non-malloced memory in syslog
- fix ffsl on some 64-bit arches
- fix sched_setaffinity on x86-64, ia64
- fix ppc64 umount
- NETID_AUTHORITATIVE, SERVICES_AUTHORITATIVE support
- various NIS speedups
- fix fwrite with > 2GB sizes on 64-bit arches
- fix pthread_getattr_np guardsize reporting in NPTL
- report PLT relocations in ld.so and libc.so during the build
Thu Mar 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-20
- update from CVS
- change NPTL PTHREAD_MUTEX_ADAPTIVE_NP mutexes to spin on SMP
- strtol speed optimization
- don't try to use certainly unimplemented syscalls on ppc64
- kill -debug subpackage, move the libs to glibc-debuginfo{,-common} into
/usr/lib/debug/usr/lib64/ directory
- fix c_stubs with gcc 3.4
- move all the up to 3 builds into %build scriptlet and leave only
installation in the %install scriptlet
Mon Mar 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-19
- update from CVS
- affinity API changes
2004-09-09 05:48:43 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# glibc common "debuginfo-common" sub-package
|
|
|
|
##############################################################################
|
2004-09-09 05:40:37 +00:00
|
|
|
%ifarch %{debuginfocommonarches}
|
|
|
|
|
|
|
|
%package debuginfo-common
|
|
|
|
Summary: Debug information for package %{name}
|
|
|
|
Group: Development/Debug
|
2007-08-10 01:55:13 +00:00
|
|
|
AutoReqProv: no
|
2004-09-09 05:40:37 +00:00
|
|
|
|
|
|
|
%description debuginfo-common
|
|
|
|
This package provides debug information for package %{name}.
|
|
|
|
Debug information is useful when developing applications that use this
|
|
|
|
package or when debugging this package.
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
%endif # %{debuginfocommonarches}
|
|
|
|
%endif # 0%{?_enable_debug_packages}
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2015-08-28 19:29:26 +00:00
|
|
|
%if %{with benchtests}
|
2015-05-08 06:19:59 +00:00
|
|
|
%package benchtests
|
|
|
|
Summary: Benchmarking binaries and scripts for %{name}
|
|
|
|
Group: Development/Debug
|
|
|
|
%description benchtests
|
|
|
|
This package provides built benchmark binaries and scripts to run
|
|
|
|
microbenchmark tests on the system.
|
|
|
|
%endif
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Prepare for the build.
|
|
|
|
##############################################################################
|
2004-09-09 05:40:37 +00:00
|
|
|
%prep
|
2013-08-19 11:35:59 +00:00
|
|
|
%setup -q -n %{glibcsrcdir}
|
2012-04-05 21:59:29 +00:00
|
|
|
|
2015-08-28 19:29:26 +00:00
|
|
|
# Patch order matters.
|
2012-10-05 18:24:19 +00:00
|
|
|
%patch0001 -p1
|
2012-06-22 19:30:06 +00:00
|
|
|
%patch0003 -p1
|
|
|
|
%patch0004 -p1
|
2012-05-23 18:18:07 +00:00
|
|
|
%patch0005 -p1
|
2012-06-22 19:30:06 +00:00
|
|
|
%patch0006 -p1
|
2012-12-06 17:45:03 +00:00
|
|
|
%patch2007 -p1
|
2012-05-23 18:18:07 +00:00
|
|
|
%patch0009 -p1
|
2012-11-30 21:01:46 +00:00
|
|
|
%patch0012 -p1
|
2012-06-05 17:54:14 +00:00
|
|
|
%patch2013 -p1
|
2012-11-05 21:44:36 +00:00
|
|
|
%patch0014 -p1
|
2012-12-03 20:37:41 +00:00
|
|
|
%patch0015 -p1
|
|
|
|
%patch0016 -p1
|
2012-11-16 13:33:25 +00:00
|
|
|
%patch0019 -p1
|
|
|
|
%patch0020 -p1
|
2012-08-14 04:49:13 +00:00
|
|
|
%patch2023 -p1
|
2012-11-16 13:33:25 +00:00
|
|
|
%patch0024 -p1
|
2012-11-29 17:56:43 +00:00
|
|
|
%patch0025 -p1
|
2012-06-22 19:30:06 +00:00
|
|
|
%patch2027 -p1
|
2012-11-28 21:30:40 +00:00
|
|
|
%patch0028 -p1
|
2012-08-20 19:25:02 +00:00
|
|
|
%patch0031 -p1
|
|
|
|
%patch0033 -p1
|
2013-04-23 20:52:25 +00:00
|
|
|
%patch0037 -p1
|
2013-10-03 01:34:56 +00:00
|
|
|
%patch0044 -p1
|
2013-10-03 09:22:51 +00:00
|
|
|
%patch0046 -p1
|
2014-02-26 19:01:15 +00:00
|
|
|
%patch2031 -p1
|
|
|
|
%patch0047 -p1
|
2014-05-22 02:06:41 +00:00
|
|
|
%patch2033 -p1
|
2014-06-20 15:49:56 +00:00
|
|
|
%patch2034 -p1
|
2014-09-27 16:31:11 +00:00
|
|
|
%patch0052 -p1
|
2014-10-10 09:07:46 +00:00
|
|
|
%patch0053 -p1
|
2015-09-17 16:24:49 +00:00
|
|
|
%patch0054 -p1
|
|
|
|
%patch0055 -p1
|
|
|
|
%patch0056 -p1
|
|
|
|
%patch0057 -p1
|
|
|
|
%patch0058 -p1
|
|
|
|
%patch0059 -p1
|
2016-01-28 13:24:44 +00:00
|
|
|
%patch2036 -p1
|
2016-03-07 05:52:27 +00:00
|
|
|
%patch2037 -p1
|
2016-05-11 14:08:21 +00:00
|
|
|
%patch2038 -p1
|
2016-06-29 09:35:36 +00:00
|
|
|
%patch2110 -p1
|
2016-07-13 14:34:41 +00:00
|
|
|
%patch2111 -p1
|
|
|
|
%patch2112 -p1
|
2016-02-15 11:22:50 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# %%prep - Additional prep required...
|
|
|
|
##############################################################################
|
2015-05-08 06:19:59 +00:00
|
|
|
# Make benchmark scripts executable
|
|
|
|
chmod +x benchtests/scripts/*.py scripts/pylint
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# Remove all files generated from patching.
|
2004-09-09 05:40:37 +00:00
|
|
|
find . -type f -size 0 -o -name "*.orig" -exec rm -f {} \;
|
2013-07-24 11:58:38 +00:00
|
|
|
|
|
|
|
# Ensure timestamps on configure files are current to prevent
|
|
|
|
# regenerating them.
|
2004-09-09 05:40:37 +00:00
|
|
|
touch `find . -name configure`
|
2013-07-24 11:58:38 +00:00
|
|
|
|
|
|
|
# Ensure *-kw.h files are current to prevent regenerating them.
|
2005-12-19 18:04:52 +00:00
|
|
|
touch locale/programs/*-kw.h
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2016-05-09 18:43:58 +00:00
|
|
|
# Verify that our copy of localedata/SUPPORTED matches the glibc
|
|
|
|
# version.
|
|
|
|
#
|
|
|
|
# The separate file copy is used by the language_list macro above.
|
|
|
|
# Patches or new upstream versions may change the list of locales,
|
|
|
|
# which changes the set of langpacks we need to build. Verify the
|
|
|
|
# differences then update the copy of SUPPORTED. This approach has
|
|
|
|
# two purposes: (a) avoid spurious changes to the set of langpacks,
|
|
|
|
# and (b) the language_list macro can use a fully patched-up version
|
|
|
|
# of the localedata/SUPPORTED file.
|
2016-05-09 11:48:03 +00:00
|
|
|
diff -u %{SOURCE11} localedata/SUPPORTED
|
2016-02-26 09:06:35 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Build glibc...
|
|
|
|
##############################################################################
|
2004-09-09 05:40:37 +00:00
|
|
|
%build
|
2016-04-28 19:59:56 +00:00
|
|
|
# Log system information
|
|
|
|
uname -a
|
|
|
|
cat /proc/cpuinfo
|
|
|
|
cat /proc/meminfo
|
2016-06-01 06:44:30 +00:00
|
|
|
df
|
2013-07-24 11:58:38 +00:00
|
|
|
|
2013-07-25 02:45:11 +00:00
|
|
|
# We build using the native system compilers.
|
2004-09-09 05:40:37 +00:00
|
|
|
GCC=gcc
|
2006-01-04 08:23:00 +00:00
|
|
|
GXX=g++
|
2013-07-24 11:58:38 +00:00
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# %%build - x86 options.
|
|
|
|
##############################################################################
|
|
|
|
# On x86 we build for the specific target cpu rpm is using.
|
2004-09-09 05:40:37 +00:00
|
|
|
%ifarch %{ix86}
|
2011-07-20 11:54:13 +00:00
|
|
|
BuildFlags="-march=%{_target_cpu} -mtune=generic"
|
2004-09-09 05:40:37 +00:00
|
|
|
%endif
|
2013-03-18 00:13:38 +00:00
|
|
|
# We don't support building for i386. The generic i386 architecture lacks the
|
|
|
|
# atomic primitives required for NPTL support. However, when a user asks to
|
2013-07-24 05:22:37 +00:00
|
|
|
# build for i386 we interpret that as "for whatever works on x86" and we
|
2013-03-18 00:13:38 +00:00
|
|
|
# select i686. Thus we treat i386 as an alias for i686.
|
|
|
|
%ifarch i386 i686
|
2006-09-07 10:56:50 +00:00
|
|
|
BuildFlags="-march=i686 -mtune=generic"
|
2005-03-04 00:18:49 +00:00
|
|
|
%endif
|
2013-03-18 00:13:38 +00:00
|
|
|
%ifarch i486 i586
|
2006-08-02 18:29:53 +00:00
|
|
|
BuildFlags="$BuildFlags -mno-tls-direct-seg-refs"
|
|
|
|
%endif
|
2006-03-06 07:55:58 +00:00
|
|
|
%ifarch x86_64
|
2006-09-07 10:56:50 +00:00
|
|
|
BuildFlags="-mtune=generic"
|
2006-03-06 07:55:58 +00:00
|
|
|
%endif
|
2013-07-24 11:58:38 +00:00
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# %%build - SPARC options.
|
|
|
|
##############################################################################
|
2004-09-09 05:40:37 +00:00
|
|
|
%ifarch sparc
|
|
|
|
BuildFlags="-fcall-used-g6"
|
2016-02-09 08:48:54 +00:00
|
|
|
GCC="$GCC -m32"
|
|
|
|
GXX="$GXX -m32"
|
2004-09-09 05:40:37 +00:00
|
|
|
%endif
|
|
|
|
%ifarch sparcv9
|
|
|
|
BuildFlags="-mcpu=ultrasparc -fcall-used-g6"
|
2016-02-09 08:48:54 +00:00
|
|
|
GCC="$GCC -m32"
|
|
|
|
GXX="$GXX -m32"
|
2004-09-09 05:40:37 +00:00
|
|
|
%endif
|
2007-08-15 21:19:33 +00:00
|
|
|
%ifarch sparcv9v
|
|
|
|
BuildFlags="-mcpu=niagara -fcall-used-g6"
|
2016-02-09 08:48:54 +00:00
|
|
|
GCC="$GCC -m32"
|
|
|
|
GXX="$GXX -m32"
|
2007-08-15 21:19:33 +00:00
|
|
|
%endif
|
2004-09-09 05:40:37 +00:00
|
|
|
%ifarch sparc64
|
|
|
|
BuildFlags="-mcpu=ultrasparc -mvis -fcall-used-g6"
|
2016-02-09 08:48:54 +00:00
|
|
|
GCC="$GCC -m64"
|
|
|
|
GXX="$GXX -m64"
|
2004-09-09 05:40:37 +00:00
|
|
|
%endif
|
2007-08-15 21:19:33 +00:00
|
|
|
%ifarch sparc64v
|
|
|
|
BuildFlags="-mcpu=niagara -mvis -fcall-used-g6"
|
2016-02-09 08:48:54 +00:00
|
|
|
GCC="$GCC -m64"
|
|
|
|
GXX="$GXX -m64"
|
2007-08-15 21:19:33 +00:00
|
|
|
%endif
|
2016-02-09 08:48:54 +00:00
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# %%build - POWER options.
|
|
|
|
##############################################################################
|
2012-09-04 17:33:31 +00:00
|
|
|
%ifarch %{power64}
|
2012-11-05 21:44:36 +00:00
|
|
|
BuildFlags=""
|
2016-02-09 08:48:54 +00:00
|
|
|
GCC="$GCC -m64"
|
|
|
|
GXX="$GXX -m64"
|
2016-01-12 16:59:28 +00:00
|
|
|
%ifarch ppc64p7
|
|
|
|
GCC="$GCC -mcpu=power7 -mtune=power7"
|
|
|
|
GXX="$GXX -mcpu=power7 -mtune=power7"
|
2016-02-09 08:48:54 +00:00
|
|
|
core_with_options="--with-cpu=power7"
|
|
|
|
%endif
|
|
|
|
%ifarch ppc64le
|
|
|
|
GCC="$GCC -mcpu=power8 -mtune=power8"
|
|
|
|
GXX="$GXX -mcpu=power8 -mtune=power8"
|
|
|
|
core_with_options="--with-cpu=power8"
|
2016-01-12 16:59:28 +00:00
|
|
|
%endif
|
2004-09-09 05:40:37 +00:00
|
|
|
%endif
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# %%build - Generic options.
|
|
|
|
##############################################################################
|
2008-05-18 11:11:25 +00:00
|
|
|
BuildFlags="$BuildFlags -fasynchronous-unwind-tables"
|
2004-09-09 05:40:37 +00:00
|
|
|
EnableKernel="--enable-kernel=%{enablekernel}"
|
2013-07-24 11:58:38 +00:00
|
|
|
# Save the used compiler and options into the file "Gcc" for use later
|
|
|
|
# by %%install.
|
2005-07-08 10:21:35 +00:00
|
|
|
echo "$GCC" > Gcc
|
2015-08-28 19:29:26 +00:00
|
|
|
AddOns=`echo */configure | sed -e 's!/configure!!g;s!\(nptl\|powerpc-cpu\)\( \|$\)!!g;s! \+$!!;s! !,!g;s!^!,!;/^,\*$/d'`
|
auto-import changelog data from glibc-2.3.3-27.src.rpm
Tue May 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-27
- remove /lib64/tls/librtkaio-2.3.[23].so in glibc_post_upgrade on x86-64,
s390x and ppc64 instead of /lib/tls/librtkaio-2.3.[23].so
- build mq_{send,receive} with -fexceptions
Fri May 07 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-26
- update from CVS
- fix <tgmath.h>
- fix memory leaks in nis, getifaddrs, etc. caused by incorrect use of
realloc
- remove /lib/{tls,i686}/librtkaio-2.3.[23].so in glibc_post_upgrade and
rerun ldconfig if needed, otherwise after glibc upgrade librt.so.1
might be a stale symlink
Wed May 05 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-25
- update from CVS
- disable FUTEX_REQUEUE (work around #115349)
- mq for sparc/sparc64/ia64
Tue May 04 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-24
- update from CVS
- define S_ISSOCK in -D_XOPEN_SOURCE=600 and S_I[FS]SOCK plus F_[SG]ETOWN
also in -D_XOPEN_SOURCE=500 (both included already in XNS5)
- reorder dlopen checks, so that dlopening ET_REL objects complains about
!= ET_DYN != ET_EXEC, not about phentsize (#121606)
- fix strpbrk macro for GCC 3.4+ (BZ #130)
- fix <sys/sysctl.h> (BZ #140)
- sched_[gs]etaffinity documentation fix (BZ #131)
- fix sparc64 build (BZ #139)
- change linuxthreads back to use non-cancellable writes to manager pipes
etc.
- fix sem_timedwait return value in linuxthreads (BZ #133)
- ia64 unnecessary PLT relocs removal
Thu Apr 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-23
- update from CVS
- fix *scanf
- fix shm_unlink, sem_unlink and mq_unlink errno values
- avoid memory leaks in error
- execstack fixes on s390
Mon Apr 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-22
- update from CVS
- mq and timer fixes
- rebuilt with binutils >= 2.15.90.0.3-2 to fix IA-64 statically linked
binaries
- fix linuxthreads librt.so on s390{,x}, so it is no longer DT_TEXTREL
Sat Apr 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-21
- disable rtkaio
- update from CVS
- POSIX message passing support
- fixed SIGEV_THREAD support for POSIX timers
- fix free on non-malloced memory in syslog
- fix ffsl on some 64-bit arches
- fix sched_setaffinity on x86-64, ia64
- fix ppc64 umount
- NETID_AUTHORITATIVE, SERVICES_AUTHORITATIVE support
- various NIS speedups
- fix fwrite with > 2GB sizes on 64-bit arches
- fix pthread_getattr_np guardsize reporting in NPTL
- report PLT relocations in ld.so and libc.so during the build
Thu Mar 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-20
- update from CVS
- change NPTL PTHREAD_MUTEX_ADAPTIVE_NP mutexes to spin on SMP
- strtol speed optimization
- don't try to use certainly unimplemented syscalls on ppc64
- kill -debug subpackage, move the libs to glibc-debuginfo{,-common} into
/usr/lib/debug/usr/lib64/ directory
- fix c_stubs with gcc 3.4
- move all the up to 3 builds into %build scriptlet and leave only
installation in the %install scriptlet
Mon Mar 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-19
- update from CVS
- affinity API changes
2004-09-09 05:48:43 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# build()
|
|
|
|
# Build glibc in `build-%{target}$1', passing the rest of the arguments
|
|
|
|
# as CFLAGS to the build (not the same as configure CFLAGS). Several
|
|
|
|
# global values are used to determine build flags, add-ons, kernel
|
|
|
|
# version, multiarch support, system tap support, etc.
|
|
|
|
##############################################################################
|
2011-07-20 11:54:13 +00:00
|
|
|
build()
|
2005-04-27 12:26:45 +00:00
|
|
|
{
|
2013-07-25 22:53:13 +00:00
|
|
|
builddir=build-%{target}${1:+-$1}
|
|
|
|
${1+shift}
|
|
|
|
rm -rf $builddir
|
|
|
|
mkdir $builddir
|
|
|
|
pushd $builddir
|
|
|
|
build_CFLAGS="$BuildFlags -g -O3 $*"
|
|
|
|
# Some configure checks can spuriously fail for some architectures if
|
|
|
|
# unwind info is present
|
|
|
|
configure_CFLAGS="$build_CFLAGS -fno-asynchronous-unwind-tables"
|
|
|
|
../configure CC="$GCC" CXX="$GXX" CFLAGS="$configure_CFLAGS" \
|
|
|
|
--prefix=%{_prefix} \
|
2014-07-03 05:43:32 +00:00
|
|
|
--enable-add-ons=$AddOns \
|
2013-07-25 22:53:13 +00:00
|
|
|
--with-headers=%{_prefix}/include $EnableKernel --enable-bind-now \
|
|
|
|
--build=%{target} \
|
2009-06-26 15:46:27 +00:00
|
|
|
%ifarch %{multiarcharches}
|
2013-07-25 22:53:13 +00:00
|
|
|
--enable-multi-arch \
|
2011-04-07 11:22:58 +00:00
|
|
|
%endif
|
2013-07-25 22:53:13 +00:00
|
|
|
--enable-obsolete-rpc \
|
|
|
|
--enable-systemtap \
|
2016-02-09 08:48:54 +00:00
|
|
|
${core_with_options} \
|
2014-09-30 16:34:19 +00:00
|
|
|
%ifarch %{lock_elision_arches}
|
|
|
|
--enable-lock-elision \
|
2015-01-21 14:48:21 +00:00
|
|
|
%endif
|
2015-08-28 19:29:26 +00:00
|
|
|
%if %{without werror}
|
|
|
|
--disable-werror \
|
|
|
|
%endif
|
|
|
|
--disable-profile \
|
|
|
|
%if %{with bootstrap}
|
|
|
|
--without-selinux \
|
|
|
|
--disable-nss-crypt ||
|
|
|
|
%else
|
|
|
|
--enable-nss-crypt ||
|
2009-06-26 15:46:27 +00:00
|
|
|
%endif
|
2013-07-25 22:53:13 +00:00
|
|
|
{ cat config.log; false; }
|
2009-09-01 11:03:11 +00:00
|
|
|
|
2013-07-25 22:53:13 +00:00
|
|
|
make %{?_smp_mflags} -r CFLAGS="$build_CFLAGS" %{silentrules}
|
|
|
|
popd
|
2005-04-27 12:26:45 +00:00
|
|
|
}
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Build glibc for the default set of options.
|
|
|
|
##############################################################################
|
2011-07-20 11:54:13 +00:00
|
|
|
build
|
2005-04-27 12:26:45 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Build glibc for xen:
|
|
|
|
# If we support xen build glibc again for xen support.
|
|
|
|
##############################################################################
|
2005-04-27 12:26:45 +00:00
|
|
|
%if %{buildxen}
|
2011-07-20 11:54:13 +00:00
|
|
|
build nosegneg -mno-tls-direct-seg-refs
|
2005-04-27 12:26:45 +00:00
|
|
|
%endif
|
2005-06-27 14:02:02 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Build glibc for power6:
|
|
|
|
# If we support building a power6 alternate runtime then built glibc again for
|
|
|
|
# power6.
|
|
|
|
# XXX: We build in a sub-shell for no apparent reason.
|
|
|
|
##############################################################################
|
2006-09-15 20:28:56 +00:00
|
|
|
%if %{buildpower6}
|
|
|
|
(
|
2013-07-25 22:53:13 +00:00
|
|
|
platform=`LD_SHOW_AUXV=1 /bin/true | sed -n 's/^AT_PLATFORM:[[:blank:]]*//p'`
|
|
|
|
if [ "$platform" != power6 ]; then
|
2013-07-25 23:10:00 +00:00
|
|
|
mkdir -p power6emul/{lib,lib64}
|
2013-08-19 11:35:59 +00:00
|
|
|
$GCC -shared -O2 -fpic -o power6emul/%{_lib}/power6emul.so %{SOURCE8} -Wl,-z,initfirst
|
2006-09-15 20:28:56 +00:00
|
|
|
%ifarch ppc64
|
2013-07-25 23:10:00 +00:00
|
|
|
gcc -shared -nostdlib -O2 -fpic -m32 -o power6emul/lib/power6emul.so -xc - < /dev/null
|
2006-09-15 20:28:56 +00:00
|
|
|
%endif
|
2013-07-25 23:10:00 +00:00
|
|
|
export LD_PRELOAD=`pwd`/power6emul/\$LIB/power6emul.so
|
2013-07-25 22:53:13 +00:00
|
|
|
fi
|
|
|
|
GCC="$GCC -mcpu=power6"
|
|
|
|
GXX="$GXX -mcpu=power6"
|
2016-02-09 08:48:54 +00:00
|
|
|
core_with_options="--with-cpu=power6"
|
2013-07-25 22:53:13 +00:00
|
|
|
build power6
|
2006-09-15 20:28:56 +00:00
|
|
|
)
|
2013-07-25 23:10:00 +00:00
|
|
|
%endif # %{buildpower6}
|
2006-09-15 20:28:56 +00:00
|
|
|
|
2016-01-12 16:59:28 +00:00
|
|
|
%if %{buildpower7}
|
|
|
|
(
|
|
|
|
GCC="$GCC -mcpu=power7 -mtune=power7"
|
|
|
|
GXX="$GXX -mcpu=power7 -mtune=power7"
|
2016-02-09 08:48:54 +00:00
|
|
|
core_with_options="--with-cpu=power7"
|
2016-01-12 16:59:28 +00:00
|
|
|
build power7
|
|
|
|
)
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{buildpower8}
|
|
|
|
(
|
|
|
|
GCC="$GCC -mcpu=power8 -mtune=power8"
|
|
|
|
GXX="$GXX -mcpu=power8 -mtune=power8"
|
2016-02-09 08:48:54 +00:00
|
|
|
core_with_options="--with-cpu=power8"
|
2016-01-12 16:59:28 +00:00
|
|
|
build power8
|
|
|
|
)
|
|
|
|
%endif
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Build the glibc post-upgrade program:
|
|
|
|
# We only build one of these with the default set of options. This program
|
|
|
|
# must be able to run on all hardware for the lowest common denomintor since
|
|
|
|
# we only build it once.
|
|
|
|
##############################################################################
|
2013-07-24 05:27:35 +00:00
|
|
|
pushd build-%{target}
|
2013-08-19 11:35:59 +00:00
|
|
|
$GCC -static -L. -Os -g %{SOURCE2} \
|
2013-07-25 23:10:00 +00:00
|
|
|
-o glibc_post_upgrade.%{_target_cpu} \
|
2013-07-25 22:53:13 +00:00
|
|
|
'-DLIBTLS="/%{_lib}/tls/"' \
|
2013-07-26 05:59:43 +00:00
|
|
|
'-DGCONV_MODULES_DIR="%{_libdir}/gconv"' \
|
2013-07-25 22:53:13 +00:00
|
|
|
'-DLD_SO_CONF="/etc/ld.so.conf"' \
|
|
|
|
'-DICONVCONFIG="%{_sbindir}/iconvconfig.%{_target_cpu}"'
|
2013-07-24 05:27:35 +00:00
|
|
|
popd
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Install glibc...
|
|
|
|
##############################################################################
|
2004-09-09 05:40:37 +00:00
|
|
|
%install
|
2014-12-06 01:30:44 +00:00
|
|
|
|
|
|
|
# Ensure the permissions of errlist.c do not change. When the file is
|
|
|
|
# regenerated the Makefile sets the permissions to 444. We set it to 644
|
|
|
|
# to match what comes out of git. The tarball of the git archive won't have
|
|
|
|
# correct permissions because git doesn't track all of the permissions
|
|
|
|
# accurately (see git-cache-meta if you need that). We also set it to 644 to
|
|
|
|
# match pre-existing rpms. We do this *after* the build because the build
|
|
|
|
# might regenerate the file and set the permissions to 444.
|
|
|
|
chmod 644 sysdeps/gnu/errlist.c
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# Reload compiler and build options that were used during %%build.
|
2004-09-09 05:40:37 +00:00
|
|
|
GCC=`cat Gcc`
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# Cleanup any previous installs...
|
2004-09-09 05:40:37 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT
|
2013-07-25 22:53:13 +00:00
|
|
|
make -j1 install_root=$RPM_BUILD_ROOT \
|
|
|
|
install -C build-%{target} %{silentrules}
|
2013-07-24 11:58:38 +00:00
|
|
|
# If we are not building an auxiliary arch then install all of the supported
|
|
|
|
# locales.
|
2004-09-09 05:40:37 +00:00
|
|
|
%ifnarch %{auxarches}
|
2013-07-24 05:27:35 +00:00
|
|
|
pushd build-%{target}
|
2013-07-25 22:53:13 +00:00
|
|
|
make %{?_smp_mflags} install_root=$RPM_BUILD_ROOT \
|
|
|
|
install-locales -C ../localedata objdir=`pwd`
|
2013-07-24 05:27:35 +00:00
|
|
|
popd
|
2004-09-09 05:40:37 +00:00
|
|
|
%endif
|
|
|
|
|
2013-08-09 04:41:01 +00:00
|
|
|
# install_different:
|
|
|
|
# Install all core libraries into DESTDIR/SUBDIR. Either the file is
|
|
|
|
# installed as a copy or a symlink to the default install (if it is the
|
|
|
|
# same). The path SUBDIR_UP is the prefix used to go from
|
|
|
|
# DESTDIR/SUBDIR to the default installed libraries e.g.
|
|
|
|
# ln -s SUBDIR_UP/foo.so DESTDIR/SUBDIR/foo.so.
|
|
|
|
# When you call this function it is expected that you are in the root
|
|
|
|
# of the build directory, and that the default build directory is:
|
|
|
|
# "../build-%{target}" (relatively).
|
|
|
|
# The primary use of this function is to install alternate runtimes
|
|
|
|
# into the build directory and avoid duplicating this code for each
|
|
|
|
# runtime.
|
|
|
|
install_different()
|
|
|
|
{
|
2013-08-09 04:48:21 +00:00
|
|
|
local lib libbase libbaseso dlib
|
2013-08-09 04:41:01 +00:00
|
|
|
local destdir="$1"
|
|
|
|
local subdir="$2"
|
|
|
|
local subdir_up="$3"
|
|
|
|
local libdestdir="$destdir/$subdir"
|
|
|
|
# All three arguments must be non-zero paths.
|
|
|
|
if ! [ "$destdir" \
|
|
|
|
-a "$subdir" \
|
|
|
|
-a "$subdir_up" ]; then
|
|
|
|
echo "One of the arguments to install_different was emtpy."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
# Create the destination directory and the multilib directory.
|
|
|
|
mkdir -p "$destdir"
|
|
|
|
mkdir -p "$libdestdir"
|
|
|
|
# Walk all of the libraries we installed...
|
|
|
|
for lib in libc math/libm nptl/libpthread rt/librt nptl_db/libthread_db
|
|
|
|
do
|
|
|
|
libbase=${lib#*/}
|
|
|
|
# Take care that `libbaseso' has a * that needs expanding so
|
|
|
|
# take care with quoting.
|
2013-08-13 20:41:01 +00:00
|
|
|
libbaseso=$(basename $RPM_BUILD_ROOT/%{_lib}/${libbase}-*.so)
|
2013-08-09 04:41:01 +00:00
|
|
|
# Only install if different from default build library.
|
|
|
|
if cmp -s ${lib}.so ../build-%{target}/${lib}.so; then
|
|
|
|
ln -sf "$subdir_up"/$libbaseso $libdestdir/$libbaseso
|
|
|
|
else
|
|
|
|
cp -a ${lib}.so $libdestdir/$libbaseso
|
|
|
|
fi
|
2013-08-13 20:41:01 +00:00
|
|
|
dlib=$libdestdir/$(basename $RPM_BUILD_ROOT/%{_lib}/${libbase}.so.*)
|
2013-08-09 04:41:01 +00:00
|
|
|
ln -sf $libbaseso $dlib
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Install the xen build files.
|
|
|
|
##############################################################################
|
2005-06-27 14:02:02 +00:00
|
|
|
%if %{buildxen}
|
2006-05-24 08:09:35 +00:00
|
|
|
%define nosegneg_subdir_base i686
|
2005-06-27 14:02:02 +00:00
|
|
|
%define nosegneg_subdir i686/nosegneg
|
2009-11-12 17:51:25 +00:00
|
|
|
%define nosegneg_subdir_up ../..
|
2013-07-24 05:27:35 +00:00
|
|
|
pushd build-%{target}-nosegneg
|
2013-08-13 20:41:01 +00:00
|
|
|
destdir=$RPM_BUILD_ROOT/%{_lib}
|
2013-08-09 04:41:01 +00:00
|
|
|
install_different "$destdir" "%{nosegneg_subdir}" "%{nosegneg_subdir_up}"
|
2013-07-24 05:27:35 +00:00
|
|
|
popd
|
2013-07-25 23:10:00 +00:00
|
|
|
%endif # %{buildxen}
|
2005-04-27 12:26:45 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Install the power6 build files.
|
|
|
|
##############################################################################
|
2006-09-15 20:28:56 +00:00
|
|
|
%if %{buildpower6}
|
2013-08-09 04:41:01 +00:00
|
|
|
%define power6_subdir power6
|
|
|
|
%define power6_subdir_up ..
|
|
|
|
%define power6_legacy power6x
|
|
|
|
%define power6_legacy_up ..
|
2013-07-24 05:27:35 +00:00
|
|
|
pushd build-%{target}-power6
|
2013-08-09 04:41:01 +00:00
|
|
|
destdir=$RPM_BUILD_ROOT/%{_lib}
|
2013-08-29 04:36:52 +00:00
|
|
|
install_different "$destdir" "%{power6_subdir}" "%{power6_subdir_up}"
|
2013-08-09 04:41:01 +00:00
|
|
|
# Make a legacy /usr/lib[64]/power6x directory that is a symlink to the
|
|
|
|
# power6 runtime.
|
|
|
|
# XXX: When can we remove this? What is the history behind this?
|
|
|
|
mkdir -p ${destdir}/%{power6_legacy}
|
|
|
|
pushd ${destdir}/%{power6_legacy}
|
|
|
|
ln -sf %{power6_legacy_up}/%{power6_subdir}/*.so .
|
|
|
|
cp -a %{power6_legacy_up}/%{power6_subdir}/*.so.* .
|
2006-11-30 17:32:26 +00:00
|
|
|
popd
|
2013-07-24 05:27:35 +00:00
|
|
|
popd
|
2013-07-25 23:10:00 +00:00
|
|
|
%endif # %{buildpower6}
|
2006-09-15 20:28:56 +00:00
|
|
|
|
2016-01-12 16:59:28 +00:00
|
|
|
%if %{buildpower7}
|
|
|
|
%define power7_subdir power7
|
|
|
|
%define power7_subdir_up ..
|
|
|
|
pushd build-%{target}-power7
|
|
|
|
destdir=$RPM_BUILD_ROOT/%{_lib}
|
|
|
|
install_different "$destdir" "%{power7_subdir}" "%{power7_subdir_up}"
|
|
|
|
popd
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{buildpower8}
|
|
|
|
%define power8_subdir power8
|
|
|
|
%define power8_subdir_up ..
|
|
|
|
pushd build-%{target}-power8
|
|
|
|
destdir=$RPM_BUILD_ROOT/%{_lib}
|
|
|
|
install_different "$destdir" "%{power8_subdir}" "%{power8_subdir_up}"
|
|
|
|
popd
|
|
|
|
%endif
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
2004-09-09 05:40:37 +00:00
|
|
|
# Remove the files we don't want to distribute
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
# Remove the libNoVersion files.
|
|
|
|
# XXX: This looks like a bug in glibc that accidentally installed these
|
|
|
|
# wrong files. We probably don't need this today.
|
2013-07-26 05:59:43 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libNoVersion*
|
2004-09-09 05:40:37 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libNoVersion*
|
|
|
|
|
2013-07-25 03:00:43 +00:00
|
|
|
# rquota.x and rquota.h are now provided by quota
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_prefix}/include/rpcsvc/rquota.[hx]
|
|
|
|
|
|
|
|
# In F7+ this is provided by rpcbind rpm
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_sbindir}/rpcinfo
|
|
|
|
|
|
|
|
# Remove the old nss modules.
|
|
|
|
rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss1-*
|
|
|
|
rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss-*.so.1
|
2005-07-08 10:17:59 +00:00
|
|
|
|
2013-07-25 02:45:11 +00:00
|
|
|
##############################################################################
|
2013-07-25 03:00:43 +00:00
|
|
|
# Install info files
|
2013-07-25 02:45:11 +00:00
|
|
|
##############################################################################
|
|
|
|
|
2015-08-28 19:29:26 +00:00
|
|
|
%if %{with docs}
|
2013-07-24 11:58:38 +00:00
|
|
|
# Move the info files if glibc installed them into the wrong location.
|
2004-09-09 05:40:37 +00:00
|
|
|
if [ -d $RPM_BUILD_ROOT%{_prefix}/info -a "%{_infodir}" != "%{_prefix}/info" ]; then
|
2008-03-05 10:32:39 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_infodir}
|
|
|
|
mv -f $RPM_BUILD_ROOT%{_prefix}/info/* $RPM_BUILD_ROOT%{_infodir}
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/info
|
2004-09-09 05:40:37 +00:00
|
|
|
fi
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# Compress all of the info files.
|
2004-09-09 05:40:37 +00:00
|
|
|
gzip -9nvf $RPM_BUILD_ROOT%{_infodir}/libc*
|
2015-11-27 06:14:36 +00:00
|
|
|
|
|
|
|
%else
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/libc.info*
|
2015-08-28 19:29:26 +00:00
|
|
|
%endif
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-07-25 03:00:43 +00:00
|
|
|
##############################################################################
|
2016-02-26 09:06:35 +00:00
|
|
|
# Create locale sub-package file lists
|
2013-07-25 03:00:43 +00:00
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
%ifnarch %{auxarches}
|
|
|
|
olddir=`pwd`
|
|
|
|
pushd ${RPM_BUILD_ROOT}%{_prefix}/lib/locale
|
2013-08-08 15:23:18 +00:00
|
|
|
rm -f locale-archive
|
2016-03-01 07:59:24 +00:00
|
|
|
# Intentionally we do not pass --alias-file=, aliases will be added
|
|
|
|
# by build-locale-archive.
|
|
|
|
$olddir/build-%{target}/elf/ld.so \
|
|
|
|
--library-path $olddir/build-%{target}/ \
|
|
|
|
$olddir/build-%{target}/locale/localedef \
|
|
|
|
--prefix ${RPM_BUILD_ROOT} --add-to-archive \
|
|
|
|
*_*
|
|
|
|
# Setup the locale-archive template for use by glibc-all-langpacks.
|
|
|
|
mv locale-archive{,.tmpl}
|
2016-02-26 09:06:35 +00:00
|
|
|
# Create the file lists for the language specific sub-packages:
|
2016-06-11 11:50:59 +00:00
|
|
|
for i in eo *_*
|
2016-02-26 09:06:35 +00:00
|
|
|
do
|
|
|
|
lang=${i%%_*}
|
|
|
|
if [ ! -e langpack-${lang}.filelist ]; then
|
|
|
|
echo "%dir %{_prefix}/lib/locale" >> langpack-${lang}.filelist
|
|
|
|
fi
|
|
|
|
echo "%dir %{_prefix}/lib/locale/$i" >> langpack-${lang}.filelist
|
|
|
|
echo "%{_prefix}/lib/locale/$i/*" >> langpack-${lang}.filelist
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
pushd ${RPM_BUILD_ROOT}%{_prefix}/share/locale
|
|
|
|
for i in */LC_MESSAGES/libc.mo
|
|
|
|
do
|
|
|
|
locale=${i%%%%/*}
|
|
|
|
lang=${locale%%%%_*}
|
|
|
|
echo "%lang($lang) %{_prefix}/share/locale/${i}" \
|
|
|
|
>> ${RPM_BUILD_ROOT}%{_prefix}/lib/locale/langpack-${lang}.filelist
|
|
|
|
done
|
2013-07-25 03:00:43 +00:00
|
|
|
popd
|
2016-02-26 09:06:35 +00:00
|
|
|
mv ${RPM_BUILD_ROOT}%{_prefix}/lib/locale/*.filelist .
|
2013-07-25 03:00:43 +00:00
|
|
|
%endif
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Install configuration files for services
|
|
|
|
##############################################################################
|
|
|
|
|
2013-08-19 11:35:59 +00:00
|
|
|
install -p -m 644 %{SOURCE7} $RPM_BUILD_ROOT/etc/nsswitch.conf
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2010-09-06 14:40:34 +00:00
|
|
|
%ifnarch %{auxarches}
|
auto-import changelog data from glibc-2.3.3-27.src.rpm
Tue May 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-27
- remove /lib64/tls/librtkaio-2.3.[23].so in glibc_post_upgrade on x86-64,
s390x and ppc64 instead of /lib/tls/librtkaio-2.3.[23].so
- build mq_{send,receive} with -fexceptions
Fri May 07 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-26
- update from CVS
- fix <tgmath.h>
- fix memory leaks in nis, getifaddrs, etc. caused by incorrect use of
realloc
- remove /lib/{tls,i686}/librtkaio-2.3.[23].so in glibc_post_upgrade and
rerun ldconfig if needed, otherwise after glibc upgrade librt.so.1
might be a stale symlink
Wed May 05 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-25
- update from CVS
- disable FUTEX_REQUEUE (work around #115349)
- mq for sparc/sparc64/ia64
Tue May 04 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-24
- update from CVS
- define S_ISSOCK in -D_XOPEN_SOURCE=600 and S_I[FS]SOCK plus F_[SG]ETOWN
also in -D_XOPEN_SOURCE=500 (both included already in XNS5)
- reorder dlopen checks, so that dlopening ET_REL objects complains about
!= ET_DYN != ET_EXEC, not about phentsize (#121606)
- fix strpbrk macro for GCC 3.4+ (BZ #130)
- fix <sys/sysctl.h> (BZ #140)
- sched_[gs]etaffinity documentation fix (BZ #131)
- fix sparc64 build (BZ #139)
- change linuxthreads back to use non-cancellable writes to manager pipes
etc.
- fix sem_timedwait return value in linuxthreads (BZ #133)
- ia64 unnecessary PLT relocs removal
Thu Apr 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-23
- update from CVS
- fix *scanf
- fix shm_unlink, sem_unlink and mq_unlink errno values
- avoid memory leaks in error
- execstack fixes on s390
Mon Apr 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-22
- update from CVS
- mq and timer fixes
- rebuilt with binutils >= 2.15.90.0.3-2 to fix IA-64 statically linked
binaries
- fix linuxthreads librt.so on s390{,x}, so it is no longer DT_TEXTREL
Sat Apr 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-21
- disable rtkaio
- update from CVS
- POSIX message passing support
- fixed SIGEV_THREAD support for POSIX timers
- fix free on non-malloced memory in syslog
- fix ffsl on some 64-bit arches
- fix sched_setaffinity on x86-64, ia64
- fix ppc64 umount
- NETID_AUTHORITATIVE, SERVICES_AUTHORITATIVE support
- various NIS speedups
- fix fwrite with > 2GB sizes on 64-bit arches
- fix pthread_getattr_np guardsize reporting in NPTL
- report PLT relocations in ld.so and libc.so during the build
Thu Mar 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-20
- update from CVS
- change NPTL PTHREAD_MUTEX_ADAPTIVE_NP mutexes to spin on SMP
- strtol speed optimization
- don't try to use certainly unimplemented syscalls on ppc64
- kill -debug subpackage, move the libs to glibc-debuginfo{,-common} into
/usr/lib/debug/usr/lib64/ directory
- fix c_stubs with gcc 3.4
- move all the up to 3 builds into %build scriptlet and leave only
installation in the %install scriptlet
Mon Mar 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-19
- update from CVS
- affinity API changes
2004-09-09 05:48:43 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/default
|
2004-09-30 09:26:07 +00:00
|
|
|
install -p -m 644 nis/nss $RPM_BUILD_ROOT/etc/default/nss
|
auto-import changelog data from glibc-2.3.3-27.src.rpm
Tue May 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-27
- remove /lib64/tls/librtkaio-2.3.[23].so in glibc_post_upgrade on x86-64,
s390x and ppc64 instead of /lib/tls/librtkaio-2.3.[23].so
- build mq_{send,receive} with -fexceptions
Fri May 07 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-26
- update from CVS
- fix <tgmath.h>
- fix memory leaks in nis, getifaddrs, etc. caused by incorrect use of
realloc
- remove /lib/{tls,i686}/librtkaio-2.3.[23].so in glibc_post_upgrade and
rerun ldconfig if needed, otherwise after glibc upgrade librt.so.1
might be a stale symlink
Wed May 05 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-25
- update from CVS
- disable FUTEX_REQUEUE (work around #115349)
- mq for sparc/sparc64/ia64
Tue May 04 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-24
- update from CVS
- define S_ISSOCK in -D_XOPEN_SOURCE=600 and S_I[FS]SOCK plus F_[SG]ETOWN
also in -D_XOPEN_SOURCE=500 (both included already in XNS5)
- reorder dlopen checks, so that dlopening ET_REL objects complains about
!= ET_DYN != ET_EXEC, not about phentsize (#121606)
- fix strpbrk macro for GCC 3.4+ (BZ #130)
- fix <sys/sysctl.h> (BZ #140)
- sched_[gs]etaffinity documentation fix (BZ #131)
- fix sparc64 build (BZ #139)
- change linuxthreads back to use non-cancellable writes to manager pipes
etc.
- fix sem_timedwait return value in linuxthreads (BZ #133)
- ia64 unnecessary PLT relocs removal
Thu Apr 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-23
- update from CVS
- fix *scanf
- fix shm_unlink, sem_unlink and mq_unlink errno values
- avoid memory leaks in error
- execstack fixes on s390
Mon Apr 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-22
- update from CVS
- mq and timer fixes
- rebuilt with binutils >= 2.15.90.0.3-2 to fix IA-64 statically linked
binaries
- fix linuxthreads librt.so on s390{,x}, so it is no longer DT_TEXTREL
Sat Apr 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-21
- disable rtkaio
- update from CVS
- POSIX message passing support
- fixed SIGEV_THREAD support for POSIX timers
- fix free on non-malloced memory in syslog
- fix ffsl on some 64-bit arches
- fix sched_setaffinity on x86-64, ia64
- fix ppc64 umount
- NETID_AUTHORITATIVE, SERVICES_AUTHORITATIVE support
- various NIS speedups
- fix fwrite with > 2GB sizes on 64-bit arches
- fix pthread_getattr_np guardsize reporting in NPTL
- report PLT relocations in ld.so and libc.so during the build
Thu Mar 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-20
- update from CVS
- change NPTL PTHREAD_MUTEX_ADAPTIVE_NP mutexes to spin on SMP
- strtol speed optimization
- don't try to use certainly unimplemented syscalls on ppc64
- kill -debug subpackage, move the libs to glibc-debuginfo{,-common} into
/usr/lib/debug/usr/lib64/ directory
- fix c_stubs with gcc 3.4
- move all the up to 3 builds into %build scriptlet and leave only
installation in the %install scriptlet
Mon Mar 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-19
- update from CVS
- affinity API changes
2004-09-09 05:48:43 +00:00
|
|
|
|
2004-09-09 05:40:37 +00:00
|
|
|
# This is for ncsd - in glibc 2.2
|
|
|
|
install -m 644 nscd/nscd.conf $RPM_BUILD_ROOT/etc
|
2013-08-16 14:00:36 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
|
2013-08-19 11:35:59 +00:00
|
|
|
install -m 644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}
|
2013-08-13 20:41:01 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/lib/systemd/system
|
2014-02-26 19:01:15 +00:00
|
|
|
install -m 644 nscd/nscd.service nscd/nscd.socket $RPM_BUILD_ROOT/lib/systemd/system
|
2010-09-06 14:40:34 +00:00
|
|
|
%endif
|
2004-09-09 05:40:37 +00:00
|
|
|
|
|
|
|
# Include ld.so.conf
|
2004-09-09 05:46:40 +00:00
|
|
|
echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT/etc/ld.so.conf
|
2013-07-26 00:30:34 +00:00
|
|
|
truncate -s 0 $RPM_BUILD_ROOT/etc/ld.so.cache
|
2004-09-09 05:40:37 +00:00
|
|
|
chmod 644 $RPM_BUILD_ROOT/etc/ld.so.conf
|
auto-import changelog data from glibc-2.3.3-27.src.rpm
Tue May 11 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-27
- remove /lib64/tls/librtkaio-2.3.[23].so in glibc_post_upgrade on x86-64,
s390x and ppc64 instead of /lib/tls/librtkaio-2.3.[23].so
- build mq_{send,receive} with -fexceptions
Fri May 07 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-26
- update from CVS
- fix <tgmath.h>
- fix memory leaks in nis, getifaddrs, etc. caused by incorrect use of
realloc
- remove /lib/{tls,i686}/librtkaio-2.3.[23].so in glibc_post_upgrade and
rerun ldconfig if needed, otherwise after glibc upgrade librt.so.1
might be a stale symlink
Wed May 05 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-25
- update from CVS
- disable FUTEX_REQUEUE (work around #115349)
- mq for sparc/sparc64/ia64
Tue May 04 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-24
- update from CVS
- define S_ISSOCK in -D_XOPEN_SOURCE=600 and S_I[FS]SOCK plus F_[SG]ETOWN
also in -D_XOPEN_SOURCE=500 (both included already in XNS5)
- reorder dlopen checks, so that dlopening ET_REL objects complains about
!= ET_DYN != ET_EXEC, not about phentsize (#121606)
- fix strpbrk macro for GCC 3.4+ (BZ #130)
- fix <sys/sysctl.h> (BZ #140)
- sched_[gs]etaffinity documentation fix (BZ #131)
- fix sparc64 build (BZ #139)
- change linuxthreads back to use non-cancellable writes to manager pipes
etc.
- fix sem_timedwait return value in linuxthreads (BZ #133)
- ia64 unnecessary PLT relocs removal
Thu Apr 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-23
- update from CVS
- fix *scanf
- fix shm_unlink, sem_unlink and mq_unlink errno values
- avoid memory leaks in error
- execstack fixes on s390
Mon Apr 19 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-22
- update from CVS
- mq and timer fixes
- rebuilt with binutils >= 2.15.90.0.3-2 to fix IA-64 statically linked
binaries
- fix linuxthreads librt.so on s390{,x}, so it is no longer DT_TEXTREL
Sat Apr 17 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-21
- disable rtkaio
- update from CVS
- POSIX message passing support
- fixed SIGEV_THREAD support for POSIX timers
- fix free on non-malloced memory in syslog
- fix ffsl on some 64-bit arches
- fix sched_setaffinity on x86-64, ia64
- fix ppc64 umount
- NETID_AUTHORITATIVE, SERVICES_AUTHORITATIVE support
- various NIS speedups
- fix fwrite with > 2GB sizes on 64-bit arches
- fix pthread_getattr_np guardsize reporting in NPTL
- report PLT relocations in ld.so and libc.so during the build
Thu Mar 25 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-20
- update from CVS
- change NPTL PTHREAD_MUTEX_ADAPTIVE_NP mutexes to spin on SMP
- strtol speed optimization
- don't try to use certainly unimplemented syscalls on ppc64
- kill -debug subpackage, move the libs to glibc-debuginfo{,-common} into
/usr/lib/debug/usr/lib64/ directory
- fix c_stubs with gcc 3.4
- move all the up to 3 builds into %build scriptlet and leave only
installation in the %install scriptlet
Mon Mar 22 2004 Jakub Jelinek <jakub@redhat.com> 2.3.3-19
- update from CVS
- affinity API changes
2004-09-09 05:48:43 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
|
2010-09-06 14:40:34 +00:00
|
|
|
%ifnarch %{auxarches}
|
2005-09-12 13:33:00 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
|
2013-07-26 00:30:34 +00:00
|
|
|
truncate -s 0 $RPM_BUILD_ROOT/etc/sysconfig/nscd
|
|
|
|
truncate -s 0 $RPM_BUILD_ROOT/etc/gai.conf
|
2010-09-06 14:40:34 +00:00
|
|
|
%endif
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-07-26 05:59:43 +00:00
|
|
|
# Include %{_libdir}/gconv/gconv-modules.cache
|
|
|
|
truncate -s 0 $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules.cache
|
|
|
|
chmod 644 $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules.cache
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
2013-07-25 03:00:43 +00:00
|
|
|
# Misc...
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
|
2013-07-25 03:00:43 +00:00
|
|
|
# Install the upgrade program
|
|
|
|
install -m 700 build-%{target}/glibc_post_upgrade.%{_target_cpu} \
|
2013-08-15 03:48:25 +00:00
|
|
|
$RPM_BUILD_ROOT%{_prefix}/sbin/glibc_post_upgrade.%{_target_cpu}
|
2004-12-21 09:22:01 +00:00
|
|
|
|
2013-07-25 03:00:43 +00:00
|
|
|
# Strip all of the installed object files.
|
2013-07-26 05:59:43 +00:00
|
|
|
strip -g $RPM_BUILD_ROOT%{_libdir}/*.o
|
2013-07-25 03:00:43 +00:00
|
|
|
|
|
|
|
# XXX: Ugly hack for buggy rpm. What bug? BZ? Is this fixed?
|
|
|
|
ln -f ${RPM_BUILD_ROOT}%{_sbindir}/iconvconfig{,.%{_target_cpu}}
|
2007-03-31 17:37:20 +00:00
|
|
|
|
2013-07-26 05:05:12 +00:00
|
|
|
##############################################################################
|
|
|
|
# Install debug copies of unstripped static libraries
|
|
|
|
# - This step must be last in order to capture any additional static
|
|
|
|
# archives we might have added.
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
# If we are building a debug package then copy all of the static archives
|
|
|
|
# into the debug directory to keep them as unstripped copies.
|
|
|
|
%if 0%{?_enable_debug_packages}
|
2013-07-26 05:59:43 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_libdir}
|
|
|
|
cp -a $RPM_BUILD_ROOT%{_libdir}/*.a \
|
|
|
|
$RPM_BUILD_ROOT%{_prefix}/lib/debug%{_libdir}/
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_libdir}/*_p.a
|
2013-07-26 05:05:12 +00:00
|
|
|
%endif
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Build the file lists used for describing the package and subpackages.
|
|
|
|
##############################################################################
|
2016-07-20 15:09:24 +00:00
|
|
|
# There are several main file lists (and many more for
|
2016-02-26 09:06:35 +00:00
|
|
|
# the langpack sub-packages (langpack-${lang}.filelist)):
|
2013-07-24 11:58:38 +00:00
|
|
|
# * rpm.fileslist
|
|
|
|
# - Master file list. Eventually, after removing files from this list
|
|
|
|
# we are left with the list of files for the glibc package.
|
|
|
|
# * common.filelist
|
|
|
|
# - Contains the list of flies for the common subpackage.
|
|
|
|
# * utils.filelist
|
|
|
|
# - Contains the list of files for the utils subpackage.
|
|
|
|
# * nscd.filelist
|
|
|
|
# - Contains the list of files for the nscd subpackage.
|
|
|
|
# * devel.filelist
|
|
|
|
# - Contains the list of files for the devel subpackage.
|
|
|
|
# * headers.filelist
|
|
|
|
# - Contains the list of files for the headers subpackage.
|
|
|
|
# * static.filelist
|
|
|
|
# - Contains the list of files for the static subpackage.
|
|
|
|
# * nosegneg.filelist
|
|
|
|
# - Contains the list of files for the xen subpackage.
|
2016-07-20 15:09:24 +00:00
|
|
|
# * nss_db.filelist, nss_nis.filelist, nss_hesiod.filelist
|
|
|
|
# - File lists for nss_* NSS module subpackages.
|
|
|
|
# * nss-devel.filelist
|
|
|
|
# - File list with the .so symbolic links for NSS packages.
|
2013-07-24 11:58:38 +00:00
|
|
|
# * debuginfo.filelist
|
|
|
|
# - Contains the list of files for the glibc debuginfo package.
|
|
|
|
# * debuginfocommon.filelist
|
|
|
|
# - Contains the list of files for the glibc common debuginfo package.
|
|
|
|
#
|
|
|
|
|
2009-06-26 15:46:27 +00:00
|
|
|
{
|
2009-07-30 13:39:12 +00:00
|
|
|
find $RPM_BUILD_ROOT \( -type f -o -type l \) \
|
2009-06-26 15:46:27 +00:00
|
|
|
\( \
|
|
|
|
-name etc -printf "%%%%config " -o \
|
|
|
|
-name gconv-modules \
|
|
|
|
-printf "%%%%verify(not md5 size mtime) %%%%config(noreplace) " -o \
|
|
|
|
-name gconv-modules.cache \
|
|
|
|
-printf "%%%%verify(not md5 size mtime) " \
|
|
|
|
, \
|
2009-07-30 13:39:12 +00:00
|
|
|
! -path "*/lib/debug/*" -printf "/%%P\n" \)
|
2014-12-05 06:53:29 +00:00
|
|
|
# Print all directories with a %%dir prefix. We omit the info directory and
|
|
|
|
# all directories in (and including) /usr/share/locale.
|
2009-06-26 15:46:27 +00:00
|
|
|
find $RPM_BUILD_ROOT -type d \
|
2014-12-05 06:53:29 +00:00
|
|
|
\( -path '*%{_prefix}/share/locale' -prune -o \
|
2015-08-28 19:29:26 +00:00
|
|
|
\( -path '*%{_prefix}/share/*' \
|
|
|
|
%if %{with docs}
|
|
|
|
! -path '*%{_infodir}' -o \
|
|
|
|
%endif
|
2010-05-19 12:00:46 +00:00
|
|
|
-path "*%{_prefix}/include/*" \
|
2014-12-05 06:53:29 +00:00
|
|
|
\) -printf "%%%%dir /%%P\n" \)
|
2009-06-26 15:46:27 +00:00
|
|
|
} | {
|
|
|
|
|
|
|
|
# primary filelist
|
2014-12-05 11:09:35 +00:00
|
|
|
|
2016-02-26 09:06:35 +00:00
|
|
|
# Also remove the *.mo entries. We will add them to the
|
|
|
|
# language specific sub-packages.
|
2016-07-20 15:09:24 +00:00
|
|
|
# libnss_ files go into subpackages related to NSS modules.
|
2016-02-26 09:06:35 +00:00
|
|
|
# and .*/share/i18n/charmaps/.*), they go into the sub-package
|
2016-07-20 15:09:24 +00:00
|
|
|
# "locale-source":
|
2014-12-05 11:09:35 +00:00
|
|
|
sed -e '\,.*/share/locale/\([^/_]\+\).*/LC_MESSAGES/.*\.mo,d' \
|
2016-02-26 09:06:35 +00:00
|
|
|
-e '\,.*/share/i18n/locales/.*,d' \
|
|
|
|
-e '\,.*/share/i18n/charmaps/.*,d' \
|
2010-10-14 10:30:32 +00:00
|
|
|
-e '\,/etc/\(localtime\|nsswitch.conf\|ld\.so\.conf\|ld\.so\.cache\|default\|rpc\|gai\.conf\),d' \
|
2009-06-26 15:46:27 +00:00
|
|
|
-e '\,/%{_lib}/lib\(pcprofile\|memusage\)\.so,d' \
|
|
|
|
-e '\,bin/\(memusage\|mtrace\|xtrace\|pcprofiledump\),d'
|
|
|
|
} | sort > rpm.filelist
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2016-02-26 09:06:35 +00:00
|
|
|
touch common.filelist
|
2014-12-05 11:09:35 +00:00
|
|
|
|
2013-08-13 20:41:01 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
mv -f $RPM_BUILD_ROOT/%{_lib}/lib{pcprofile,memusage}.so $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# The xtrace and memusage scripts have hard-coded paths that need to be
|
|
|
|
# translated to a correct set of paths using the $LIB token which is
|
|
|
|
# dynamically translated by ld.so as the default lib directory.
|
2004-09-09 05:40:37 +00:00
|
|
|
for i in $RPM_BUILD_ROOT%{_prefix}/bin/{xtrace,memusage}; do
|
2013-07-26 05:59:43 +00:00
|
|
|
sed -e 's~=/%{_lib}/libpcprofile.so~=%{_libdir}/libpcprofile.so~' \
|
|
|
|
-e 's~=/%{_lib}/libmemusage.so~=%{_libdir}/libmemusage.so~' \
|
2006-08-07 19:49:00 +00:00
|
|
|
-e 's~='\''/\\\$LIB/libpcprofile.so~='\''%{_prefix}/\\$LIB/libpcprofile.so~' \
|
|
|
|
-e 's~='\''/\\\$LIB/libmemusage.so~='\''%{_prefix}/\\$LIB/libmemusage.so~' \
|
2009-06-26 15:46:27 +00:00
|
|
|
-i $i
|
2004-09-09 05:40:37 +00:00
|
|
|
done
|
|
|
|
|
2015-08-28 19:29:26 +00:00
|
|
|
%if %{with docs}
|
2013-07-24 11:58:38 +00:00
|
|
|
# Put the info files into the devel file list.
|
2005-02-11 11:29:59 +00:00
|
|
|
grep '%{_infodir}' < rpm.filelist | grep -v '%{_infodir}/dir' > devel.filelist
|
2015-08-28 19:29:26 +00:00
|
|
|
%endif
|
2013-07-24 11:58:38 +00:00
|
|
|
|
2015-06-17 20:40:15 +00:00
|
|
|
# The glibc-headers package includes only common files which are identical
|
|
|
|
# across all multilib packages. We must keep gnu/stubs.h and gnu/lib-names.h
|
|
|
|
# in the glibc-headers package, but the -32, -64, -64-v1, and -64-v2 versions
|
|
|
|
# go into the development packages.
|
|
|
|
grep '%{_prefix}/include/gnu/stubs-.*\.h$' < rpm.filelist >> devel.filelist || :
|
|
|
|
grep '%{_prefix}/include/gnu/lib-names-.*\.h$' < rpm.filelist >> devel.filelist || :
|
2013-07-24 11:58:38 +00:00
|
|
|
# Put the include files into headers file list.
|
2015-06-17 20:40:15 +00:00
|
|
|
grep '%{_prefix}/include' < rpm.filelist \
|
2015-06-22 00:17:04 +00:00
|
|
|
| egrep -v '%{_prefix}/include/gnu/stubs-.*\.h$' \
|
|
|
|
| egrep -v '%{_prefix}/include/gnu/lib-names-.*\.h$' \
|
2015-06-17 20:40:15 +00:00
|
|
|
> headers.filelist
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# Remove partial (lib*_p.a) static libraries, include files, and info files from
|
|
|
|
# the core glibc package.
|
2013-07-26 05:59:43 +00:00
|
|
|
sed -i -e '\|%{_libdir}/lib.*_p.a|d' \
|
2009-06-26 15:46:27 +00:00
|
|
|
-e '\|%{_prefix}/include|d' \
|
2015-08-28 19:29:26 +00:00
|
|
|
-e '\|%{_infodir}|d' \
|
|
|
|
rpm.filelist
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# Put some static files into the devel package.
|
2013-07-26 05:59:43 +00:00
|
|
|
grep '%{_libdir}/lib.*\.a' < rpm.filelist \
|
2015-12-05 19:31:00 +00:00
|
|
|
| grep '/lib\(\(c\|pthread\|nldbl\|mvec\)_nonshared\|g\|ieee\|mcheck\|rpcsvc\)\.a$' \
|
2009-02-18 20:47:04 +00:00
|
|
|
>> devel.filelist
|
2013-07-24 11:58:38 +00:00
|
|
|
|
|
|
|
# Put the rest of the static files into the static package.
|
2013-07-26 05:59:43 +00:00
|
|
|
grep '%{_libdir}/lib.*\.a' < rpm.filelist \
|
2015-12-05 19:31:00 +00:00
|
|
|
| grep -v '/lib\(\(c\|pthread\|nldbl\|mvec\)_nonshared\|g\|ieee\|mcheck\|rpcsvc\)\.a$' \
|
2009-02-18 20:47:04 +00:00
|
|
|
> static.filelist
|
2013-07-24 11:58:38 +00:00
|
|
|
|
|
|
|
# Put all of the object files and *.so (not the versioned ones) into the
|
|
|
|
# devel package.
|
2013-07-26 05:59:43 +00:00
|
|
|
grep '%{_libdir}/.*\.o' < rpm.filelist >> devel.filelist
|
2013-08-13 20:41:01 +00:00
|
|
|
grep '%{_libdir}/lib.*\.so' < rpm.filelist >> devel.filelist
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2015-06-22 00:17:04 +00:00
|
|
|
# Remove all of the static, object, unversioned DSOs, and nscd from the core
|
|
|
|
# glibc package.
|
2013-07-26 05:59:43 +00:00
|
|
|
sed -i -e '\|%{_libdir}/lib.*\.a|d' \
|
|
|
|
-e '\|%{_libdir}/.*\.o|d' \
|
2013-08-13 20:41:01 +00:00
|
|
|
-e '\|%{_libdir}/lib.*\.so|d' \
|
2009-06-26 15:46:27 +00:00
|
|
|
-e '\|nscd|d' rpm.filelist
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# All of the bin and certain sbin files go into the common package.
|
|
|
|
# We explicitly exclude certain sbin files that need to go into
|
|
|
|
# the core glibc package for use during upgrades.
|
2013-08-13 20:41:01 +00:00
|
|
|
grep '%{_prefix}/bin' < rpm.filelist >> common.filelist
|
|
|
|
grep '%{_prefix}/sbin/[^gi]' < rpm.filelist >> common.filelist
|
2013-07-24 11:58:38 +00:00
|
|
|
# All of the files under share go into the common package since
|
2013-08-13 20:41:01 +00:00
|
|
|
# they should be multilib-independent.
|
2008-03-05 10:32:39 +00:00
|
|
|
grep '%{_prefix}/share' < rpm.filelist | \
|
2013-08-13 20:41:01 +00:00
|
|
|
grep -v -e '%{_prefix}/share/zoneinfo' -e '%%dir %{prefix}/share' \
|
|
|
|
>> common.filelist
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-07-29 12:05:53 +00:00
|
|
|
# Remove the bin, locale, some sbin, and share from the
|
2013-07-24 11:58:38 +00:00
|
|
|
# core glibc package. We cheat a bit and use the slightly dangerous
|
2013-08-13 20:41:01 +00:00
|
|
|
# /usr/sbin/[^gi] to match the inverse of the search that put the
|
2013-07-24 11:58:38 +00:00
|
|
|
# files into common.filelist. It's dangerous in that additional files
|
2013-08-13 20:41:01 +00:00
|
|
|
# that start with g, or i would get put into common.filelist and
|
2013-07-24 11:58:38 +00:00
|
|
|
# rpm.filelist.
|
2009-06-26 15:46:27 +00:00
|
|
|
sed -i -e '\|%{_prefix}/bin|d' \
|
2013-08-13 20:41:01 +00:00
|
|
|
-e '\|%{_prefix}/lib/locale|d' \
|
|
|
|
-e '\|%{_prefix}/sbin/[^gi]|d' \
|
|
|
|
-e '\|%{_prefix}/share|d' rpm.filelist
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# Build the xen package file list (nosegneg.filelist)
|
|
|
|
##############################################################################
|
2013-07-26 00:30:34 +00:00
|
|
|
truncate -s 0 nosegneg.filelist
|
2005-04-27 12:26:45 +00:00
|
|
|
%if %{xenpackage}
|
2013-08-13 20:41:01 +00:00
|
|
|
grep '/%{_lib}/%{nosegneg_subdir}' < rpm.filelist >> nosegneg.filelist
|
|
|
|
sed -i -e '\|/%{_lib}/%{nosegneg_subdir}|d' rpm.filelist
|
2013-07-24 11:58:38 +00:00
|
|
|
# TODO: There are files in the nosegneg list which should be in the devel
|
|
|
|
# pacakge, but we leave them instead in the xen subpackage. We may
|
|
|
|
# wish to clean that up at some point.
|
2005-04-27 12:26:45 +00:00
|
|
|
%endif
|
|
|
|
|
2016-02-26 09:06:35 +00:00
|
|
|
# Add the binary to build locales to the common subpackage.
|
2004-09-09 05:40:37 +00:00
|
|
|
echo '%{_prefix}/sbin/build-locale-archive' >> common.filelist
|
2013-07-24 11:58:38 +00:00
|
|
|
|
|
|
|
# The nscd binary must go into the nscd subpackage.
|
2004-09-09 05:40:37 +00:00
|
|
|
echo '%{_prefix}/sbin/nscd' > nscd.filelist
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# The memusage and pcprofile libraries are put back into the core
|
|
|
|
# glibc package even though they are only used by utils package
|
|
|
|
# scripts..
|
2011-09-16 12:17:45 +00:00
|
|
|
cat >> rpm.filelist <<EOF
|
2013-07-26 05:59:43 +00:00
|
|
|
%{_libdir}/libmemusage.so
|
|
|
|
%{_libdir}/libpcprofile.so
|
2011-09-16 12:17:45 +00:00
|
|
|
EOF
|
2013-07-24 11:58:38 +00:00
|
|
|
|
|
|
|
# Add the utils scripts and programs to the utils subpackage.
|
2011-09-16 12:17:45 +00:00
|
|
|
cat > utils.filelist <<EOF
|
2004-09-09 05:40:37 +00:00
|
|
|
%{_prefix}/bin/memusage
|
|
|
|
%{_prefix}/bin/memusagestat
|
|
|
|
%{_prefix}/bin/mtrace
|
|
|
|
%{_prefix}/bin/pcprofiledump
|
|
|
|
%{_prefix}/bin/xtrace
|
|
|
|
EOF
|
|
|
|
|
2016-07-20 15:09:24 +00:00
|
|
|
# Move the NSS-related files to the NSS subpackages. Be careful not
|
|
|
|
# to pick up .debug files, and the -devel symbolic links.
|
|
|
|
for module in db nis nisplus compat hesiod files dns; do
|
|
|
|
grep -E "/libnss_$module(\.so\.[0-9.]+|-[0-9.]+\.so)$" \
|
|
|
|
rpm.filelist > nss_$module.filelist
|
|
|
|
done
|
|
|
|
# nis includes nisplus and compat
|
|
|
|
cat nss_nisplus.filelist nss_compat.filelist >> nss_nis.filelist
|
|
|
|
# Symlinks go into the nss-devel package (instead of the main devel
|
|
|
|
# package).
|
|
|
|
grep '/libnss_[a-z]*\.so$' devel.filelist > nss-devel.filelist
|
|
|
|
# /var/db/Makefile goes into nss_hesiod, remove the other files from
|
|
|
|
# the main and devel file list.
|
|
|
|
sed -i -e '\,/libnss_.*\.so[0-9.]*$,d' \
|
|
|
|
-e '\,/var/db/Makefile,d' \
|
|
|
|
rpm.filelist devel.filelist
|
|
|
|
# Restore the built-in NSS modules.
|
|
|
|
cat nss_files.filelist nss_dns.filelist >> rpm.filelist
|
|
|
|
|
2013-08-13 20:41:01 +00:00
|
|
|
# Remove the zoneinfo files
|
|
|
|
# XXX: Why isn't this don't earlier when we are removing files?
|
|
|
|
# Won't this impact what is shipped?
|
2004-09-09 05:42:25 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo
|
|
|
|
|
2013-08-19 11:35:59 +00:00
|
|
|
# Make sure %config files have the same timestamp across multilib packages.
|
|
|
|
#
|
|
|
|
# XXX: Ideally ld.so.conf should have the timestamp of the spec file, but there
|
|
|
|
# doesn't seem to be any macro to give us that. So we do the next best thing,
|
|
|
|
# which is to at least keep the timestamp consistent. The choice of using
|
|
|
|
# glibc_post_upgrade.c is arbitrary.
|
|
|
|
touch -r %{SOURCE2} $RPM_BUILD_ROOT/etc/ld.so.conf
|
2006-11-28 12:30:29 +00:00
|
|
|
touch -r sunrpc/etc.rpc $RPM_BUILD_ROOT/etc/rpc
|
|
|
|
|
2012-06-12 01:32:35 +00:00
|
|
|
# We allow undefined symbols in shared libraries because the libraries
|
|
|
|
# referenced at link time here, particularly ld.so, may be different than
|
2013-07-24 05:22:37 +00:00
|
|
|
# the one used at runtime. This is really only needed during the ARM
|
2012-06-12 01:32:35 +00:00
|
|
|
# transition from ld-linux.so.3 to ld-linux-armhf.so.3.
|
2013-08-19 11:35:59 +00:00
|
|
|
pushd build-%{target}
|
2014-09-08 10:52:40 +00:00
|
|
|
$GCC -Os -g -static -o build-locale-archive %{SOURCE1} \
|
2013-07-25 22:53:13 +00:00
|
|
|
../build-%{target}/locale/locarchive.o \
|
|
|
|
../build-%{target}/locale/md5.o \
|
2013-08-19 11:35:59 +00:00
|
|
|
-I. -DDATADIR=\"%{_datadir}\" -DPREFIX=\"%{_prefix}\" \
|
2013-07-25 22:53:13 +00:00
|
|
|
-L../build-%{target} \
|
|
|
|
-Wl,--allow-shlib-undefined \
|
|
|
|
-B../build-%{target}/csu/ -lc -lc_nonshared
|
2013-08-15 03:48:25 +00:00
|
|
|
install -m 700 build-locale-archive $RPM_BUILD_ROOT%{_prefix}/sbin/build-locale-archive
|
2013-07-24 05:27:35 +00:00
|
|
|
popd
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# Lastly copy some additional documentation for the packages.
|
2004-09-09 05:40:37 +00:00
|
|
|
rm -rf documentation
|
|
|
|
mkdir documentation
|
|
|
|
cp crypt/README.ufc-crypt documentation/README.ufc-crypt
|
|
|
|
cp timezone/README documentation/README.timezone
|
2006-05-05 07:42:23 +00:00
|
|
|
cp posix/gai.conf documentation/
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-08-13 17:18:15 +00:00
|
|
|
%ifarch s390x
|
2013-08-13 20:41:01 +00:00
|
|
|
# Compatibility symlink
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/lib
|
|
|
|
ln -sf /%{_lib}/ld64.so.1 $RPM_BUILD_ROOT/lib/ld64.so.1
|
2004-09-09 05:40:37 +00:00
|
|
|
%endif
|
|
|
|
|
2012-06-12 01:32:35 +00:00
|
|
|
# Leave a compatibility symlink for the dynamic loader on armhfp targets,
|
|
|
|
# at least until the world gets rebuilt
|
|
|
|
%ifarch armv7hl armv7hnl
|
2013-08-13 20:41:01 +00:00
|
|
|
ln -sf /lib/ld-linux-armhf.so.3 $RPM_BUILD_ROOT/lib/ld-linux.so.3
|
2012-06-12 01:32:35 +00:00
|
|
|
%endif
|
|
|
|
|
2015-08-28 19:29:26 +00:00
|
|
|
%if %{with benchtests}
|
2015-05-08 06:19:59 +00:00
|
|
|
# Build benchmark binaries. Ignore the output of the benchmark runs.
|
|
|
|
pushd build-%{target}
|
|
|
|
make BENCH_DURATION=1 bench-build
|
|
|
|
popd
|
|
|
|
|
|
|
|
# Copy over benchmark binaries.
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/libexec/glibc-benchtests
|
|
|
|
cp $(find build-%{target}/benchtests -type f -executable) $RPM_BUILD_ROOT%{_prefix}/libexec/glibc-benchtests/
|
|
|
|
|
|
|
|
find build-%{target}/benchtests -type f -executable | while read b; do
|
|
|
|
echo "%{_prefix}/libexec/glibc-benchtests/$(basename $b)"
|
|
|
|
done >> benchtests.filelist
|
|
|
|
|
|
|
|
# ... and the makefile.
|
|
|
|
for b in %{SOURCE9} %{SOURCE10}; do
|
|
|
|
cp $b $RPM_BUILD_ROOT%{_prefix}/libexec/glibc-benchtests/
|
|
|
|
echo "%{_prefix}/libexec/glibc-benchtests/$(basename $b)" >> benchtests.filelist
|
|
|
|
done
|
|
|
|
|
|
|
|
# .. and finally, the comparison scripts.
|
|
|
|
cp benchtests/scripts/benchout.schema.json $RPM_BUILD_ROOT%{_prefix}/libexec/glibc-benchtests/
|
|
|
|
cp benchtests/scripts/compare_bench.py $RPM_BUILD_ROOT%{_prefix}/libexec/glibc-benchtests/
|
|
|
|
cp benchtests/scripts/import_bench.py $RPM_BUILD_ROOT%{_prefix}/libexec/glibc-benchtests/
|
|
|
|
cp benchtests/scripts/validate_benchout.py $RPM_BUILD_ROOT%{_prefix}/libexec/glibc-benchtests/
|
|
|
|
|
|
|
|
echo "%{_prefix}/libexec/glibc-benchtests/benchout.schema.json" >> benchtests.filelist
|
|
|
|
echo "%{_prefix}/libexec/glibc-benchtests/compare_bench.py*" >> benchtests.filelist
|
|
|
|
echo "%{_prefix}/libexec/glibc-benchtests/import_bench.py*" >> benchtests.filelist
|
|
|
|
echo "%{_prefix}/libexec/glibc-benchtests/validate_benchout.py*" >> benchtests.filelist
|
|
|
|
%endif
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
###############################################################################
|
|
|
|
# Rebuild libpthread.a using --whole-archive to ensure all of libpthread
|
|
|
|
# is included in a static link. This prevents any problems when linking
|
|
|
|
# statically, using parts of libpthread, and other necessary parts not
|
|
|
|
# being included. Upstream has decided that this is the wrong approach to
|
|
|
|
# this problem and that the full set of dependencies should be resolved
|
|
|
|
# such that static linking works and produces the most minimally sized
|
|
|
|
# static application possible.
|
|
|
|
###############################################################################
|
2013-08-15 03:48:25 +00:00
|
|
|
pushd $RPM_BUILD_ROOT%{_prefix}/%{_lib}/
|
2009-03-09 15:03:51 +00:00
|
|
|
$GCC -r -nostdlib -o libpthread.o -Wl,--whole-archive ./libpthread.a
|
2009-02-18 20:47:04 +00:00
|
|
|
rm libpthread.a
|
|
|
|
ar rcs libpthread.a libpthread.o
|
|
|
|
rm libpthread.o
|
|
|
|
popd
|
2013-07-24 11:58:38 +00:00
|
|
|
###############################################################################
|
2009-02-18 20:47:04 +00:00
|
|
|
|
2009-06-26 15:46:27 +00:00
|
|
|
%if 0%{?_enable_debug_packages}
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2007-08-10 01:55:13 +00:00
|
|
|
# The #line directives gperf generates do not give the proper
|
|
|
|
# file name relative to the build directory.
|
2013-08-08 15:23:18 +00:00
|
|
|
pushd locale
|
|
|
|
ln -s programs/*.gperf .
|
|
|
|
popd
|
|
|
|
pushd iconv
|
|
|
|
ln -s ../locale/programs/charmap-kw.gperf .
|
|
|
|
popd
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# Print some diagnostic information in the builds about the
|
|
|
|
# getconf binaries.
|
|
|
|
# XXX: Why do we do this?
|
2013-08-15 03:48:25 +00:00
|
|
|
ls -l $RPM_BUILD_ROOT%{_prefix}/bin/getconf
|
|
|
|
ls -l $RPM_BUILD_ROOT%{_prefix}/libexec/getconf
|
|
|
|
eu-readelf -hS $RPM_BUILD_ROOT%{_prefix}/bin/getconf \
|
|
|
|
$RPM_BUILD_ROOT%{_prefix}/libexec/getconf/*
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2007-08-10 01:55:13 +00:00
|
|
|
find_debuginfo_args='--strict-build-id -g'
|
|
|
|
%ifarch %{debuginfocommonarches}
|
|
|
|
find_debuginfo_args="$find_debuginfo_args \
|
2013-07-25 22:53:13 +00:00
|
|
|
-l common.filelist \
|
|
|
|
-l utils.filelist \
|
|
|
|
-l nscd.filelist \
|
2013-08-13 20:41:01 +00:00
|
|
|
-p '.*/(sbin|libexec)/.*' \
|
2013-07-25 22:53:13 +00:00
|
|
|
-o debuginfocommon.filelist \
|
2016-07-20 15:09:24 +00:00
|
|
|
-l nss_db.filelist -l nss_nis.filelist -l nss_hesiod.filelist \
|
2013-07-25 22:53:13 +00:00
|
|
|
-l rpm.filelist \
|
2015-08-28 19:29:26 +00:00
|
|
|
%if %{with benchtests}
|
2015-05-08 06:19:59 +00:00
|
|
|
-l nosegneg.filelist -l benchtests.filelist"
|
2015-08-28 19:29:26 +00:00
|
|
|
%else
|
|
|
|
-l nosegneg.filelist"
|
|
|
|
%endif
|
2007-08-10 01:55:13 +00:00
|
|
|
%endif
|
2013-08-13 20:41:01 +00:00
|
|
|
eval /usr/lib/rpm/find-debuginfo.sh \
|
2013-07-25 22:53:13 +00:00
|
|
|
"$find_debuginfo_args" \
|
|
|
|
-o debuginfo.filelist
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# List all of the *.a archives in the debug directory.
|
2007-08-10 01:55:13 +00:00
|
|
|
list_debug_archives()
|
|
|
|
{
|
2013-07-26 05:59:43 +00:00
|
|
|
local dir=%{_prefix}/lib/debug%{_libdir}
|
2013-07-25 22:53:13 +00:00
|
|
|
find $RPM_BUILD_ROOT$dir -name "*.a" -printf "$dir/%%P\n"
|
2007-08-10 01:55:13 +00:00
|
|
|
}
|
2004-09-09 05:40:37 +00:00
|
|
|
|
|
|
|
%ifarch %{debuginfocommonarches}
|
2007-08-10 01:55:13 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# Remove the source files from the common package debuginfo.
|
2011-02-15 13:29:18 +00:00
|
|
|
sed -i '\#^%{_prefix}/src/debug/#d' debuginfocommon.filelist
|
2013-07-24 11:58:38 +00:00
|
|
|
|
|
|
|
# Create a list of all of the source files we copied to the debug directory.
|
2011-02-15 13:29:18 +00:00
|
|
|
find $RPM_BUILD_ROOT%{_prefix}/src/debug \
|
|
|
|
\( -type d -printf '%%%%dir ' \) , \
|
|
|
|
-printf '%{_prefix}/src/debug/%%P\n' > debuginfocommon.sources
|
|
|
|
|
|
|
|
%ifarch %{biarcharches}
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# Add the source files to the core debuginfo package.
|
2011-02-15 13:29:18 +00:00
|
|
|
cat debuginfocommon.sources >> debuginfo.filelist
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
2004-09-09 05:40:37 +00:00
|
|
|
%ifarch %{ix86}
|
2009-07-20 13:24:45 +00:00
|
|
|
%define basearch i686
|
2004-09-09 05:40:37 +00:00
|
|
|
%endif
|
|
|
|
%ifarch sparc sparcv9
|
|
|
|
%define basearch sparc
|
|
|
|
%endif
|
2007-08-10 01:55:13 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# The auxarches get only these few source files.
|
2007-08-10 01:55:13 +00:00
|
|
|
auxarches_debugsources=\
|
|
|
|
'/(generic|linux|%{basearch}|nptl(_db)?)/|/%{glibcsrcdir}/build|/dl-osinfo\.h'
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# Place the source files into the core debuginfo pakcage.
|
2007-08-10 01:55:13 +00:00
|
|
|
egrep "$auxarches_debugsources" debuginfocommon.sources >> debuginfo.filelist
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# Remove the source files from the common debuginfo package.
|
2007-08-10 01:55:13 +00:00
|
|
|
egrep -v "$auxarches_debugsources" \
|
2008-03-05 10:32:39 +00:00
|
|
|
debuginfocommon.sources >> debuginfocommon.filelist
|
2007-08-10 01:55:13 +00:00
|
|
|
|
2013-07-25 02:45:11 +00:00
|
|
|
%endif # %{biarcharches}
|
2011-02-15 13:29:18 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# Add the list of *.a archives in the debug directory to
|
|
|
|
# the common debuginfo package.
|
2007-08-10 01:55:13 +00:00
|
|
|
list_debug_archives >> debuginfocommon.filelist
|
|
|
|
|
2013-08-08 16:29:39 +00:00
|
|
|
# It happens that find-debuginfo.sh produces duplicate entries even
|
|
|
|
# though the inputs are unique. Therefore we sort and unique the
|
|
|
|
# entries in the debug file lists. This avoids the following warnings:
|
|
|
|
# ~~~
|
|
|
|
# Processing files: glibc-debuginfo-common-2.17.90-10.fc20.x86_64
|
|
|
|
# warning: File listed twice: /usr/lib/debug/usr/sbin/build-locale-archive.debug
|
|
|
|
# warning: File listed twice: /usr/lib/debug/usr/sbin/nscd.debug
|
|
|
|
# warning: File listed twice: /usr/lib/debug/usr/sbin/zdump.debug
|
|
|
|
# warning: File listed twice: /usr/lib/debug/usr/sbin/zic.debug
|
|
|
|
# ~~~
|
|
|
|
sort -u debuginfocommon.filelist > debuginfocommon2.filelist
|
|
|
|
mv debuginfocommon2.filelist debuginfocommon.filelist
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
%endif # %{debuginfocommonarches}
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-08-08 16:29:39 +00:00
|
|
|
# Remove any duplicates output by a buggy find-debuginfo.sh.
|
|
|
|
sort -u debuginfo.filelist > debuginfo2.filelist
|
|
|
|
mv debuginfo2.filelist debuginfo.filelist
|
|
|
|
|
2014-09-23 11:26:45 +00:00
|
|
|
# Remove some common directories from the common package debuginfo so that we
|
|
|
|
# don't end up owning them.
|
|
|
|
exclude_common_dirs()
|
|
|
|
{
|
|
|
|
exclude_dirs="%{_prefix}/src/debug"
|
|
|
|
exclude_dirs="$exclude_dirs $(echo %{_prefix}/lib/debug{,/%{_lib},/bin,/sbin})"
|
|
|
|
exclude_dirs="$exclude_dirs $(echo %{_prefix}/lib/debug%{_prefix}{,/%{_lib},/libexec,/bin,/sbin})"
|
|
|
|
|
|
|
|
for d in $(echo $exclude_dirs | sed 's/ /\n/g'); do
|
|
|
|
sed -i "\|^%%dir $d/\?$|d" $1
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
%ifarch %{debuginfocommonarches}
|
|
|
|
exclude_common_dirs debuginfocommon.filelist
|
|
|
|
%endif
|
|
|
|
exclude_common_dirs debuginfo.filelist
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
%endif # 0%{?_enable_debug_packages}
|
2007-08-10 01:55:13 +00:00
|
|
|
|
2015-08-28 19:29:26 +00:00
|
|
|
%if %{with docs}
|
2013-07-24 11:58:38 +00:00
|
|
|
# Remove the `dir' info-heirarchy file which will be maintained
|
|
|
|
# by the system as it adds info files to the install.
|
2007-08-10 01:55:13 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
2015-08-28 19:29:26 +00:00
|
|
|
%endif
|
2007-08-10 01:55:13 +00:00
|
|
|
|
2004-09-09 05:40:37 +00:00
|
|
|
%ifarch %{auxarches}
|
2007-08-10 01:55:13 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
# Delete files that we do not intended to ship with the auxarch.
|
2004-09-09 05:40:37 +00:00
|
|
|
echo Cutting down the list of unpackaged files
|
2007-08-10 01:55:13 +00:00
|
|
|
sed -e '/%%dir/d;/%%config/d;/%%verify/d;s/%%lang([^)]*) //;s#^/*##' \
|
2013-07-26 00:17:30 +00:00
|
|
|
common.filelist devel.filelist static.filelist headers.filelist \
|
|
|
|
utils.filelist nscd.filelist \
|
|
|
|
%ifarch %{debuginfocommonarches}
|
|
|
|
debuginfocommon.filelist \
|
|
|
|
%endif
|
|
|
|
| (cd $RPM_BUILD_ROOT; xargs --no-run-if-empty rm -f 2> /dev/null || :)
|
2013-07-24 11:58:38 +00:00
|
|
|
|
2004-10-18 23:44:24 +00:00
|
|
|
%else
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/{db,run}/nscd
|
2007-01-17 11:26:50 +00:00
|
|
|
touch $RPM_BUILD_ROOT/var/{db,run}/nscd/{passwd,group,hosts,services}
|
2004-10-18 23:44:24 +00:00
|
|
|
touch $RPM_BUILD_ROOT/var/run/nscd/{socket,nscd.pid}
|
2013-07-25 23:10:00 +00:00
|
|
|
|
2013-07-25 02:45:11 +00:00
|
|
|
%endif # %{auxarches}
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2016-03-01 07:59:24 +00:00
|
|
|
%ifnarch %{auxarches}
|
|
|
|
truncate -s 0 $RPM_BUILD_ROOT/%{_prefix}/lib/locale/locale-archive
|
|
|
|
%endif
|
|
|
|
|
2007-07-31 18:18:37 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/cache/ldconfig
|
2013-07-26 00:30:34 +00:00
|
|
|
truncate -s 0 $RPM_BUILD_ROOT/var/cache/ldconfig/aux-cache
|
2007-07-31 18:18:37 +00:00
|
|
|
|
2014-09-06 18:15:15 +00:00
|
|
|
##############################################################################
|
|
|
|
# Run the glibc testsuite
|
|
|
|
##############################################################################
|
|
|
|
%check
|
2015-08-28 19:29:26 +00:00
|
|
|
%if %{with testsuite}
|
2014-09-27 03:44:17 +00:00
|
|
|
|
|
|
|
# Run the glibc tests. If any tests fail to build we exit %check with an error
|
|
|
|
# of 1, otherwise we print the test failure list and the failed test output
|
|
|
|
# and exit with 0. In the future we want to compare against a baseline and
|
|
|
|
# exit with 1 if the results deviate from the baseline.
|
|
|
|
run_tests () {
|
|
|
|
truncate -s 0 check.log
|
|
|
|
tail -f check.log &
|
|
|
|
tailpid=$!
|
|
|
|
# Run the make a sub-shell (to avoid %check failing if make fails)
|
|
|
|
# but capture the status for use later. We use the normal sub-shell
|
|
|
|
# trick of printing the status. The actual result of the sub-shell
|
|
|
|
# is the successful execution of the echo.
|
|
|
|
status=$(set +e
|
|
|
|
make %{?_smp_mflags} check %{silentrules} > check.log 2>&1
|
|
|
|
status=$?
|
|
|
|
echo $status)
|
|
|
|
# Wait for the tail to catch up with the output and then kill it.
|
|
|
|
sleep 10
|
|
|
|
kill $tailpid
|
|
|
|
# Print the header, so we can find it, but skip the error printing
|
|
|
|
# if there aren't any failrues.
|
|
|
|
echo ===================FAILED TESTS=====================
|
|
|
|
if [ $status -ne 0 ]; then
|
|
|
|
# We are not running with `-k`, therefore a test build failure
|
|
|
|
# terminates the test run and that terminates %check with an
|
|
|
|
# error which terminates the build. We want this behaviour to
|
|
|
|
# ensure that all tests build, and all tests run.
|
|
|
|
# If the test result summary is not present it means one of
|
|
|
|
# tests failed to build.
|
|
|
|
if ! grep 'Summary of test results:' check.log; then
|
|
|
|
echo "FAIL: Some glibc tests failed to build."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Print out information about all of the failed tests.
|
|
|
|
grep -e ^FAIL -e ^ERROR tests.sum \
|
|
|
|
| awk '{print $2}' \
|
|
|
|
| while read testcase;
|
|
|
|
do
|
|
|
|
echo "$testcase"
|
|
|
|
cat $testcase.out
|
|
|
|
echo -------------------------
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2014-09-06 18:15:15 +00:00
|
|
|
# Increase timeouts
|
|
|
|
export TIMEOUTFACTOR=16
|
|
|
|
parent=$$
|
|
|
|
echo ====================TESTING=========================
|
|
|
|
##############################################################################
|
|
|
|
# - Test the default runtime.
|
2016-01-12 16:59:28 +00:00
|
|
|
# - Power 620 / 970 ISA for 64-bit POWER BE.
|
|
|
|
# - POWER8 for 64-bit POWER LE.
|
|
|
|
# - ??? for 64-bit x86_64
|
|
|
|
# - ??? for 32-bit x86
|
|
|
|
# - ??? for 64-bit AArch64
|
|
|
|
# - ??? for 32-bit ARM
|
|
|
|
# - ??? for 64-bit s390x
|
|
|
|
# - ??? for 32-bit s390
|
2014-09-06 18:15:15 +00:00
|
|
|
##############################################################################
|
|
|
|
pushd build-%{target}
|
2014-09-27 03:44:17 +00:00
|
|
|
run_tests
|
2014-09-06 18:15:15 +00:00
|
|
|
popd
|
|
|
|
|
2016-01-12 16:59:28 +00:00
|
|
|
%if %{buildxen}
|
|
|
|
echo ====================TESTING -mno-tls-direct-seg-refs=============
|
2014-09-06 18:15:15 +00:00
|
|
|
##############################################################################
|
|
|
|
# - Test the xen runtimes (nosegneg).
|
|
|
|
##############################################################################
|
|
|
|
pushd build-%{target}-nosegneg
|
2014-09-27 03:44:17 +00:00
|
|
|
run_tests
|
2014-09-06 18:15:15 +00:00
|
|
|
popd
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{buildpower6}
|
|
|
|
echo ====================TESTING -mcpu=power6=============
|
2016-01-12 16:59:28 +00:00
|
|
|
##############################################################################
|
|
|
|
# - Test the 64-bit POWER6 BE runtimes.
|
|
|
|
##############################################################################
|
2014-09-06 18:15:15 +00:00
|
|
|
pushd build-%{target}-power6
|
2014-09-27 03:44:17 +00:00
|
|
|
if [ -d ../power6emul ]; then
|
2014-09-06 18:15:15 +00:00
|
|
|
export LD_PRELOAD=`cd ../power6emul; pwd`/\$LIB/power6emul.so
|
2014-09-27 03:44:17 +00:00
|
|
|
fi
|
|
|
|
run_tests
|
2014-09-06 18:15:15 +00:00
|
|
|
popd
|
|
|
|
%endif
|
2016-01-12 16:59:28 +00:00
|
|
|
|
|
|
|
%if %{buildpower7}
|
|
|
|
echo ====================TESTING -mcpu=power7=============
|
|
|
|
##############################################################################
|
|
|
|
# - Test the 64-bit POWER7 BE runtimes.
|
|
|
|
##############################################################################
|
|
|
|
pushd build-%{target}-power7
|
|
|
|
run_tests
|
|
|
|
popd
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{buildpower8}
|
|
|
|
echo ====================TESTING -mcpu=power8=============
|
|
|
|
##############################################################################
|
|
|
|
# - Test the 64-bit POWER8 BE runtimes.
|
|
|
|
##############################################################################
|
|
|
|
pushd build-%{target}-power8
|
|
|
|
run_tests
|
|
|
|
popd
|
|
|
|
%endif
|
|
|
|
|
2014-09-06 18:15:15 +00:00
|
|
|
echo ====================TESTING DETAILS=================
|
|
|
|
for i in `sed -n 's|^.*\*\*\* \[\([^]]*\.out\)\].*$|\1|p' build-*-linux*/check.log`; do
|
|
|
|
echo =====$i=====
|
|
|
|
cat $i || :
|
|
|
|
echo ============
|
|
|
|
done
|
|
|
|
echo ====================TESTING END=====================
|
|
|
|
PLTCMD='/^Relocation section .*\(\.rela\?\.plt\|\.rela\.IA_64\.pltoff\)/,/^$/p'
|
|
|
|
echo ====================PLT RELOCS LD.SO================
|
|
|
|
readelf -Wr $RPM_BUILD_ROOT/%{_lib}/ld-*.so | sed -n -e "$PLTCMD"
|
|
|
|
echo ====================PLT RELOCS LIBC.SO==============
|
|
|
|
readelf -Wr $RPM_BUILD_ROOT/%{_lib}/libc-*.so | sed -n -e "$PLTCMD"
|
|
|
|
echo ====================PLT RELOCS END==================
|
|
|
|
|
2015-08-28 19:29:26 +00:00
|
|
|
%if %{with valgrind}
|
2014-09-23 11:28:34 +00:00
|
|
|
# Finally, check if valgrind runs with the new glibc.
|
|
|
|
# We want to fail building if valgrind is not able to run with this glibc so
|
|
|
|
# that we can then coordinate with valgrind to get it fixed before we update
|
|
|
|
# glibc.
|
|
|
|
pushd build-%{target}
|
|
|
|
elf/ld.so --library-path .:elf:nptl:dlfcn /usr/bin/valgrind \
|
|
|
|
elf/ld.so --library-path .:elf:nptl:dlfcn /usr/bin/true
|
|
|
|
popd
|
|
|
|
%endif
|
|
|
|
|
2014-09-06 18:15:15 +00:00
|
|
|
%endif # %{run_glibc_tests}
|
|
|
|
|
|
|
|
|
2010-11-12 12:29:24 +00:00
|
|
|
%pre -p <lua>
|
|
|
|
-- Check that the running kernel is new enough
|
|
|
|
required = '%{enablekernel}'
|
2010-12-13 16:58:18 +00:00
|
|
|
rel = posix.uname("%r")
|
|
|
|
if rpm.vercmp(rel, required) < 0 then
|
|
|
|
error("FATAL: kernel too old", 0)
|
2010-11-12 12:29:24 +00:00
|
|
|
end
|
|
|
|
|
2013-08-15 03:48:25 +00:00
|
|
|
%post -p %{_prefix}/sbin/glibc_post_upgrade.%{_target_cpu}
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-08-13 20:41:01 +00:00
|
|
|
%postun -p /sbin/ldconfig
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2016-06-18 21:14:06 +00:00
|
|
|
%posttrans all-langpacks -e -p <lua>
|
2016-03-01 07:59:24 +00:00
|
|
|
-- If at the end of the transaction we are still installed
|
|
|
|
-- (have a template of non-zero size), then we rebuild the
|
|
|
|
-- locale cache (locale-archive) from the pre-populated
|
|
|
|
-- locale cache (locale-archive.tmpl) i.e. template.
|
|
|
|
if posix.stat("%{_prefix}/lib/locale/locale-archive.tmpl", "size") > 0 then
|
|
|
|
pid = posix.fork()
|
|
|
|
if pid == 0 then
|
2016-06-18 21:14:06 +00:00
|
|
|
posix.exec("%{_prefix}/sbin/build-locale-archive", "--install-langs", "%%{_install_langs}")
|
2016-03-01 07:59:24 +00:00
|
|
|
elseif pid > 0 then
|
|
|
|
posix.wait(pid)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
%postun all-langpacks -p <lua>
|
|
|
|
-- In the postun we always remove the locale cache.
|
|
|
|
-- We are being uninstalled and if this is an upgrade
|
|
|
|
-- then the new packages template will be used to
|
|
|
|
-- recreate a new copy of the cache.
|
2016-02-26 09:06:35 +00:00
|
|
|
os.remove("%{_prefix}/lib/locale/locale-archive")
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2015-08-28 19:29:26 +00:00
|
|
|
%if %{with docs}
|
2004-09-09 05:40:37 +00:00
|
|
|
%post devel
|
2009-08-10 09:56:04 +00:00
|
|
|
/sbin/install-info %{_infodir}/libc.info.gz %{_infodir}/dir > /dev/null 2>&1 || :
|
2015-08-28 19:29:26 +00:00
|
|
|
%endif
|
2004-09-09 05:40:37 +00:00
|
|
|
|
|
|
|
%pre headers
|
|
|
|
# this used to be a link and it is causing nightmares now
|
|
|
|
if [ -L %{_prefix}/include/scsi ] ; then
|
2008-03-05 10:32:39 +00:00
|
|
|
rm -f %{_prefix}/include/scsi
|
2004-09-09 05:40:37 +00:00
|
|
|
fi
|
|
|
|
|
2015-08-28 19:29:26 +00:00
|
|
|
%if %{with docs}
|
2004-09-09 05:40:37 +00:00
|
|
|
%preun devel
|
|
|
|
if [ "$1" = 0 ]; then
|
2009-08-10 09:56:04 +00:00
|
|
|
/sbin/install-info --delete %{_infodir}/libc.info.gz %{_infodir}/dir > /dev/null 2>&1 || :
|
2004-09-09 05:40:37 +00:00
|
|
|
fi
|
2015-08-28 19:29:26 +00:00
|
|
|
%endif
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-08-13 20:41:01 +00:00
|
|
|
%post utils -p /sbin/ldconfig
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2013-08-13 20:41:01 +00:00
|
|
|
%postun utils -p /sbin/ldconfig
|
2004-09-09 05:40:37 +00:00
|
|
|
|
|
|
|
%pre -n nscd
|
2010-05-31 15:10:22 +00:00
|
|
|
getent group nscd >/dev/null || /usr/sbin/groupadd -g 28 -r nscd
|
|
|
|
getent passwd nscd >/dev/null ||
|
|
|
|
/usr/sbin/useradd -M -o -r -d / -s /sbin/nologin \
|
|
|
|
-c "NSCD Daemon" -u 28 -g nscd nscd
|
2004-09-09 05:40:37 +00:00
|
|
|
|
|
|
|
%post -n nscd
|
2012-08-21 15:47:24 +00:00
|
|
|
%systemd_post nscd.service
|
2004-09-09 05:40:37 +00:00
|
|
|
|
|
|
|
%preun -n nscd
|
2012-08-21 15:47:24 +00:00
|
|
|
%systemd_preun nscd.service
|
2004-09-09 05:40:37 +00:00
|
|
|
|
|
|
|
%postun -n nscd
|
2011-09-28 12:23:58 +00:00
|
|
|
if test $1 = 0; then
|
2008-03-05 10:32:39 +00:00
|
|
|
/usr/sbin/userdel nscd > /dev/null 2>&1 || :
|
2004-09-09 05:40:37 +00:00
|
|
|
fi
|
2012-08-21 15:47:24 +00:00
|
|
|
%systemd_postun_with_restart nscd.service
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2005-04-27 12:26:45 +00:00
|
|
|
%if %{xenpackage}
|
2013-08-13 20:41:01 +00:00
|
|
|
%post xen -p /sbin/ldconfig
|
|
|
|
%postun xen -p /sbin/ldconfig
|
2005-04-27 12:26:45 +00:00
|
|
|
%endif
|
|
|
|
|
2004-09-09 05:40:37 +00:00
|
|
|
%clean
|
|
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
rm -f *.filelist*
|
|
|
|
|
|
|
|
%files -f rpm.filelist
|
|
|
|
%defattr(-,root,root)
|
2013-08-15 03:48:25 +00:00
|
|
|
%dir %{_prefix}/%{_lib}/audit
|
2005-04-27 12:26:45 +00:00
|
|
|
%if %{buildxen} && !%{xenpackage}
|
2013-08-13 20:41:01 +00:00
|
|
|
%dir /%{_lib}/%{nosegneg_subdir_base}
|
|
|
|
%dir /%{_lib}/%{nosegneg_subdir}
|
2005-04-27 12:26:45 +00:00
|
|
|
%endif
|
2006-09-15 20:28:56 +00:00
|
|
|
%if %{buildpower6}
|
2013-08-13 20:41:01 +00:00
|
|
|
%dir /%{_lib}/power6
|
|
|
|
%dir /%{_lib}/power6x
|
2006-09-15 20:28:56 +00:00
|
|
|
%endif
|
2016-01-12 16:59:28 +00:00
|
|
|
%if %{buildpower7}
|
|
|
|
%dir /%{_lib}/power7
|
|
|
|
%endif
|
|
|
|
%if %{buildpower8}
|
|
|
|
%dir /%{_lib}/power8
|
|
|
|
%endif
|
2004-09-09 05:40:37 +00:00
|
|
|
%ifarch s390x
|
2013-08-13 20:41:01 +00:00
|
|
|
/lib/ld64.so.1
|
2004-09-09 05:40:37 +00:00
|
|
|
%endif
|
2013-07-24 05:22:37 +00:00
|
|
|
%ifarch armv7hl armv7hnl
|
2013-08-13 20:41:01 +00:00
|
|
|
/lib/ld-linux.so.3
|
2012-06-12 01:32:35 +00:00
|
|
|
%endif
|
2004-09-09 05:40:37 +00:00
|
|
|
%verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf
|
|
|
|
%verify(not md5 size mtime) %config(noreplace) /etc/ld.so.conf
|
2010-06-15 08:43:24 +00:00
|
|
|
%verify(not md5 size mtime) %config(noreplace) /etc/rpc
|
2004-09-09 05:46:40 +00:00
|
|
|
%dir /etc/ld.so.conf.d
|
2004-12-07 15:19:04 +00:00
|
|
|
%dir %{_prefix}/libexec/getconf
|
2013-07-26 05:59:43 +00:00
|
|
|
%dir %{_libdir}/gconv
|
2007-07-31 18:18:37 +00:00
|
|
|
%dir %attr(0700,root,root) /var/cache/ldconfig
|
|
|
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/cache/ldconfig/aux-cache
|
2004-09-09 05:53:08 +00:00
|
|
|
%attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache
|
2010-10-14 10:30:32 +00:00
|
|
|
%attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/gai.conf
|
2012-12-19 18:14:19 +00:00
|
|
|
%doc README NEWS INSTALL BUGS PROJECTS CONFORMANCE elf/rtld-debugger-interface.txt
|
2015-08-28 19:29:26 +00:00
|
|
|
# If rpm doesn't support %license, then use %doc instead.
|
2014-07-12 15:16:06 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING COPYING.LIB LICENSES
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2005-04-27 12:26:45 +00:00
|
|
|
%if %{xenpackage}
|
|
|
|
%files -f nosegneg.filelist xen
|
|
|
|
%defattr(-,root,root)
|
2013-08-13 20:41:01 +00:00
|
|
|
%dir /%{_lib}/%{nosegneg_subdir_base}
|
|
|
|
%dir /%{_lib}/%{nosegneg_subdir}
|
2005-04-27 12:26:45 +00:00
|
|
|
%endif
|
|
|
|
|
2004-09-09 05:40:37 +00:00
|
|
|
%ifnarch %{auxarches}
|
|
|
|
%files -f common.filelist common
|
|
|
|
%defattr(-,root,root)
|
2014-01-25 18:52:16 +00:00
|
|
|
%dir %{_prefix}/lib/locale
|
2015-09-17 16:24:49 +00:00
|
|
|
%dir %{_prefix}/lib/locale/C.utf8
|
|
|
|
%{_prefix}/lib/locale/C.utf8/*
|
2004-11-16 10:39:21 +00:00
|
|
|
%dir %attr(755,root,root) /etc/default
|
|
|
|
%verify(not md5 size mtime) %config(noreplace) /etc/default/nss
|
2004-09-09 05:40:37 +00:00
|
|
|
%doc documentation/*
|
|
|
|
|
2016-03-01 07:59:24 +00:00
|
|
|
%files all-langpacks
|
|
|
|
%attr(0644,root,root) %verify(not md5 size mtime) %{_prefix}/lib/locale/locale-archive.tmpl
|
|
|
|
%attr(0644,root,root) %verify(not md5 size mtime mode) %ghost %config(missingok,noreplace) %{_prefix}/lib/locale/locale-archive
|
|
|
|
|
2016-02-26 09:06:35 +00:00
|
|
|
%files locale-source
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_prefix}/share/i18n/locales
|
|
|
|
%{_prefix}/share/i18n/locales/*
|
|
|
|
%dir %{_prefix}/share/i18n/charmaps
|
|
|
|
%{_prefix}/share/i18n/charmaps/*
|
|
|
|
|
2004-09-09 05:40:37 +00:00
|
|
|
%files -f devel.filelist devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
2009-02-18 20:47:04 +00:00
|
|
|
%files -f static.filelist static
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
2004-09-09 05:40:37 +00:00
|
|
|
%files -f headers.filelist headers
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%files -f utils.filelist utils
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%files -f nscd.filelist -n nscd
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config(noreplace) /etc/nscd.conf
|
2004-10-18 23:44:24 +00:00
|
|
|
%dir %attr(0755,root,root) /var/run/nscd
|
|
|
|
%dir %attr(0755,root,root) /var/db/nscd
|
2013-08-13 20:41:01 +00:00
|
|
|
/lib/systemd/system/nscd.service
|
|
|
|
/lib/systemd/system/nscd.socket
|
2013-08-16 14:00:36 +00:00
|
|
|
%{_tmpfilesdir}/nscd.conf
|
2004-10-18 23:44:24 +00:00
|
|
|
%attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/nscd.pid
|
|
|
|
%attr(0666,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/socket
|
|
|
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/passwd
|
|
|
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/group
|
|
|
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/hosts
|
2007-01-17 11:26:50 +00:00
|
|
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/services
|
2004-10-18 23:44:24 +00:00
|
|
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/passwd
|
|
|
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/group
|
|
|
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/hosts
|
2007-01-17 11:26:50 +00:00
|
|
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/db/nscd/services
|
2005-09-12 13:33:00 +00:00
|
|
|
%ghost %config(missingok,noreplace) /etc/sysconfig/nscd
|
2004-09-09 05:40:37 +00:00
|
|
|
%endif
|
|
|
|
|
2016-07-20 15:09:24 +00:00
|
|
|
%files -f nss_db.filelist -n nss_db
|
|
|
|
%files -f nss_nis.filelist -n nss_nis
|
|
|
|
%files -f nss_hesiod.filelist -n nss_hesiod
|
|
|
|
/var/db/Makefile
|
|
|
|
%doc hesiod/README.hesiod
|
|
|
|
%files -f nss-devel.filelist nss-devel
|
|
|
|
|
2009-06-26 15:46:27 +00:00
|
|
|
%if 0%{?_enable_debug_packages}
|
2004-09-09 05:40:37 +00:00
|
|
|
%files debuginfo -f debuginfo.filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%ifarch %{debuginfocommonarches}
|
|
|
|
%ifnarch %{auxarches}
|
|
|
|
%files debuginfo-common -f debuginfocommon.filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
2015-08-28 19:29:26 +00:00
|
|
|
%if %{with benchtests}
|
2015-05-08 06:19:59 +00:00
|
|
|
%files benchtests -f benchtests.filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%endif
|
|
|
|
|
2004-09-09 05:40:37 +00:00
|
|
|
%changelog
|
2016-07-21 14:16:25 +00:00
|
|
|
* Thu Jul 21 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-30
|
|
|
|
- Drop sendmsg/recvmsg compatibility patch (#1344830)
|
2016-07-22 13:35:11 +00:00
|
|
|
- glibc-devel depends on libgcc%%{_isa} (#1289356)
|
2016-07-22 13:39:33 +00:00
|
|
|
- Drop Requires(pre) on libgcc
|
2016-07-21 14:16:25 +00:00
|
|
|
|
2016-07-20 15:09:24 +00:00
|
|
|
* Wed Jul 20 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-29
|
|
|
|
- Move NSS modules to subpackages (#1338889)
|
|
|
|
|
2016-07-13 12:23:26 +00:00
|
|
|
* Wed Jul 13 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-28
|
|
|
|
- Auto-sync with upstream master, commit
|
|
|
|
f531f93056b34800383c5154280e7ba5112563c7.
|
|
|
|
- Add de_LI.UTF-8 locale.
|
2016-07-13 14:34:41 +00:00
|
|
|
- Make ldconfig and sln the same binary. (#1315476)
|
2016-07-13 12:23:26 +00:00
|
|
|
|
2016-06-29 09:35:36 +00:00
|
|
|
* Fri Jul 08 2016 Mike FABIAN <mfabian@redhat.com> - 2.23.90-27
|
|
|
|
- Unicode 9.0.0 updates (ctype, charmap, transliteration) (#1351108)
|
|
|
|
|
2016-07-05 16:40:25 +00:00
|
|
|
* Tue Jul 05 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-26
|
|
|
|
- Auto-sync with upstream master, up to commit
|
|
|
|
30e4cc5413f72c2c728a544389da0c48500d9904, fixing these bug:
|
2016-07-05 17:05:46 +00:00
|
|
|
- strcasecmp failure on ppc64le (#nscd breaks initgroups with nis (initgroups are empty) (#1294574)
|
2016-07-05 16:40:25 +00:00
|
|
|
|
2016-06-24 17:50:22 +00:00
|
|
|
* Fri Jun 24 2016 Carlos O'Donell <carlos@redhat.com> - 2.23.90-25
|
|
|
|
- Properly handle more invalid --install-langs arguments (#1349906).
|
|
|
|
|
2016-06-21 19:50:42 +00:00
|
|
|
* Tue Jun 21 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-24
|
|
|
|
- Auto-sync with upstream master, commit
|
|
|
|
a3b473373ee43a292f5ec68a7fda6b9cfb26a9b0, fixing these bugs:
|
|
|
|
- Unnecessary mmap fallback in malloc (#1348620)
|
|
|
|
- pwritev system call passes incorrect offset to kernel (#1346070)
|
|
|
|
|
2016-06-18 21:14:06 +00:00
|
|
|
* Sat Jun 18 2016 Carlos O'Donell <carlos@redhat.com> - 2.23.90-23
|
|
|
|
- Use scriptlet expansion in all-langpacks posttrans script to expand
|
|
|
|
_install_langes macro.
|
|
|
|
|
2016-06-13 04:25:17 +00:00
|
|
|
* Mon Jun 13 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-22
|
|
|
|
- Remove glibc-fedora-uname-getrlimit.patch. This patch was
|
|
|
|
introduced to fix bug rhbz#579086 (Preloading a replacement uname
|
|
|
|
is causing environment to be cleaned if libpthread is loaded).
|
|
|
|
UTS namespaces should now offer a cleaner way yo do this.
|
2016-06-13 04:30:30 +00:00
|
|
|
- Drop sendmmsg/recvmmsg compat symbols on 32-bit architectures (#1344830)
|
2016-06-11 11:50:59 +00:00
|
|
|
* Sat Jun 11 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-21
|
2016-06-12 19:07:38 +00:00
|
|
|
- First phase of sendmsg/recvmsg/sendmmsg/recvmmsg ABI revert:
|
|
|
|
GLIBC_2.24 compatibility symbols (#1344830)
|
2016-06-11 11:50:59 +00:00
|
|
|
- Auto-sync with upstream master
|
|
|
|
(commit 31d0a4fa646db8b8c97ce24e0ec0a7b73de4fca1),
|
|
|
|
fixing the following bugs:
|
|
|
|
- Add eo locale
|
|
|
|
- Crash in the nss_db NSS service module during iteration (#1344480)
|
|
|
|
|
2016-06-09 10:22:07 +00:00
|
|
|
* Thu Jun 09 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-20
|
2016-06-11 11:39:48 +00:00
|
|
|
- Auto-sync with upstream master, fixing this bug:
|
|
|
|
- Emacs crashes on startup (#1342976)
|
2016-06-09 10:22:07 +00:00
|
|
|
|
2016-06-01 06:29:43 +00:00
|
|
|
* Wed Jun 01 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-19
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
- Adjust glibc-rh1315108.patch accordingly.
|
|
|
|
- Fix fork redirection in libpthread (#1326903)
|
|
|
|
- CVE-2016-4429: stack overflow in Sun RPC clntudp_call (#1337140)
|
2016-06-01 06:31:31 +00:00
|
|
|
- Do not disable assertions in release builds (#1338887)
|
2016-06-01 06:29:43 +00:00
|
|
|
|
2016-05-11 18:34:05 +00:00
|
|
|
* Wed May 11 2016 Carlos O'Donell <carlos@redhat.com> - 2.23.90-18
|
|
|
|
- Move support for building GCC 2.96 into compat-gcc-296.
|
|
|
|
|
2016-05-11 14:08:21 +00:00
|
|
|
* Wed May 11 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-17
|
|
|
|
- Temporily revert dlsym (RTLD_NEXT)/dlerror change, to unbreak
|
|
|
|
ASAN until it is fixed (#1335011)
|
|
|
|
|
2016-05-09 15:18:54 +00:00
|
|
|
* Mon May 9 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-16
|
|
|
|
- Drop the “fix” for fork/vfork NULL symbols in libpthread. It does
|
|
|
|
not work because ld.so apparently supports some variant of direct
|
|
|
|
binding.
|
|
|
|
|
2016-05-09 11:47:51 +00:00
|
|
|
* Mon May 09 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-15
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
- Drop glibc-nsswitch-Add-group-merging-support.patch, applied upstream.
|
|
|
|
- Drop glibc-rh1252570.patch, alternative fixes applied upstream.
|
|
|
|
- Adjust glibc-rh1315108.patch to minor upstream change.
|
|
|
|
- Update SUPPORTED file.
|
2016-05-09 12:23:15 +00:00
|
|
|
- Experimental fix for NULL fork/vfork symbols in libpthread (#1326903)
|
2016-05-09 11:47:51 +00:00
|
|
|
|
2016-05-03 19:51:17 +00:00
|
|
|
* Tue May 03 2016 Carlos O'Donell <carlos@systemhalted.org> - 2.23.90-14
|
|
|
|
- Require libselinux for nscd in non-bootstrap configuration.
|
|
|
|
|
2016-04-30 03:08:42 +00:00
|
|
|
* Fri Apr 29 2016 Carlos O'Donell <carlos@systemhalted.org> - 2.23.90-13
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2016-04-28 19:59:56 +00:00
|
|
|
* Thu Apr 28 2016 Carlos O'Donell <carlos@redhat.com> - 2.23.90-12
|
|
|
|
- Move spec file system information logging to the build stage.
|
|
|
|
|
2016-04-14 20:49:32 +00:00
|
|
|
* Thu Apr 14 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-11
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
- Unbreak pread/pread64 on armhfp (#1327277)
|
|
|
|
|
2016-04-14 10:59:40 +00:00
|
|
|
* Thu Apr 14 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-10
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2016-04-14 08:00:03 +00:00
|
|
|
* Thu Apr 14 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-9
|
|
|
|
- Auto-sync with upstream master. Removes type union wait.
|
|
|
|
- Update SUPPORTED locales file.
|
|
|
|
|
2016-04-08 14:21:37 +00:00
|
|
|
* Fri Apr 08 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-8
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2016-03-29 11:04:25 +00:00
|
|
|
* Tue Mar 29 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-7
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
- Adjust glibc-rh1252570.patch to partial upstream fix.
|
|
|
|
- Drop glibc-fix-an_ES.patch, now included upstream.
|
|
|
|
|
2016-03-16 06:38:44 +00:00
|
|
|
* Wed Mar 16 2016 Carlos O'Donell <carlos@redhat.com> - 2.23.90-6
|
|
|
|
- Use 'an' as language abbreviation for an_ES.
|
|
|
|
|
2016-03-07 16:47:23 +00:00
|
|
|
* Mon Mar 07 2016 Carlos O'Donell <carlos@systemhalted.org> - 2.23.90-5
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2016-03-07 05:52:27 +00:00
|
|
|
* Sun Mar 6 2016 Florian Weimer <fweimer@redhat.com> - 2.23.90-4
|
|
|
|
- Remove extend_alloca (#1315108)
|
|
|
|
|
2016-03-01 07:59:24 +00:00
|
|
|
* Mon Feb 29 2016 Carlos O'Donell <carlos@redhat.com> - 2.23.90-3
|
|
|
|
- Enhance support for upgrading from a non-language-pack system.
|
|
|
|
|
2016-02-26 09:06:35 +00:00
|
|
|
* Fri Feb 26 2016 Mike FABIAN <mfabian@redhat.com> - 2.23.90-2
|
|
|
|
- Create new language packages for all supported languages.
|
|
|
|
Locales, translations, and locale sources are split into
|
|
|
|
distinct sub-packages. A meta-package is created for users
|
|
|
|
to install all languages. Transparent installation support
|
|
|
|
is provided via dnf langpacks.
|
|
|
|
|
2016-02-26 05:36:28 +00:00
|
|
|
* Fri Feb 26 2016 Carlos O'Donell <carlos@systemhalted.org> - 2.23.90-1
|
|
|
|
- Upstream development version is now 2.23.90.
|
|
|
|
|
2016-02-25 20:48:36 +00:00
|
|
|
* Thu Feb 25 2016 Carlos O'Donell <carlos@systemhalted.org> - 2.22.90-38
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2016-02-19 20:21:37 +00:00
|
|
|
* Fri Feb 19 2016 Florian Weimer <fweimer@redhat.com> - 2.22.90-37
|
|
|
|
- Remove stray newline from Serbian locales (#1114591).
|
|
|
|
|
2016-02-16 14:31:14 +00:00
|
|
|
* Tue Feb 16 2016 CArlos O'Donell <carlos@redhat.com> - 2.22.90-36
|
|
|
|
- Fix CVE-2015-7547: getaddrinfo() stack-based buffer overflow (#1308943).
|
|
|
|
|
2016-02-15 11:12:34 +00:00
|
|
|
* Mon Feb 15 2016 Florian Weimer <fweimer@redhat.com> - 2.22.90-35
|
|
|
|
- Revert may_alias attribute for struct sockaddr (#1306511).
|
2016-02-15 11:22:50 +00:00
|
|
|
- Revert upstream commit 2212c1420c92a33b0e0bd9a34938c9814a56c0f7 (#1252570).
|
2016-02-15 11:12:34 +00:00
|
|
|
|
2016-02-13 12:27:45 +00:00
|
|
|
* Sat Feb 13 2016 Florian Weimer <fweimer@redhat.com> - 2.22.90-34
|
|
|
|
- Auto-sync with upstream master.
|
2016-02-13 12:34:31 +00:00
|
|
|
- Support aliasing with struct sockaddr pointers (#1306511).
|
2016-02-13 12:27:45 +00:00
|
|
|
|
2016-02-09 08:48:54 +00:00
|
|
|
* Tue Feb 09 2016 Carlos O'Donell <carlos@redhat.com> - 2.22.90-33
|
|
|
|
- Use --with-cpu=power8 for ppc64le default runtime (#1227361).
|
|
|
|
|
2016-02-02 11:19:16 +00:00
|
|
|
* Tue Feb 02 2016 Florian Weimer <fweimer@redhat.com> - 2.22.90-32
|
|
|
|
- Auto-sync with upstream master.
|
2016-02-02 11:28:36 +00:00
|
|
|
- Add glibc-isinf-cxx11.patch to improve C++11 compatibility.
|
2016-02-02 11:19:16 +00:00
|
|
|
|
2016-01-28 13:24:44 +00:00
|
|
|
* Thu Jan 28 2016 Florian Weimer <fweimer@redhat.com> - 2.22.90-31
|
|
|
|
- Add workaround for GCC PR69537.
|
|
|
|
|
2016-01-28 10:54:08 +00:00
|
|
|
* Thu Jan 28 2016 Florian Weimer <fweimer@redhat.com> - 2.22.90-30
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2016-01-14 02:35:53 +00:00
|
|
|
* Wed Jan 13 2016 Carlos O'Donell <carlos@redhat.com> - 2.22.90-29
|
|
|
|
- New pthread_barrier algorithm with improved standards compliance.
|
|
|
|
|
2016-01-13 17:59:35 +00:00
|
|
|
* Wed Jan 13 2016 Carlos O'Donell <carlos@redhat.com> - 2.22.90-28
|
|
|
|
- Add group merging support for distributed management (#1146822).
|
|
|
|
|
2016-01-12 16:59:28 +00:00
|
|
|
* Tue Jan 12 2016 Carlos O'Donell <carlos@redhat.com> - 2.22.90-27
|
|
|
|
- Remove 32-bit POWER support.
|
|
|
|
- Add 64-bit POWER7 BE and 64-bit POWER8 BE optimized libraries.
|
|
|
|
|
2015-12-21 16:31:12 +00:00
|
|
|
* Mon Dec 21 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-26
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2015-12-16 13:00:32 +00:00
|
|
|
* Wed Dec 16 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-25
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
- Includes fix for malloc assertion failure in get_free_list. (#1281714)
|
|
|
|
- Drop Unicode 8.0 patches (now merged upstream).
|
|
|
|
|
2015-12-05 19:31:00 +00:00
|
|
|
* Sat Dec 5 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-24
|
|
|
|
- Put libmvec_nonshared.a into the -devel package. (#1288738)
|
|
|
|
|
2015-12-05 14:53:14 +00:00
|
|
|
* Sat Dec 05 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-23
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2015-11-27 06:14:36 +00:00
|
|
|
* Thu Nov 26 2015 Carlos O'Donell <carlos@redhat.com> - 2.22.90-22
|
|
|
|
- The generic hidden directive support is already used for
|
|
|
|
preinit/init/fini-array symbols so we drop the Fedora-specific
|
|
|
|
patch that does the same thing.
|
|
|
|
Reported by Dmitry V. Levin <ldv@altlinux.org>
|
|
|
|
|
|
|
|
* Thu Nov 26 2015 DJ Delorie <dj@redhat.com> - 2.22.90-22
|
|
|
|
- Require glibc-static for C++ tests.
|
|
|
|
- Require gcc-c++, libstdc++-static, and glibc-static only when needed.
|
|
|
|
- Fix --without docs to not leave info files.
|
|
|
|
|
2015-11-20 09:08:34 +00:00
|
|
|
* Fri Nov 20 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-21
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2015-11-18 12:30:53 +00:00
|
|
|
* Wed Nov 18 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-20
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2015-11-18 12:28:07 +00:00
|
|
|
* Wed Nov 18 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-19
|
|
|
|
- Disable -Werror on s390 (#1283184).
|
|
|
|
|
2015-11-16 20:40:35 +00:00
|
|
|
* Mon Nov 16 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-18
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2015-11-16 20:37:03 +00:00
|
|
|
* Mon Nov 16 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-17
|
|
|
|
- Revert temporary armhfp build fix.
|
|
|
|
|
2015-11-09 16:44:11 +00:00
|
|
|
* Mon Nov 9 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-16
|
|
|
|
- Apply temporary fix for armhfp build issue.
|
|
|
|
|
2015-11-09 12:15:50 +00:00
|
|
|
* Mon Nov 09 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-15
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2015-11-03 12:56:08 +00:00
|
|
|
* Tue Nov 3 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-14
|
|
|
|
- Log uname, cpuinfo, meminfo during build (#1276636)
|
|
|
|
|
2015-10-30 18:26:52 +00:00
|
|
|
* Fri Oct 30 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-13
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2015-10-30 18:23:50 +00:00
|
|
|
* Fri Oct 30 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-12
|
|
|
|
- Revert to upstream implementation of condition variables (#1229659)
|
|
|
|
|
2015-10-28 15:52:56 +00:00
|
|
|
* Wed Oct 28 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-11
|
|
|
|
- Disable valgrind test on ppc64p7, too.
|
|
|
|
|
2015-10-26 20:03:54 +00:00
|
|
|
* Mon Oct 26 2015 Carlos O'Donell <carlos@redhat.com> - 2.22.90-10
|
|
|
|
- Disable valgrind test for ppc64.
|
|
|
|
|
2015-10-21 19:24:28 +00:00
|
|
|
* Wed Oct 21 2015 Carlos O'Donell <carlos@redhat.com> - 2.22.90-9
|
2015-10-22 02:28:24 +00:00
|
|
|
- Sync with upstream master.
|
2015-10-21 19:24:28 +00:00
|
|
|
- Update new condvar implementation.
|
|
|
|
|
2015-10-10 01:00:30 +00:00
|
|
|
* Fri Oct 9 2015 Carlos O'Donell <carlos@redhat.com> - 2.22.90-8
|
|
|
|
- Remove libbsd.a (#1193168).
|
|
|
|
|
2015-09-17 16:24:49 +00:00
|
|
|
* Wed Sep 16 2015 Mike FABIAN <mfabian@redhat.com> - 2.22.90-7
|
|
|
|
- Add the C.UTF-8 locale (#902094).
|
|
|
|
|
|
|
|
* Wed Sep 16 2015 Carlos O'Donell <carlos@systemhalted.org> - 2.22.90-6
|
|
|
|
- Fix GCC 5 and -Werror related build failures.
|
|
|
|
- Fix --install-langs bug which causes SIGABRT (#1262040).
|
|
|
|
|
2015-08-28 21:03:18 +00:00
|
|
|
* Fri Aug 28 2015 Carlos O'Donell <carlos@systemhalted.org> - 2.22.90-5
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2015-08-28 19:29:26 +00:00
|
|
|
* Thu Aug 27 2015 Carlos O'Donell <carlos@redhat.com> - 2.22.90-4
|
|
|
|
- Build require gcc-c++ for the C++ tests.
|
|
|
|
- Support --without testsuite option to disable testing after build.
|
|
|
|
- Support --without benchtests option to disable microbenchmarks.
|
|
|
|
- Update --with bootstrap to disable benchtests, valgrind, documentation,
|
|
|
|
selinux, and nss-crypt during bootstrap.
|
|
|
|
- Support --without werror to disable building with -Werror.
|
|
|
|
- Support --without docs to disable build requirement on texinfo.
|
|
|
|
- Support --without valgrind to disable testing with valgrind.
|
|
|
|
- Remove c_stubs add-on and enable fuller support for static binaries.
|
|
|
|
- Remove librtkaio support (#1227855).
|
|
|
|
|
2015-08-16 04:21:12 +00:00
|
|
|
* Sun Aug 16 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.22.90-3
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2015-08-14 08:08:42 +00:00
|
|
|
* Fri Aug 14 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.22.90-2
|
|
|
|
- Remove initgroups from the default nsswitch.conf (#751450).
|
|
|
|
|
|
|
|
* Fri Aug 14 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.22.90-1
|
2015-08-14 07:00:00 +00:00
|
|
|
- Sync with upstream master.
|
|
|
|
|
2015-07-15 12:19:08 +00:00
|
|
|
* Tue Jul 28 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.21.90-20
|
|
|
|
- Sync with upstream master.
|
|
|
|
|
2015-07-23 13:44:24 +00:00
|
|
|
* Thu Jul 23 2015 Mike FABIAN <mfabian@redhat.com> - 2.21.90-19
|
|
|
|
- some more additions to the translit_neutral file by Marko Myllynen
|
|
|
|
|
2015-06-10 13:11:53 +00:00
|
|
|
* Tue Jul 14 2015 Mike FABIAN <mfabian@redhat.com> - 2.21.90-18
|
2015-07-15 15:28:17 +00:00
|
|
|
- Unicode 8.0.0 updates, including the transliteration files (#1238412).
|
2015-06-10 13:11:53 +00:00
|
|
|
|
2015-06-22 00:17:04 +00:00
|
|
|
* Sun Jun 21 2015 Carlos O'Donell <carlos@redhat.com> - 2.21.90-17
|
|
|
|
- Remove all linuxthreads handling from glibc spec file.
|
|
|
|
|
2015-06-17 20:40:15 +00:00
|
|
|
* Wed Jun 17 2015 Carlos O'Donell <carlos@redhat.com> - 2.21.90-16
|
|
|
|
- Move split out architecture-dependent header files into devel package
|
|
|
|
and keep generic variant in headers package, thus keeping headers package
|
|
|
|
content and file list identical across multilib rpms.
|
|
|
|
|
2015-06-17 08:26:56 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.21.90-15.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-03 15:45:53 +00:00
|
|
|
* Wed Jun 3 2015 Carlos O'Donell <carlos@redhat.com> - 2.21.90-15
|
|
|
|
- Remove patch to increase DTV surplus which is no longer needed after
|
|
|
|
upstream commit f8aeae347377f3dfa8cbadde057adf1827fb1d44.
|
|
|
|
|
2015-05-30 04:10:53 +00:00
|
|
|
* Sat May 30 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.21.90-14
|
|
|
|
- Fix build failure on aarch64 (#1226459).
|
|
|
|
|
2015-05-18 06:47:53 +00:00
|
|
|
* Mon May 18 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.21.90-13
|
|
|
|
- Sync with upstream master.
|
2015-05-18 06:48:34 +00:00
|
|
|
- Install new condvar implementation.
|
2015-05-18 06:47:53 +00:00
|
|
|
|
2015-05-08 06:19:59 +00:00
|
|
|
* Fri May 08 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.21.90-12
|
|
|
|
- Add benchmark comparison scripts.
|
|
|
|
|
2015-05-07 06:40:16 +00:00
|
|
|
* Thu May 07 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.21.90-11
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
- Revert arena threshold fix to work around #1209451.
|
|
|
|
|
2015-04-07 15:30:08 +00:00
|
|
|
* Tue Apr 07 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.21.90-10
|
|
|
|
- Revert last auto-sync (#1209451).
|
|
|
|
|
2015-04-06 10:30:41 +00:00
|
|
|
* Mon Apr 06 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.21.90-9
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2015-03-24 12:34:53 +00:00
|
|
|
* Tue Mar 24 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.21.90-8
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2015-03-17 05:53:46 +00:00
|
|
|
* Tue Mar 17 2015 Carlos O'Donell <carlos@redhat.com> - 2.21.90-7
|
|
|
|
- Use rpm.expand in scripts to reduce set of required RPM features.
|
|
|
|
|
2015-03-12 10:13:36 +00:00
|
|
|
* Thu Mar 12 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.21.90-6
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2015-03-05 21:05:43 +00:00
|
|
|
* Tue Mar 3 2015 Mike Fabian <mfabian@redhat.com> - 2.21.90-5
|
|
|
|
- Support installing only those locales specified by the RPM macro
|
|
|
|
%%_install_langs (#156477).
|
|
|
|
|
2015-02-23 08:50:15 +00:00
|
|
|
* Mon Feb 23 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.21.90-4
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2015-02-21 21:22:07 +00:00
|
|
|
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.21.90-3.1
|
|
|
|
- Rebuilt for Fedora 23 Change
|
|
|
|
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
|
|
|
|
2015-02-12 06:36:24 +00:00
|
|
|
* Thu Feb 12 2015 Carlos O'Donell <carlos@systemhalted.org> - 2.21.90-3
|
|
|
|
- Fix missing clock_* IFUNCs in librtkaio.
|
|
|
|
|
2015-02-12 05:29:07 +00:00
|
|
|
* Thu Feb 12 2015 Carlos O'Donell <carlos@systemhalted.org> - 2.21.90-2
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2015-02-12 05:19:12 +00:00
|
|
|
* Wed Feb 11 2015 Carlos O'Donell <carlos@systemhalted.org> - 2.21.90-1
|
|
|
|
- Add back x86 vDSO support.
|
|
|
|
- Fix rtkaio build to reference clock_* functions from libc.
|
|
|
|
|
2015-01-21 14:48:21 +00:00
|
|
|
* Wed Jan 21 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.20.90-20
|
|
|
|
- Sync with upstream master.
|
|
|
|
- Disable werror on s390x.
|
2015-01-21 18:52:13 +00:00
|
|
|
- Revert x86 vDSO support since it breaks i686 rtkaio build.
|
2015-01-21 14:48:21 +00:00
|
|
|
|
2015-01-20 09:51:12 +00:00
|
|
|
* Tue Jan 20 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2.20.90-19
|
|
|
|
- Drop large ancient ChangeLogs (rhbz #1169546)
|
|
|
|
|
2015-01-12 14:50:28 +00:00
|
|
|
* Mon Jan 12 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.20.90-18
|
|
|
|
- Pass address of main_arena.mutex to mutex_lock/unlock.
|
|
|
|
|
2015-01-08 13:21:32 +00:00
|
|
|
* Thu Jan 08 2015 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.20.90-17
|
|
|
|
- Define a __tls_get_addr macro to avoid a conflicting declaration.
|
|
|
|
|
2015-01-07 16:00:39 +00:00
|
|
|
* Wed Jan 07 2015 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> - 2.20.90-16
|
|
|
|
- Disable -Werror for s390 as well.
|
|
|
|
|
2015-01-07 13:33:06 +00:00
|
|
|
* Wed Jan 07 2015 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> - 2.20.90-14
|
|
|
|
- Sync with upstream master.
|
|
|
|
- Disable -Werror on powerpc and armv7hl.
|
|
|
|
- Temporarily disable valgrind test on ppc64.
|
|
|
|
|
2014-12-28 09:32:56 +00:00
|
|
|
* Sun Dec 28 2014 Dan Horák <dan[at]danny.cz>
|
|
|
|
- valgrind available only on selected arches (missing on s390)
|
|
|
|
|
2014-12-10 17:12:56 +00:00
|
|
|
* Wed Dec 10 2014 Kyle McMartin <kmcmarti@redhat.com>
|
|
|
|
- aarch64: Drop strchrnul.S revert, apply fix from Richard Earnshaw.
|
|
|
|
|
2014-12-06 01:30:44 +00:00
|
|
|
* Fri Dec 05 2014 Carlos O'Donell <carlos@redhat.com> - 2.20.90-13
|
|
|
|
- Fix permission of debuginfo source files to allow multiarch
|
|
|
|
debuginfo packages to be installed and upgraded.
|
|
|
|
|
|
|
|
* Fri Dec 05 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.20.90-12
|
2014-12-05 07:45:57 +00:00
|
|
|
- Remove LIB_LANG since we don't install locales in /usr/lib/locale anymore.
|
2014-12-05 11:09:35 +00:00
|
|
|
- Don't own any directories in /usr/share/locale (#1167445).
|
|
|
|
- Use the %%find_lang macro to get the *.mo files (#1167445).
|
2014-12-05 13:14:50 +00:00
|
|
|
- Add %%lang tags to language locale files in /usr/share/i18n/locale (#1169044).
|
2014-12-05 06:51:56 +00:00
|
|
|
|
2014-12-03 18:12:37 +00:00
|
|
|
* Wed Dec 03 2014 Kyle McMartin <kyle@fedoraproject.org> - 2.20.90-11
|
|
|
|
- aarch64: revert optimized strchrnul.S implementation (rhbz#1167501)
|
|
|
|
until it can be debugged.
|
|
|
|
|
2014-11-29 02:32:05 +00:00
|
|
|
* Fri Nov 28 2014 Carlos O'Donell <carlos@redhat.com> - 2.20.90-10
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2014-11-24 14:58:08 +00:00
|
|
|
* Wed Nov 19 2014 Carlos O'Donell <carlos@redhat.com> - 2.20.90-9
|
|
|
|
- Sync with upstream master.
|
|
|
|
|
2014-10-10 09:07:46 +00:00
|
|
|
* Wed Nov 05 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.20.90-8
|
|
|
|
- Make getconf return only /usr/bin (#1138835).
|
2014-11-05 10:36:52 +00:00
|
|
|
- Sync with upstream master.
|
2014-10-10 09:07:46 +00:00
|
|
|
|
2014-11-04 19:31:37 +00:00
|
|
|
* Tue Nov 04 2014 Arjun Shankar <arjun.is@lostca.se> - 2.20.90-7
|
|
|
|
- Add patch that modifies several tests to use test-skeleton.c.
|
|
|
|
The patch is accepted but not yet committed upstream.
|
|
|
|
https://sourceware.org/ml/libc-alpha/2014-10/msg00744.html
|
|
|
|
|
2014-09-27 16:31:11 +00:00
|
|
|
* Tue Sep 30 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.20.90-6
|
2014-09-30 16:40:03 +00:00
|
|
|
- Sync with upstream master.
|
2014-09-27 16:31:11 +00:00
|
|
|
- Disable more Intel TSX usage in rwlocks (#1146967).
|
2014-09-30 16:34:19 +00:00
|
|
|
- Enable lock elision again on s390 and s390x.
|
2014-09-30 16:42:54 +00:00
|
|
|
- Enable Systemtap SDT probes for all architectures (#985109).
|
2014-09-27 16:31:11 +00:00
|
|
|
|
2014-09-27 03:44:17 +00:00
|
|
|
* Fri Sep 26 2014 Carlos O'Donell <carlos@redhat.com> - 2.20.90-5
|
|
|
|
- Disable lock elision support for Intel hardware until microcode
|
|
|
|
updates can be done in early bootup (#1146967).
|
|
|
|
- Fix building test tst-strtod-round for ARM.
|
|
|
|
|
2014-09-23 11:26:45 +00:00
|
|
|
* Tue Sep 23 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.20.90-4
|
2014-09-23 17:28:21 +00:00
|
|
|
- Sync with upstream master.
|
2014-09-23 11:26:45 +00:00
|
|
|
- Don't own the common debuginfo directories (#1144853).
|
2014-09-23 11:28:34 +00:00
|
|
|
- Run valgrind in the %%check section to ensure that it does not break.
|
2014-09-23 11:26:45 +00:00
|
|
|
|
2014-09-16 17:04:22 +00:00
|
|
|
* Tue Sep 16 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.20.90-3
|
|
|
|
- Sync with upstream master.
|
|
|
|
- Revert patch for #737223.
|
|
|
|
|
2014-09-08 10:52:40 +00:00
|
|
|
* Mon Sep 08 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.20.90-2
|
|
|
|
- Build build-locale-archive statically again.
|
|
|
|
|
2014-09-08 07:02:01 +00:00
|
|
|
* Mon Sep 08 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.20.90-1
|
|
|
|
- Sync with upstream master.
|
|
|
|
|
2014-09-06 18:15:15 +00:00
|
|
|
* Thu Sep 4 2014 Carlos O'Donell <carlos@redhat.com> - 2.19.90-36
|
|
|
|
- Allow up to 32 dlopened modules to use static TLS (#1124987).
|
|
|
|
- Run glibc tests in %%check section of RPM spec file.
|
|
|
|
- Do not run tests with `-k` and fail if any test fails to build.
|
|
|
|
|
2014-08-26 08:37:54 +00:00
|
|
|
* Tue Aug 26 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-35
|
|
|
|
- Sync with upstream master.
|
|
|
|
- Use INTERNAL_SYSCALL in TLS_INIT_TP (#1133134).
|
|
|
|
- Remove gconv loadable module transliteration support (CVE-2014-5119, #1119128).
|
|
|
|
|
2014-08-22 19:13:29 +00:00
|
|
|
* Fri Aug 22 2014 Dennis Gilmore <dennis@ausil.us> - 2.19.90-34
|
|
|
|
- add back sss to nsswitch.conf we have added workarounds in the tools
|
|
|
|
|
2014-08-21 17:48:00 +00:00
|
|
|
* Thu Aug 21 2014 Kevin Fenzi <kevin@scrye.com> - 2.19.90-33.1
|
|
|
|
- Rebuild for rpm bug 1131960
|
|
|
|
|
2014-08-19 15:56:39 +00:00
|
|
|
* Tue Aug 19 2014 Dennis Gilmore <dennis@ausil.us> - 2.19.90-33
|
|
|
|
- remove sss from default nsswitch.conf it causes issues with live image composing
|
|
|
|
|
2014-08-13 18:37:02 +00:00
|
|
|
* Wed Aug 13 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-32
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
- Revert to only defining __extern_always_inline for g++-4.3+.
|
|
|
|
- Fix build failure in compat-gcc-32 (#186410).
|
|
|
|
|
2014-07-28 18:55:03 +00:00
|
|
|
* Mon Jul 28 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-31
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2014-07-23 08:34:08 +00:00
|
|
|
* Wed Jul 23 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-30
|
2014-07-23 08:32:10 +00:00
|
|
|
- Undo last master sync to fix up rawhide.
|
|
|
|
|
2014-07-15 16:43:48 +00:00
|
|
|
* Tue Jul 15 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-29
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2014-07-12 15:16:06 +00:00
|
|
|
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> - 2.19.90-28
|
|
|
|
- fix license handling
|
|
|
|
|
2014-07-07 17:05:01 +00:00
|
|
|
* Mon Jul 07 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-27
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2014-07-04 18:30:22 +00:00
|
|
|
* Fri Jul 04 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-26
|
|
|
|
- Sync with upstream roland/nptl branch.
|
|
|
|
- Improve testsuite failure outputs in build.log
|
|
|
|
|
2014-07-03 05:34:10 +00:00
|
|
|
* Thu Jul 03 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-25
|
|
|
|
- Sync with upstream roland/nptl branch.
|
|
|
|
|
2014-07-02 10:45:02 +00:00
|
|
|
* Wed Jul 02 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-24
|
|
|
|
- Sync with upstream master.
|
|
|
|
|
2014-06-24 12:11:51 +00:00
|
|
|
* Tue Jun 24 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-23
|
|
|
|
- Sync with upstream master.
|
|
|
|
- Add fix to unbreak i386 ABI breakage due to a change in scalbn.
|
|
|
|
|
2014-06-20 15:49:56 +00:00
|
|
|
* Fri Jun 20 2014 Kyle McMartin <kmcmarti@redhat.com> - 2.19.90-22
|
|
|
|
- AArch64: Save & restore NZCV (flags) upon entry to _dl_tlsdesc_dynamic
|
|
|
|
in order to work around GCC reordering compares across the TLS
|
|
|
|
descriptor sequence (GCC PR61545.) Committing a (temporary) fix here
|
|
|
|
allows us to avoid rebuilding the world with gcc 4.9.0-11.fc21.
|
|
|
|
|
2014-06-16 17:45:03 +00:00
|
|
|
* Mon Jun 16 2014 Kyle McMartin <kmcmarti@redhat.com> - 2.19.90-21
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2014-06-12 06:49:12 +00:00
|
|
|
* Thu Jun 12 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-20
|
|
|
|
- Auto-sync with upstream master.
|
|
|
|
|
2014-06-07 16:13:53 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.19.90-19.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-06-03 09:38:22 +00:00
|
|
|
* Tue Jun 03 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-19
|
|
|
|
- Sync with upstream master.
|
|
|
|
|
2014-05-26 07:55:00 +00:00
|
|
|
* Mon May 26 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-18
|
|
|
|
- Sync with upstream master.
|
2014-05-26 10:20:48 +00:00
|
|
|
- Adjust rtkaio patches to build with upstream master.
|
2014-05-26 07:55:00 +00:00
|
|
|
|
2014-05-22 02:06:41 +00:00
|
|
|
* Wed May 21 2014 Kyle McMartin <kyle@fedoraproject.org> - 2.19.90-17
|
|
|
|
- Backport some upstream-wards patches to fix TLS issues on AArch64.
|
|
|
|
|
2014-05-21 19:34:20 +00:00
|
|
|
* Wed May 21 2014 Kyle McMartin <kyle@fedoraproject.org> - 2.19.90-16
|
|
|
|
- AArch64: Fix handling of nocancel syscall failures (#1098327)
|
|
|
|
|
2014-05-15 06:56:54 +00:00
|
|
|
* Thu May 15 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-15
|
|
|
|
- Sync with upstream master.
|
|
|
|
|
2014-05-14 16:52:50 +00:00
|
|
|
* Wed May 14 2014 Carlos O'Donell <carlos@redhat.com> - 2.19.90-14
|
|
|
|
- Add support for displaying all test results in build logs.
|
|
|
|
|
2014-05-14 07:21:29 +00:00
|
|
|
* Wed May 14 2014 Carlos O'Donell <carlos@redhat.com> - 2.19.90-13
|
|
|
|
- Add initial support for ppc64le.
|
|
|
|
|
2014-04-29 09:28:45 +00:00
|
|
|
* Tue Apr 29 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-12
|
|
|
|
- Auto-sync with upstream master.
|
2014-04-29 09:45:58 +00:00
|
|
|
- Remove ports addon.
|
2014-04-29 09:28:45 +00:00
|
|
|
|
2014-04-18 06:44:38 +00:00
|
|
|
* Fri Apr 18 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-11
|
|
|
|
- Sync with upstream master.
|
|
|
|
|
2014-04-10 16:10:30 +00:00
|
|
|
* Thu Apr 10 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-10
|
|
|
|
- Sync with upstream master.
|
|
|
|
|
2014-04-03 11:38:52 +00:00
|
|
|
* Thu Apr 03 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-9
|
|
|
|
- Sync with upstream master.
|
|
|
|
|
2014-03-26 08:50:45 +00:00
|
|
|
* Wed Mar 26 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-8
|
|
|
|
- Sync with upstream master.
|
|
|
|
|
2014-03-19 16:47:32 +00:00
|
|
|
* Wed Mar 19 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-7
|
|
|
|
- Sync with upstream master.
|
|
|
|
- Fix offset computation for append+ mode on switching from read (#1078355).
|
|
|
|
|
2014-03-12 22:13:23 +00:00
|
|
|
* Wed Mar 12 2014 Carlos O'Donell <carlos@redhat.com> - 2.19.90-6
|
|
|
|
- Sync with upstream master.
|
|
|
|
- Use cleaner upstream solution for -ftree-loop-distribute-patterns (#911307).
|
|
|
|
|
2014-03-04 17:50:27 +00:00
|
|
|
* Tue Mar 04 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-5
|
|
|
|
- Sync with upstream master.
|
|
|
|
|
2014-02-26 19:01:15 +00:00
|
|
|
* Thu Feb 27 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-4
|
|
|
|
- Use nscd service files from glibc sources.
|
|
|
|
- Make nscd service forking in systemd service file.
|
|
|
|
|
2014-02-25 09:52:53 +00:00
|
|
|
* Tue Feb 25 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-3
|
|
|
|
- Sync with upstream master.
|
|
|
|
- Separate ftell from fseek logic and avoid modifying FILE data (#1069559).
|
|
|
|
|
2014-02-25 03:33:35 +00:00
|
|
|
* Mon Feb 24 2014 Carlos O'Donell <carlos@redhat.com> - 2.19.90-2
|
|
|
|
- Fix build-locale-archive failure to open default template.
|
|
|
|
|
2014-02-18 17:18:17 +00:00
|
|
|
* Tue Feb 18 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.19.90-1
|
|
|
|
- Sync with upstream master.
|
|
|
|
|
2014-02-04 07:47:38 +00:00
|
|
|
* Tue Feb 04 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.18.90-27
|
|
|
|
- Sync with upstream master.
|
|
|
|
|
2014-01-29 10:42:36 +00:00
|
|
|
* Wed Jan 29 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.18.90-26
|
|
|
|
- Modify regular expressions to include powerpcle stubs-*.h (#1058258).
|
|
|
|
|
2014-01-29 05:17:29 +00:00
|
|
|
* Wed Jan 29 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.18.90-25
|
2014-01-29 09:16:39 +00:00
|
|
|
- Sync with upstream master.
|
2014-01-29 05:17:29 +00:00
|
|
|
|
2014-01-29 04:51:23 +00:00
|
|
|
* Sat Jan 25 2014 Ville Skyttä <ville.skytta@iki.fi> - 2.18.90-24
|
2014-01-25 18:52:16 +00:00
|
|
|
- Own the %%{_prefix}/lib/locale dir.
|
|
|
|
|
2014-01-23 09:45:41 +00:00
|
|
|
* Thu Jan 23 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.18.90-23
|
|
|
|
- Sync with upstream master.
|
|
|
|
|
2014-01-16 06:33:18 +00:00
|
|
|
* Thu Jan 16 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.18.90-22
|
|
|
|
- Back out ftell test case (#1052846).
|
|
|
|
|
2014-01-14 08:46:38 +00:00
|
|
|
* Tue Jan 14 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.18.90-21
|
|
|
|
- Sync with upstream master.
|
|
|
|
- Fix infinite loop in ftell when writing wide char data (#1052846).
|
|
|
|
|
2014-01-07 09:36:38 +00:00
|
|
|
* Tue Jan 7 2014 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.18.90-20
|
|
|
|
- Sync with upstream master.
|
|
|
|
- Enable systemtap probes on Power and S/390.
|