2018-07-11 09:47:17 +00:00
|
|
|
%define glibcsrcdir glibc-2.27.9000-568-g93304f5f7a
|
2018-03-01 07:34:12 +00:00
|
|
|
%define glibcversion 2.27.9000
|
2018-07-11 13:54:24 +00:00
|
|
|
%define glibcrelease 39%{?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.
|
2017-10-17 10:55:38 +00:00
|
|
|
%{lua: if string.match(rpm.expand("%glibcsrcdir"), "^glibc%-[0-9.]+$") then
|
|
|
|
rpm.define("glibc_release_url https://ftp.gnu.org/gnu/glibc/") end}
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
2018-02-11 09:13:47 +00:00
|
|
|
# We support the following options:
|
2015-08-28 19:29:26 +00:00
|
|
|
# --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}
|
2018-02-10 10:00:18 +00:00
|
|
|
%ifarch s390 ppc64 ppc64p7 %{mips} riscv64
|
|
|
|
# There is no valgrind support for 31-bit s390, nor for MIPS, nor RISC-V.
|
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 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
|
2016-02-09 08:48:54 +00:00
|
|
|
|
2018-01-19 15:32:44 +00:00
|
|
|
# Only some architectures have static PIE support.
|
2018-01-22 15:15:37 +00:00
|
|
|
%define pie_arches %{ix86} x86_64
|
2018-01-19 15:32:44 +00:00
|
|
|
|
2018-07-11 13:54:24 +00:00
|
|
|
# Build the POWER9 runtime on POWER, but only for downstream.
|
|
|
|
%ifarch ppc64le
|
|
|
|
%define buildpower9 0%{?rhel} > 0
|
|
|
|
%else
|
|
|
|
%define buildpower9 0
|
|
|
|
%endif
|
|
|
|
|
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
|
|
|
##############################################################################
|
|
|
|
# %%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}
|
2018-02-07 13:09:49 +00:00
|
|
|
Release: %{glibcrelease}
|
2018-07-04 11:02:15 +00:00
|
|
|
|
|
|
|
# In general, GPLv2+ is used by programs, LGPLv2+ is used for
|
|
|
|
# libraries.
|
|
|
|
#
|
|
|
|
# LGPLv2+ with exceptions is used for things that are linked directly
|
|
|
|
# into dynamically linked programs and shared libraries (e.g. crt
|
|
|
|
# files, lib*_nonshared.a). Historically, this exception also applies
|
|
|
|
# to parts of libio.
|
|
|
|
#
|
|
|
|
# GPLv2+ with exceptions is used for parts of the Arm unwinder.
|
|
|
|
#
|
|
|
|
# GFDL is used for the documentation.
|
|
|
|
#
|
|
|
|
# Some other licenses are used in various places (BSD, Inner-Net,
|
|
|
|
# ISC, Public Domain).
|
|
|
|
#
|
|
|
|
# HSRL and FSFAP are only used in test cases, which currently do not
|
|
|
|
# ship in binary RPMs, so they are not listed here. MIT is used for
|
|
|
|
# scripts/install-sh, which does not ship, either.
|
|
|
|
#
|
|
|
|
# GPLv3+ is used by manual/texinfo.tex, which we do not use.
|
|
|
|
#
|
|
|
|
# LGPLv3+ is used by some Hurd code, which we do not build.
|
|
|
|
#
|
|
|
|
# LGPLv2 is used in one place (time/timespec_get.c, by mistake), but
|
|
|
|
# it is not actually compiled, so it does not matter for libraries.
|
|
|
|
License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
|
|
|
|
|
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
|
|
|
|
Source4: nscd.conf
|
|
|
|
Source7: nsswitch.conf
|
|
|
|
Source8: power6emul.c
|
2015-05-08 06:19:59 +00:00
|
|
|
Source9: bench.mk
|
|
|
|
Source10: glibc-bench-compare
|
2018-02-14 16:05:30 +00:00
|
|
|
# A copy of localedata/SUPPORTED in the Source0 tarball. The
|
2016-05-09 18:43:58 +00:00
|
|
|
# SUPPORTED file is used below to generate the list of locale
|
2018-02-14 16:05:30 +00:00
|
|
|
# packages, using a Lua snippet.
|
2016-02-26 09:06:35 +00:00
|
|
|
Source11: SUPPORTED
|
2012-04-05 21:59:29 +00:00
|
|
|
|
2018-02-14 16:07:01 +00:00
|
|
|
# Include in the source RPM for reference.
|
|
|
|
Source12: ChangeLog.old
|
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
2018-04-17 19:55:54 +00:00
|
|
|
# Patches:
|
|
|
|
# - See each individual patch file for origin and upstream status.
|
|
|
|
# - For new patches follow template.patch format.
|
|
|
|
##############################################################################
|
|
|
|
Patch0001: glibc-post_upgrade.patch
|
|
|
|
Patch0002: glibc-fedora-nscd.patch
|
|
|
|
Patch0003: glibc-rh697421.patch
|
|
|
|
Patch0004: glibc-fedora-linux-tcsetattr.patch
|
|
|
|
Patch0005: glibc-rh741105.patch
|
|
|
|
Patch0006: glibc-fedora-localedef.patch
|
|
|
|
Patch0007: glibc-fedora-nis-rh188246.patch
|
|
|
|
Patch0008: glibc-fedora-manual-dircategory.patch
|
|
|
|
Patch0009: glibc-rh827510.patch
|
|
|
|
Patch0010: glibc-fedora-locarchive.patch
|
|
|
|
Patch0011: glibc-fedora-streams-rh436349.patch
|
|
|
|
Patch0012: glibc-rh819430.patch
|
|
|
|
Patch0013: glibc-fedora-localedata-rh61908.patch
|
|
|
|
Patch0014: glibc-fedora-__libc_multiple_libcs.patch
|
|
|
|
Patch0015: glibc-rh1070416.patch
|
|
|
|
Patch0016: glibc-nscd-sysconfig.patch
|
|
|
|
Patch0017: glibc-cs-path.patch
|
|
|
|
Patch0018: glibc-c-utf8-locale.patch
|
2018-05-11 13:56:01 +00:00
|
|
|
Patch23: glibc-python3.patch
|
2018-07-04 09:56:29 +00:00
|
|
|
Patch24: glibc-with-nonshared-cflags.patch
|
2018-07-04 14:35:00 +00:00
|
|
|
Patch25: glibc-asflags.patch
|
2018-07-11 09:50:02 +00:00
|
|
|
Patch26: glibc-ldflags.patch
|
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
|
|
|
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)
|
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
|
2017-11-28 17:40:52 +00:00
|
|
|
%if %{without bootstrap}
|
2015-08-28 19:29:26 +00:00
|
|
|
BuildRequires: gd-devel libpng-devel zlib-devel
|
2017-11-28 17:40:52 +00:00
|
|
|
%endif
|
2015-08-28 19:29:26 +00:00
|
|
|
%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.
|
2017-08-28 09:28:36 +00:00
|
|
|
BuildRequires: texinfo >= 5.0
|
2015-08-28 19:29:26 +00:00
|
|
|
%endif
|
|
|
|
%if %{without bootstrap}
|
|
|
|
BuildRequires: libselinux-devel >= 1.33.4-3
|
|
|
|
%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.
|
2017-07-27 15:14:26 +00:00
|
|
|
BuildRequires: valgrind
|
2014-09-23 11:28:34 +00:00
|
|
|
%endif
|
|
|
|
|
2013-08-16 14:00:36 +00:00
|
|
|
# We use systemd rpm macros for nscd
|
|
|
|
BuildRequires: systemd
|
|
|
|
|
2018-01-10 19:13:08 +00:00
|
|
|
# We use python for the microbenchmarks and locale data regeneration from
|
|
|
|
# unicode sources (carried out manually). We choose python3 explicitly
|
|
|
|
# because it supports both use cases.
|
2018-01-10 07:09:01 +00:00
|
|
|
BuildRequires: python3
|
2015-07-15 15:28:17 +00:00
|
|
|
|
2017-11-29 11:59:25 +00:00
|
|
|
# This GCC version is needed for -fstack-clash-protection support.
|
2018-01-05 13:36:28 +00:00
|
|
|
BuildRequires: gcc >= 7.2.1-6
|
2017-06-21 09:08:15 +00:00
|
|
|
%define enablekernel 3.2
|
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
|
|
|
|
2017-10-17 11:52:43 +00:00
|
|
|
# GNU make 4.0 introduced the -O option.
|
|
|
|
BuildRequires: make >= 4.0
|
|
|
|
|
2017-12-04 12:59:23 +00:00
|
|
|
# The intl subsystem generates a parser using bison.
|
|
|
|
BuildRequires: bison >= 2.7
|
|
|
|
|
2018-07-04 14:35:00 +00:00
|
|
|
# binutils 2.30-17 is needed for --generate-missing-build-notes.
|
|
|
|
BuildRequires: binutils >= 2.30-17
|
2018-01-22 14:31:41 +00:00
|
|
|
|
2009-08-24 09:22:26 +00:00
|
|
|
# Earlier releases have broken support for IRELATIVE relocations
|
|
|
|
Conflicts: prelink < 0.4.2
|
2013-07-24 11:58:38 +00:00
|
|
|
|
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
|
|
|
|
2017-11-28 17:40:52 +00:00
|
|
|
%if %{without bootstrap}
|
2015-11-27 06:14:36 +00:00
|
|
|
%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
|
2018-01-17 17:42:37 +00:00
|
|
|
|
|
|
|
# libidn2 (but not libidn2-devel) is needed for testing AI_IDN/NI_IDN.
|
|
|
|
BuildRequires: libidn2
|
2015-11-27 06:14:36 +00:00
|
|
|
%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.
|
|
|
|
|
2018-01-11 12:21:53 +00:00
|
|
|
######################################################################
|
|
|
|
# libnsl subpackage
|
|
|
|
######################################################################
|
|
|
|
|
|
|
|
%package -n libnsl
|
|
|
|
Summary: Legacy support library for NIS
|
|
|
|
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libnsl
|
|
|
|
This package provides the legacy version of libnsl library, for
|
|
|
|
accessing NIS services.
|
|
|
|
|
|
|
|
This library is provided for backwards compatibility only;
|
|
|
|
applications should use libnsl2 instead to gain IPv6 support.
|
|
|
|
|
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.
|
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}
|
2018-01-19 20:39:12 +00:00
|
|
|
Requires: libxcrypt-devel%{_isa} >= 4.0.0
|
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.
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
2018-01-19 20:39:12 +00:00
|
|
|
Requires: libxcrypt-static%{?_isa} >= 4.0.0
|
2009-02-18 20:47:04 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
Provides: %{name}-headers(%{_target_cpu})
|
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}
|
2017-06-21 09:08:15 +00:00
|
|
|
BuildRequires: kernel-headers >= 3.2
|
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
|
|
|
|
|
|
|
|
%description common
|
|
|
|
The glibc-common package includes common binaries for the GNU libc
|
|
|
|
libraries, as well as national language (locale) support.
|
|
|
|
|
2018-02-06 10:25:39 +00:00
|
|
|
######################################################################
|
|
|
|
# File triggers to do ldconfig calls automatically (see rhbz#1380878)
|
|
|
|
######################################################################
|
|
|
|
|
|
|
|
# File triggers for when libraries are added or removed in standard
|
2018-02-07 15:45:49 +00:00
|
|
|
# paths.
|
|
|
|
%transfiletriggerin common -P 2000000 -- /lib /usr/lib /lib64 /usr/lib64
|
|
|
|
/sbin/ldconfig
|
2018-02-06 10:25:39 +00:00
|
|
|
%end
|
|
|
|
|
2018-02-07 15:45:49 +00:00
|
|
|
%transfiletriggerpostun common -P 2000000 -- /lib /usr/lib /lib64 /usr/lib64
|
|
|
|
/sbin/ldconfig
|
2018-02-06 10:25:39 +00:00
|
|
|
%end
|
|
|
|
|
|
|
|
# We need to run ldconfig manually because ldconfig cannot handle the
|
|
|
|
# relative include path in the /etc/ld.so.conf file we gneerate.
|
|
|
|
%undefine __brp_ldconfig
|
|
|
|
|
|
|
|
######################################################################
|
|
|
|
|
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}
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2017-08-16 11:17:21 +00:00
|
|
|
%{lua:
|
2017-10-06 13:25:50 +00:00
|
|
|
-- Array of languages (ISO-639 codes).
|
|
|
|
local languages = {}
|
|
|
|
-- Dictionary from language codes (as in the languages array) to arrays
|
|
|
|
-- of regions.
|
|
|
|
local supplements = {}
|
|
|
|
do
|
|
|
|
-- Parse the SUPPORTED file. Eliminate duplicates.
|
|
|
|
local lang_region_seen = {}
|
|
|
|
for line in io.lines(rpm.expand("%{SOURCE11}")) do
|
|
|
|
-- Match lines which contain a language (eo) or language/region
|
|
|
|
-- (en_US) strings.
|
|
|
|
local lang_region = string.match(line, "^([a-z][^/@.]+)")
|
|
|
|
if lang_region ~= nil then
|
|
|
|
if lang_region_seen[lang_region] == nil then
|
|
|
|
lang_region_seen[lang_region] = true
|
|
|
|
|
|
|
|
-- Split language/region pair.
|
|
|
|
local lang, region = string.match(lang_region, "^(.+)_(.+)")
|
|
|
|
if lang == nil then
|
|
|
|
-- Region is missing, use only the language.
|
|
|
|
lang = lang_region
|
|
|
|
end
|
|
|
|
local suppl = supplements[lang]
|
|
|
|
if suppl == nil then
|
|
|
|
suppl = {}
|
|
|
|
supplements[lang] = suppl
|
|
|
|
-- New language not seen before.
|
|
|
|
languages[#languages + 1] = lang
|
|
|
|
end
|
|
|
|
if region ~= nil then
|
|
|
|
-- New region because of the check against
|
|
|
|
-- lang_region_seen above.
|
|
|
|
suppl[#suppl + 1] = region
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
-- Sort for determinism.
|
|
|
|
table.sort(languages)
|
|
|
|
for _, supples in pairs(supplements) do
|
|
|
|
table.sort(supplements)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
-- Compute the Supplements: list for a language, based on the regions.
|
|
|
|
local function compute_supplements(lang)
|
|
|
|
result = "langpacks-" .. lang
|
|
|
|
regions = supplements[lang]
|
|
|
|
if regions ~= nil then
|
|
|
|
for i = 1, #regions do
|
|
|
|
result = result .. " or langpacks-" .. lang .. "_" .. regions[i]
|
|
|
|
end
|
|
|
|
end
|
|
|
|
return result
|
|
|
|
end
|
|
|
|
|
|
|
|
-- Emit the definition of a language pack package.
|
|
|
|
local function lang_package(lang)
|
|
|
|
local suppl = compute_supplements(lang)
|
|
|
|
print(rpm.expand([[
|
|
|
|
|
|
|
|
%package langpack-]]..lang..[[
|
|
|
|
|
|
|
|
Summary: Locale data for ]]..lang..[[
|
|
|
|
|
|
|
|
Provides: glibc-langpack = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2018-01-12 10:13:18 +00:00
|
|
|
Supplements: (glibc and (]]..suppl..[[))
|
2017-10-06 13:25:50 +00:00
|
|
|
%description langpack-]]..lang..[[
|
|
|
|
|
|
|
|
The glibc-langpack-]]..lang..[[ package includes the basic information required
|
|
|
|
to support the ]]..lang..[[ language in your applications.
|
|
|
|
%ifnarch %{auxarches}
|
|
|
|
%files -f langpack-]]..lang..[[.filelist langpack-]]..lang..[[
|
|
|
|
|
|
|
|
%endif
|
|
|
|
]]))
|
|
|
|
end
|
|
|
|
|
|
|
|
for i = 1, #languages do
|
|
|
|
lang_package(languages[i])
|
|
|
|
end
|
2017-08-16 11:17:21 +00:00
|
|
|
}
|
2016-02-26 09:06:35 +00:00
|
|
|
|
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}.
|
|
|
|
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}.
|
|
|
|
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).
|
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
|
2018-01-11 12:21:53 +00:00
|
|
|
The nscd daemon caches name service lookups and can improve
|
|
|
|
performance with LDAP, 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
|
|
|
|
##############################################################################
|
|
|
|
|
2018-05-22 16:30:32 +00:00
|
|
|
# This should remain it's own subpackage or "Provides: nss_db" to allow easy
|
|
|
|
# migration from old systems that previously had the old nss_db package
|
|
|
|
# installed. Note that this doesn't make the migration that smooth, the
|
|
|
|
# databases still need rebuilding because the formats were different.
|
|
|
|
# The nss_db package was deprecated in F16 and onwards:
|
|
|
|
# https://lists.fedoraproject.org/pipermail/devel/2011-July/153665.html
|
|
|
|
# The different database format does cause some issues for users:
|
|
|
|
# https://lists.fedoraproject.org/pipermail/devel/2011-December/160497.html
|
2016-07-20 15:09:24 +00:00
|
|
|
%package -n nss_db
|
|
|
|
Summary: Name Service Switch (NSS) module using hash-indexed files
|
|
|
|
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_hesiod
|
|
|
|
Summary: Name Service Switch (NSS) module using Hesiod
|
|
|
|
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
|
|
|
|
Requires: nss_db%{_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
|
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
|
2017-07-27 16:33:37 +00:00
|
|
|
# Disable thew new features that glibc packages don't use.
|
|
|
|
%undefine _debugsource_packages
|
|
|
|
%undefine _debuginfo_subpackages
|
|
|
|
%undefine _unique_debug_names
|
|
|
|
%undefine _unique_debug_srcs
|
2004-09-09 05:40:37 +00:00
|
|
|
|
|
|
|
%package debuginfo
|
|
|
|
Summary: Debug information for package %{name}
|
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}
|
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}
|
|
|
|
%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
|
2018-04-19 11:49:39 +00:00
|
|
|
%autosetup -n %{glibcsrcdir} -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.
|
|
|
|
#
|
2018-02-14 16:05:30 +00:00
|
|
|
# The separate file copy is used by the Lua parser above.
|
2016-05-09 18:43:58 +00:00
|
|
|
# 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,
|
2018-02-14 16:05:30 +00:00
|
|
|
# and (b) the Lua snippet can use a fully patched-up version
|
2016-05-09 18:43:58 +00:00
|
|
|
# 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
|
2017-06-22 12:48:21 +00:00
|
|
|
LD_SHOW_AUXV=1 /bin/true
|
2016-04-28 19:59:56 +00:00
|
|
|
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
|
|
|
|
2018-07-05 10:45:10 +00:00
|
|
|
# Part of rpm_inherit_flags. Is overridden below.
|
|
|
|
rpm_append_flag ()
|
|
|
|
{
|
|
|
|
BuildFlags="$BuildFlags $*"
|
|
|
|
}
|
|
|
|
|
|
|
|
# Propagates the listed flags to rpm_append_flag if supplied by
|
|
|
|
# redhat-rpm-config.
|
2018-02-28 11:40:17 +00:00
|
|
|
BuildFlags="-O2 -g"
|
|
|
|
rpm_inherit_flags ()
|
|
|
|
{
|
2018-05-11 14:12:33 +00:00
|
|
|
local reference=" $* "
|
2018-02-28 11:40:17 +00:00
|
|
|
local flag
|
2018-05-11 14:12:33 +00:00
|
|
|
for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS ; do
|
|
|
|
if echo "$reference" | grep -q -F " $flag " ; then
|
2018-07-05 10:45:10 +00:00
|
|
|
rpm_append_flag "$flag"
|
2018-02-28 11:40:17 +00:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
}
|
2016-02-09 08:48:54 +00:00
|
|
|
|
2018-02-28 11:40:17 +00:00
|
|
|
# Propgate select compiler flags from redhat-rpm-config. These flags
|
|
|
|
# are target-dependent, so we use only those which are specified in
|
2018-06-01 10:10:16 +00:00
|
|
|
# redhat-rpm-config. We keep the -m32/-m32/-m64 flags to support
|
|
|
|
# multilib builds.
|
2018-07-11 13:54:24 +00:00
|
|
|
#
|
|
|
|
# Note: For building alternative run-times, care is required to avoid
|
|
|
|
# overriding the architecture flags which go into CC/CXX. The flags
|
|
|
|
# below are passed in CFLAGS.
|
2004-09-09 05:40:37 +00:00
|
|
|
|
2018-02-28 11:40:17 +00:00
|
|
|
rpm_inherit_flags \
|
2018-07-04 08:48:07 +00:00
|
|
|
"-Wp,-D_GLIBCXX_ASSERTIONS" \
|
2018-02-28 11:40:17 +00:00
|
|
|
"-fasynchronous-unwind-tables" \
|
2018-07-04 08:48:07 +00:00
|
|
|
"-fcf-protection" \
|
2018-02-28 11:40:17 +00:00
|
|
|
"-fstack-clash-protection" \
|
|
|
|
"-funwind-tables" \
|
|
|
|
"-m31" \
|
|
|
|
"-m32" \
|
|
|
|
"-m64" \
|
2018-06-01 10:10:16 +00:00
|
|
|
"-march=i686" \
|
|
|
|
"-march=x86-64" \
|
|
|
|
"-march=z13" \
|
|
|
|
"-march=z14" \
|
|
|
|
"-march=zEC12" \
|
|
|
|
"-mfpmath=sse" \
|
2018-06-18 09:51:52 +00:00
|
|
|
"-msse2" \
|
2018-05-11 14:04:30 +00:00
|
|
|
"-mstackrealign" \
|
2018-06-01 10:10:16 +00:00
|
|
|
"-mtune=generic" \
|
|
|
|
"-mtune=z13" \
|
|
|
|
"-mtune=z14" \
|
|
|
|
"-mtune=zEC12" \
|
2018-03-06 13:37:32 +00:00
|
|
|
"-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" \
|
2016-09-22 11:20:25 +00:00
|
|
|
|
2018-07-05 10:45:10 +00:00
|
|
|
# Propagate additional build flags to BuildFlagsNonshared. This is
|
|
|
|
# very special because some of these files are part of the startup
|
|
|
|
# code. We essentially hope that these flags have little effect
|
|
|
|
# there, and only specify the, for consistency, so that annobin
|
|
|
|
# records the expected compiler flags.
|
|
|
|
BuildFlagsNonshared=
|
|
|
|
rpm_append_flag () {
|
|
|
|
BuildFlagsNonshared="$BuildFlagsNonshared $*"
|
|
|
|
}
|
|
|
|
rpm_inherit_flags \
|
|
|
|
"-Wp,-D_FORTIFY_SOURCE=2" \
|
|
|
|
|
2018-07-04 14:35:00 +00:00
|
|
|
# Special flag to enable annobin annotations for statically linked
|
|
|
|
# assembler code. Needs to be passed to make; not preserved by
|
|
|
|
# configure.
|
2018-07-11 09:50:02 +00:00
|
|
|
%define glibc_make_flags_as ASFLAGS="-g -Wa,--generate-missing-build-notes=yes"
|
|
|
|
%define glibc_make_flags %{glibc_make_flags_as} %{glibc_make_flags_ld}
|
|
|
|
|
|
|
|
# valgrind reports false positives if ld.so is linked with -z
|
|
|
|
# separate-code (the default) on i686, so we work around that here.
|
|
|
|
# See <https://bugzilla.redhat.com/show_bug.cgi?id=1600034>.
|
|
|
|
%ifarch %{ix86}
|
2018-07-11 11:21:42 +00:00
|
|
|
%define glibc_make_flags_ld LDFLAGS-rtld="-Wl,-z,noseparate-code"
|
2018-07-11 09:50:02 +00:00
|
|
|
%else
|
|
|
|
%define glibc_make_flags_ld %{nil}
|
|
|
|
%endif
|
2018-07-04 14:35:00 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
|
|
|
# %%build - Generic options.
|
|
|
|
##############################################################################
|
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
|
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
|
2018-01-19 07:35:09 +00:00
|
|
|
# global values are used to determine build flags, kernel version,
|
|
|
|
# system tap support, etc.
|
2013-07-24 11:58:38 +00:00
|
|
|
##############################################################################
|
2011-07-20 11:54:13 +00:00
|
|
|
build()
|
2005-04-27 12:26:45 +00:00
|
|
|
{
|
2018-02-28 11:40:17 +00:00
|
|
|
local builddir=build-%{target}${1:+-$1}
|
2013-07-25 22:53:13 +00:00
|
|
|
${1+shift}
|
|
|
|
rm -rf $builddir
|
|
|
|
mkdir $builddir
|
|
|
|
pushd $builddir
|
2018-02-28 11:40:17 +00:00
|
|
|
../configure CC="$GCC" CXX="$GXX" CFLAGS="$BuildFlags $*" \
|
2013-07-25 22:53:13 +00:00
|
|
|
--prefix=%{_prefix} \
|
2017-07-04 06:23:12 +00:00
|
|
|
--with-headers=%{_prefix}/include $EnableKernel \
|
2018-07-05 10:45:10 +00:00
|
|
|
--with-nonshared-cflags="$BuildFlagsNonshared" \
|
2017-07-04 06:23:12 +00:00
|
|
|
--enable-bind-now \
|
2013-07-25 22:53:13 +00:00
|
|
|
--build=%{target} \
|
2016-12-26 10:22:24 +00:00
|
|
|
--enable-stack-protector=strong \
|
2018-01-19 15:32:44 +00:00
|
|
|
%ifarch %{pie_arches}
|
2018-01-19 07:36:02 +00:00
|
|
|
--enable-static-pie \
|
|
|
|
%endif
|
2017-01-02 12:32:25 +00:00
|
|
|
--enable-tunables \
|
2013-07-25 22:53:13 +00:00
|
|
|
--enable-systemtap \
|
2016-02-09 08:48:54 +00:00
|
|
|
${core_with_options} \
|
2017-08-16 09:14:32 +00:00
|
|
|
%ifarch %{ix86}
|
|
|
|
--disable-multi-arch \
|
|
|
|
%endif
|
2015-08-28 19:29:26 +00:00
|
|
|
%if %{without werror}
|
|
|
|
--disable-werror \
|
|
|
|
%endif
|
|
|
|
--disable-profile \
|
|
|
|
%if %{with bootstrap}
|
|
|
|
--without-selinux \
|
2009-06-26 15:46:27 +00:00
|
|
|
%endif
|
2018-06-29 15:19:47 +00:00
|
|
|
--disable-crypt ||
|
2013-07-25 22:53:13 +00:00
|
|
|
{ cat config.log; false; }
|
2009-09-01 11:03:11 +00:00
|
|
|
|
2018-07-04 14:35:00 +00:00
|
|
|
make %{?_smp_mflags} -O -r %{glibc_make_flags}
|
2013-07-25 22:53:13 +00:00
|
|
|
popd
|
2005-04-27 12:26:45 +00:00
|
|
|
}
|
|
|
|
|
2018-07-11 19:32:56 +00:00
|
|
|
# Default set of compiler options.
|
2011-07-20 11:54:13 +00:00
|
|
|
build
|
2005-04-27 12:26:45 +00:00
|
|
|
|
2018-07-11 13:54:24 +00:00
|
|
|
%if %{buildpower9}
|
|
|
|
(
|
|
|
|
GCC="$GCC -mcpu=power9 -mtune=power9"
|
|
|
|
GXX="$GXX -mcpu=power9 -mtune=power9"
|
|
|
|
core_with_options="--with-cpu=power9"
|
|
|
|
build power9
|
|
|
|
)
|
|
|
|
%endif
|
|
|
|
|
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
|
|
|
|
2017-08-17 18:14:18 +00:00
|
|
|
# Remove existing file lists.
|
|
|
|
find . -type f -name '*.filelist' -exec rm -rf {} \;
|
|
|
|
|
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`
|
|
|
|
|
2018-02-10 09:59:27 +00:00
|
|
|
%ifarch riscv64
|
|
|
|
# RISC-V ABI wants to install everything in /lib64/lp64d or /usr/lib64/lp64d.
|
|
|
|
# Make these be symlinks to /lib64 or /usr/lib64 respectively. See:
|
|
|
|
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/DRHT5YTPK4WWVGL3GIN5BF2IKX2ODHZ3/
|
|
|
|
for d in $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT/%{_lib}; do
|
|
|
|
mkdir -p $d
|
|
|
|
(cd $d && ln -sf . lp64d)
|
|
|
|
done
|
|
|
|
%endif
|
|
|
|
|
2017-08-17 18:14:18 +00:00
|
|
|
# Build and install.
|
2017-10-17 11:47:32 +00:00
|
|
|
make -j1 install_root=$RPM_BUILD_ROOT install -C build-%{target}
|
2017-08-17 18:14:18 +00:00
|
|
|
|
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}
|
2017-10-17 11:52:43 +00:00
|
|
|
make %{?_smp_mflags} -O install_root=$RPM_BUILD_ROOT \
|
2013-07-25 22:53:13 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2018-07-11 13:54:24 +00:00
|
|
|
%if %{buildpower9}
|
|
|
|
pushd build-%{target}-power9
|
|
|
|
install_different "$RPM_BUILD_ROOT/%{_lib}" power9 ..
|
|
|
|
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
|
|
|
# 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
|
|
|
|
2018-01-03 20:56:50 +00:00
|
|
|
# This statically linked binary is no longer necessary in a world where
|
|
|
|
# the default Fedora install uses an initramfs, and further we have rpm-ostree
|
|
|
|
# which captures the whole userspace FS tree.
|
|
|
|
# Further, see https://github.com/projectatomic/rpm-ostree/pull/1173#issuecomment-355014583
|
|
|
|
rm -f ${RPM_BUILD_ROOT}/{usr/,}sbin/sln
|
|
|
|
|
2018-01-29 19:42:52 +00:00
|
|
|
######################################################################
|
|
|
|
# Run ldconfig to create all the symbolic links we need
|
|
|
|
######################################################################
|
|
|
|
|
|
|
|
# Note: This has to happen before creating /etc/ld.so.conf.
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/cache/ldconfig
|
|
|
|
truncate -s 0 $RPM_BUILD_ROOT/var/cache/ldconfig/aux-cache
|
|
|
|
|
|
|
|
# ldconfig is statically linked, so we can use the new version.
|
|
|
|
${RPM_BUILD_ROOT}/sbin/ldconfig -N -r ${RPM_BUILD_ROOT}
|
|
|
|
|
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}
|
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-25 03:00:43 +00:00
|
|
|
# Install the upgrade program
|
2018-01-19 15:32:18 +00:00
|
|
|
install -m 700 build-%{target}/elf/glibc_post_upgrade \
|
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-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
|
|
|
|
|
2018-03-01 05:10:04 +00:00
|
|
|
# Remove the zoneinfo files
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo
|
|
|
|
|
|
|
|
# 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 %{SOURCE0} $RPM_BUILD_ROOT/etc/ld.so.conf
|
|
|
|
touch -r sunrpc/etc.rpc $RPM_BUILD_ROOT/etc/rpc
|
|
|
|
|
|
|
|
pushd build-%{target}
|
|
|
|
$GCC -Os -g -static -o build-locale-archive %{SOURCE1} \
|
|
|
|
../build-%{target}/locale/locarchive.o \
|
|
|
|
../build-%{target}/locale/md5.o \
|
|
|
|
../build-%{target}/locale/record-status.o \
|
|
|
|
-I. -DDATADIR=\"%{_datadir}\" -DPREFIX=\"%{_prefix}\" \
|
|
|
|
-L../build-%{target} \
|
|
|
|
-B../build-%{target}/csu/ -lc -lc_nonshared
|
|
|
|
install -m 700 build-locale-archive $RPM_BUILD_ROOT%{_prefix}/sbin/build-locale-archive
|
|
|
|
popd
|
|
|
|
|
|
|
|
# Lastly copy some additional documentation for the packages.
|
|
|
|
rm -rf documentation
|
|
|
|
mkdir documentation
|
|
|
|
cp timezone/README documentation/README.timezone
|
|
|
|
cp posix/gai.conf documentation/
|
|
|
|
|
|
|
|
%ifarch s390x
|
|
|
|
# Compatibility symlink
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/lib
|
|
|
|
ln -sf /%{_lib}/ld64.so.1 $RPM_BUILD_ROOT/lib/ld64.so.1
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with benchtests}
|
|
|
|
# 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/
|
|
|
|
# ... and the makefile.
|
|
|
|
for b in %{SOURCE9} %{SOURCE10}; do
|
|
|
|
cp $b $RPM_BUILD_ROOT%{_prefix}/libexec/glibc-benchtests/
|
|
|
|
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/
|
|
|
|
|
|
|
|
%if 0%{?_enable_debug_packages}
|
|
|
|
# The #line directives gperf generates do not give the proper
|
|
|
|
# file name relative to the build directory.
|
|
|
|
pushd locale
|
|
|
|
ln -s programs/*.gperf .
|
|
|
|
popd
|
|
|
|
pushd iconv
|
|
|
|
ln -s ../locale/programs/charmap-kw.gperf .
|
|
|
|
popd
|
|
|
|
|
|
|
|
%if %{with docs}
|
|
|
|
# Remove the `dir' info-heirarchy file which will be maintained
|
|
|
|
# by the system as it adds info files to the install.
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifnarch %{auxarches}
|
|
|
|
truncate -s 0 $RPM_BUILD_ROOT/%{_prefix}/lib/locale/locale-archive
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/{db,run}/nscd
|
|
|
|
touch $RPM_BUILD_ROOT/var/{db,run}/nscd/{passwd,group,hosts,services}
|
|
|
|
touch $RPM_BUILD_ROOT/var/run/nscd/{socket,nscd.pid}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Move libpcprofile.so and libmemusage.so into the proper library directory.
|
|
|
|
# They can be moved without any real consequences because users would not use
|
|
|
|
# them directly.
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
mv -f $RPM_BUILD_ROOT/%{_lib}/lib{pcprofile,memusage}.so \
|
|
|
|
$RPM_BUILD_ROOT%{_libdir}
|
|
|
|
|
|
|
|
# Strip all of the installed object files.
|
|
|
|
strip -g $RPM_BUILD_ROOT%{_libdir}/*.o
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# 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.
|
|
|
|
###############################################################################
|
|
|
|
pushd $RPM_BUILD_ROOT%{_prefix}/%{_lib}/
|
|
|
|
$GCC -r -nostdlib -o libpthread.o -Wl,--whole-archive ./libpthread.a
|
|
|
|
rm libpthread.a
|
|
|
|
ar rcs libpthread.a libpthread.o
|
|
|
|
rm libpthread.o
|
|
|
|
popd
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# Beyond this point in the install process we no longer modify the set of
|
|
|
|
# installed files, with one exception, for auxarches we cleanup the file list
|
|
|
|
# at the end and remove files which we don't intend to ship. We need the file
|
|
|
|
# list to effect a proper cleanup, and so it happens last.
|
|
|
|
##############################################################################
|
|
|
|
|
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.
|
2018-01-11 12:21:53 +00:00
|
|
|
# * libnsl.filelist
|
|
|
|
# - Contains the list of files for the libnsl subpackage
|
|
|
|
# * nss_db.filelist, nss_hesiod.filelist
|
2016-07-20 15:09:24 +00:00
|
|
|
# - 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' \
|
2018-03-01 05:10:04 +00:00
|
|
|
-e '\,/%{_libdir}/lib\(pcprofile\|memusage\)\.so,d' \
|
2018-01-19 17:32:12 +00:00
|
|
|
-e '\,bin/\(memusage\|mtrace\|xtrace\|pcprofiledump\),d'
|
2009-06-26 15:46:27 +00:00
|
|
|
} | 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-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
|
2017-11-28 17:40:52 +00:00
|
|
|
%if %{with bootstrap}
|
|
|
|
test -w $i || continue
|
|
|
|
%endif
|
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 \
|
2018-01-05 13:07:05 +00:00
|
|
|
| grep '/lib\(\(c\|pthread\|nldbl\|mvec\)_nonshared\|g\|ieee\|mcheck\)\.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 \
|
2018-01-05 13:07:05 +00:00
|
|
|
| grep -v '/lib\(\(c\|pthread\|nldbl\|mvec\)_nonshared\|g\|ieee\|mcheck\)\.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
|
2018-03-01 05:10:04 +00:00
|
|
|
# The exception is that libmemusage.so and libpcprofile.so are in glibc
|
|
|
|
# because they are used by the utils.
|
|
|
|
sed -i -e '\,libmemusage.so,d' -e '\,libpcprofile.so,d' 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
|
|
|
|
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
|
2017-11-28 17:40:52 +00:00
|
|
|
%if %{without bootstrap}
|
2004-09-09 05:40:37 +00:00
|
|
|
%{_prefix}/bin/memusage
|
|
|
|
%{_prefix}/bin/memusagestat
|
2016-07-22 15:54:35 +00:00
|
|
|
%endif
|
2017-11-28 17:40:52 +00:00
|
|
|
%{_prefix}/bin/mtrace
|
2004-09-09 05:40:37 +00:00
|
|
|
%{_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.
|
2018-01-11 12:21:53 +00:00
|
|
|
for module in db compat hesiod files dns; do
|
2016-07-20 15:09:24 +00:00
|
|
|
grep -E "/libnss_$module(\.so\.[0-9.]+|-[0-9.]+\.so)$" \
|
|
|
|
rpm.filelist > nss_$module.filelist
|
|
|
|
done
|
|
|
|
# Symlinks go into the nss-devel package (instead of the main devel
|
|
|
|
# package).
|
|
|
|
grep '/libnss_[a-z]*\.so$' devel.filelist > nss-devel.filelist
|
2017-10-09 10:24:43 +00:00
|
|
|
# /var/db/Makefile goes into nss_db, remove the other files from
|
2016-07-20 15:09:24 +00:00
|
|
|
# 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.
|
2017-10-04 16:53:59 +00:00
|
|
|
cat nss_files.filelist nss_dns.filelist nss_compat.filelist >> rpm.filelist
|
2016-07-20 15:09:24 +00:00
|
|
|
|
2018-01-11 12:21:53 +00:00
|
|
|
# Prepare the libnsl-related file lists.
|
|
|
|
grep '/libnsl-[0-9.]*.so$' rpm.filelist > libnsl.filelist
|
|
|
|
test $(wc -l < libnsl.filelist) -eq 1
|
|
|
|
sed -i -e '\,/libnsl,d' rpm.filelist
|
|
|
|
|
2018-03-01 05:10:04 +00:00
|
|
|
# List of benchmarks.
|
2015-05-08 06:19:59 +00:00
|
|
|
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
|
|
|
|
echo "%{_prefix}/libexec/glibc-benchtests/$(basename $b)" >> benchtests.filelist
|
|
|
|
done
|
2018-03-01 05:10:04 +00:00
|
|
|
# ... and finally, the comparison scripts.
|
2015-05-08 06:19:59 +00:00
|
|
|
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
|
2018-03-01 05:10:04 +00:00
|
|
|
sed -i -e '\,glibc-benchtests,d' rpm.filelist
|
2015-05-08 06:19:59 +00:00
|
|
|
|
2013-07-24 11:58:38 +00:00
|
|
|
###############################################################################
|
2018-03-01 05:10:04 +00:00
|
|
|
# Process debug information.
|
2013-07-24 11:58:38 +00:00
|
|
|
###############################################################################
|
2009-02-18 20:47:04 +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 \
|
2018-01-11 12:21:53 +00:00
|
|
|
-l nss_db.filelist -l nss_hesiod.filelist \
|
2018-01-19 20:39:12 +00:00
|
|
|
-l libnsl.filelist -l rpm.filelist \
|
2015-08-28 19:29:26 +00:00
|
|
|
%if %{with benchtests}
|
2017-08-16 10:03:03 +00:00
|
|
|
-l benchtests.filelist
|
2015-08-28 19:29:26 +00:00
|
|
|
%endif
|
2017-08-16 10:03:03 +00:00
|
|
|
"
|
2007-08-10 01:55:13 +00:00
|
|
|
%endif
|
2017-08-16 11:30:01 +00:00
|
|
|
/usr/lib/rpm/find-debuginfo.sh $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
|
|
|
|
2004-09-09 05:40:37 +00:00
|
|
|
%ifarch %{auxarches}
|
2018-03-01 05:10:04 +00:00
|
|
|
##############################################################################
|
2013-07-24 11:58:38 +00:00
|
|
|
# Delete files that we do not intended to ship with the auxarch.
|
2018-03-01 05:10:04 +00:00
|
|
|
# This is the only place where we touch the installed files after generating
|
|
|
|
# the file lists.
|
|
|
|
##############################################################################
|
|
|
|
|
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-25 02:45:11 +00:00
|
|
|
%endif # %{auxarches}
|
2004-09-09 05:40: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
|
|
|
|
2018-01-19 11:02:32 +00:00
|
|
|
# Run the glibc tests. If any tests fail to build we exit %check with
|
|
|
|
# an error, otherwise we print the test failure list and the failed
|
|
|
|
# test output and continue. Write to standard error to avoid
|
|
|
|
# synchronization issues with make and shell tracing output if
|
|
|
|
# standard output and standard error are different pipes.
|
2014-09-27 03:44:17 +00:00
|
|
|
run_tests () {
|
2018-01-19 11:02:32 +00:00
|
|
|
# This hides a test suite build failure, which should be fatal. We
|
|
|
|
# check "Summary of test results:" below to verify that all tests
|
|
|
|
# were built and run.
|
|
|
|
make %{?_smp_mflags} -O check |& tee rpmbuild.check.log >&2
|
|
|
|
test -n tests.sum
|
|
|
|
if ! grep -q '^Summary of test results:$' rpmbuild.check.log ; then
|
|
|
|
echo "FAIL: test suite build of target: $(basename "$(pwd)")" >& 2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
set +x
|
|
|
|
grep -v ^PASS: tests.sum > rpmbuild.tests.sum.not-passing || true
|
|
|
|
if test -n rpmbuild.tests.sum.not-passing ; then
|
|
|
|
echo ===================FAILED TESTS===================== >&2
|
|
|
|
echo "Target: $(basename "$(pwd)")" >& 2
|
|
|
|
cat rpmbuild.tests.sum.not-passing >&2
|
|
|
|
while read failed_code failed_test ; do
|
|
|
|
for suffix in out test-result ; do
|
|
|
|
if test -e "$failed_test.$suffix"; then
|
|
|
|
echo >&2
|
|
|
|
echo "=====$failed_code $failed_test.$suffix=====" >&2
|
|
|
|
cat -- "$failed_test.$suffix" >&2
|
|
|
|
echo >&2
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
done <rpmbuild.tests.sum.not-passing
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Unconditonally dump differences in the system call list.
|
|
|
|
echo "* System call consistency checks:" >&2
|
|
|
|
cat misc/tst-syscall-list.out >&2
|
|
|
|
set -x
|
2014-09-27 03:44:17 +00:00
|
|
|
}
|
|
|
|
|
2014-09-06 18:15:15 +00:00
|
|
|
# Increase timeouts
|
|
|
|
export TIMEOUTFACTOR=16
|
|
|
|
parent=$$
|
|
|
|
echo ====================TESTING=========================
|
2018-07-11 13:54:24 +00:00
|
|
|
|
|
|
|
# Default libraries.
|
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
|
|
|
|
|
2018-07-11 13:54:24 +00:00
|
|
|
%if %{buildpower9}
|
|
|
|
echo ====================TESTING -mcpu=power9=============
|
|
|
|
pushd build-%{target}-power9
|
|
|
|
run_tests
|
|
|
|
popd
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-09-06 18:15:15 +00:00
|
|
|
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==================
|
|
|
|
|
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}
|
2017-06-22 12:48:21 +00:00
|
|
|
|
|
|
|
# Show the auxiliary vector as seen by the new library
|
|
|
|
# (even if we do not perform the valgrind test).
|
|
|
|
LD_SHOW_AUXV=1 elf/ld.so --library-path .:elf:nptl:dlfcn /bin/true
|
|
|
|
|
|
|
|
%if %{with valgrind}
|
2017-07-27 15:14:26 +00:00
|
|
|
elf/ld.so --library-path .:elf:nptl:dlfcn \
|
|
|
|
/usr/bin/valgrind --error-exitcode=1 \
|
2014-09-23 11:28:34 +00:00
|
|
|
elf/ld.so --library-path .:elf:nptl:dlfcn /usr/bin/true
|
|
|
|
%endif
|
2017-06-22 12:48:21 +00:00
|
|
|
popd
|
2014-09-23 11:28:34 +00:00
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
%files -f rpm.filelist
|
2013-08-15 03:48:25 +00:00
|
|
|
%dir %{_prefix}/%{_lib}/audit
|
2018-07-11 13:54:24 +00:00
|
|
|
%if %{buildpower9}
|
|
|
|
%dir /%{_lib}/power9
|
|
|
|
%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
|
|
|
|
%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
|
2017-09-04 18:53:35 +00:00
|
|
|
%doc README NEWS INSTALL 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
|
|
|
|
|
|
|
%ifnarch %{auxarches}
|
|
|
|
%files -f common.filelist common
|
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/*
|
2016-07-22 15:06:37 +00:00
|
|
|
%doc documentation/README.timezone
|
|
|
|
%doc documentation/gai.conf
|
2004-09-09 05:40:37 +00:00
|
|
|
|
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
|
|
|
|
%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
|
|
|
|
|
2009-02-18 20:47:04 +00:00
|
|
|
%files -f static.filelist static
|
|
|
|
|
2004-09-09 05:40:37 +00:00
|
|
|
%files -f headers.filelist headers
|
|
|
|
|
|
|
|
%files -f utils.filelist utils
|
|
|
|
|
|
|
|
%files -f nscd.filelist -n nscd
|
|
|
|
%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
|
2017-10-09 10:24:43 +00:00
|
|
|
/var/db/Makefile
|
2016-07-20 15:09:24 +00:00
|
|
|
%files -f nss_hesiod.filelist -n nss_hesiod
|
|
|
|
%doc hesiod/README.hesiod
|
|
|
|
%files -f nss-devel.filelist nss-devel
|
|
|
|
|
2018-01-11 12:21:53 +00:00
|
|
|
%files -f libnsl.filelist -n libnsl
|
|
|
|
/%{_lib}/libnsl.so.1
|
|
|
|
|
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
|
|
|
|
%ifarch %{debuginfocommonarches}
|
|
|
|
%ifnarch %{auxarches}
|
|
|
|
%files debuginfo-common -f debuginfocommon.filelist
|
|
|
|
%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
|
|
|
|
%endif
|
|
|
|
|
2004-09-09 05:40:37 +00:00
|
|
|
%changelog
|
2018-07-11 13:54:24 +00:00
|
|
|
* Wed Jul 11 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-39
|
|
|
|
- Add POWER9 multilib (downstream only)
|
|
|
|
|
2018-07-11 09:47:17 +00:00
|
|
|
* Wed Jul 11 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-38
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 93304f5f7a32f73b551266c5a181db51d97a71e4:
|
|
|
|
- Install <bits/statx.h> header
|
|
|
|
- Put the correct Unicode version number 11.0.0 into the generated files
|
|
|
|
|
2018-07-11 09:50:02 +00:00
|
|
|
* Wed Jul 11 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-37
|
|
|
|
- Work around valgrind issue on i686 (#1600034)
|
|
|
|
|
2018-07-10 15:18:22 +00:00
|
|
|
* Tue Jul 10 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-36
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit fd70af45528d59a00eb3190ef6706cb299488fcd:
|
|
|
|
- Add the statx function
|
|
|
|
- regexec: Fix off-by-one bug in weight comparison (#1582229)
|
|
|
|
- nss_files: Fix re-reading of long lines (swbz#18991)
|
|
|
|
- aarch64: add HWCAP_ATOMICS to HWCAP_IMPORTANT
|
|
|
|
- aarch64: Remove HWCAP_CPUID from HWCAP_IMPORTANT
|
|
|
|
- conform/conformtest.pl: Escape literal braces in regular expressions
|
|
|
|
- x86: Use AVX_Fast_Unaligned_Load from Zen onwards.
|
|
|
|
|
2018-07-06 09:43:53 +00:00
|
|
|
* Fri Jul 6 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-35
|
|
|
|
- Remove ppc64 multilibs
|
|
|
|
|
2018-07-06 08:53:36 +00:00
|
|
|
* Fri Jul 06 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-34
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 3a885c1f51b18852869a91cf59a1b39da1595c7a.
|
|
|
|
|
2018-07-05 10:45:10 +00:00
|
|
|
* Thu Jul 5 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-33
|
|
|
|
- Enable build flags inheritance for nonshared flags
|
|
|
|
|
2018-07-04 14:35:00 +00:00
|
|
|
* Wed Jul 4 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-32
|
|
|
|
- Add annobin annotations to assembler code (#1548438)
|
|
|
|
|
2018-07-04 09:56:29 +00:00
|
|
|
* Wed Jul 4 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-31
|
|
|
|
- Enable -D_FORTIFY_SOURCE=2 for nonshared code
|
|
|
|
|
2018-07-02 18:26:54 +00:00
|
|
|
* Mon Jul 02 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-30
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit b7b88cea4151d85eafd7ababc2e4b7ae1daeedf5:
|
|
|
|
- New locale: dsb_DE (Lower Sorbian)
|
|
|
|
|
2018-06-29 15:19:47 +00:00
|
|
|
* Fri Jun 29 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-29
|
2018-07-04 09:50:24 +00:00
|
|
|
- Drop glibc-deprecate_libcrypt.patch. Variant applied upstream. (#1566464)
|
2018-06-29 15:19:47 +00:00
|
|
|
- Drop glibc-linux-timespec-header-compat.patch. Upstreamed.
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit e69d994a63afc2d367f286a2a7df28cbf710f0fe.
|
|
|
|
|
2018-06-28 08:28:22 +00:00
|
|
|
* Thu Jun 28 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-28
|
|
|
|
- Drop glibc-rh1315108.patch. extend_alloca was removed upstream. (#1315108)
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit c49e18222e4c40f21586dabced8a49732d946917.
|
|
|
|
|
2018-06-21 06:25:16 +00:00
|
|
|
* Thu Jun 21 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-27
|
|
|
|
- Compatibility fix for <sys/stat.h> and <linux/time.h>
|
|
|
|
|
2018-06-21 06:23:20 +00:00
|
|
|
* Thu Jun 21 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-26
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit f496b28e61d0342f579bf794c71b80e9c7d0b1b5.
|
|
|
|
|
2018-06-18 19:25:46 +00:00
|
|
|
* Mon Jun 18 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-25
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit f2857da7cdb65bfad75ee30981f5b2fde5bbb1dc.
|
|
|
|
|
2018-06-18 11:02:53 +00:00
|
|
|
* Mon Jun 18 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-24
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 14beef7575099f6373f9a45b4656f1e3675f7372:
|
|
|
|
- iconv: Make IBM273 equivalent to ISO-8859-1 (#1592270)
|
|
|
|
|
2018-06-18 09:51:52 +00:00
|
|
|
* Mon Jun 18 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-23
|
|
|
|
- Inherit the -msse2 build flag as well (#1592212)
|
|
|
|
|
2018-06-01 12:07:34 +00:00
|
|
|
* Fri Jun 01 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-22
|
|
|
|
- Modernise nsswitch.conf defaults (#1581809)
|
|
|
|
- Adjust build flags inheritence from redhat-rpm-config
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 104502102c6fa322515ba0bb3c95c05c3185da7a.
|
|
|
|
|
2018-05-25 09:40:12 +00:00
|
|
|
* Fri May 25 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-21
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit c1dc1e1b34873db79dfbfa8f2f0a2abbe28c0514.
|
|
|
|
|
2018-05-23 13:37:05 +00:00
|
|
|
* Wed May 23 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-20
|
|
|
|
- Auto-sync with upstream branch master,
|
2018-05-23 19:38:06 +00:00
|
|
|
commit 7f9f1ecb710eac4d65bb02785ddf288cac098323:
|
|
|
|
- CVE-2018-11237: Buffer overflow in __mempcpy_avx512_no_vzeroupper (#1581275)
|
2018-05-23 13:37:05 +00:00
|
|
|
- Drop glibc-rh1452750-allocate_once.patch,
|
|
|
|
glibc-rh1452750-libidn2.patch. Applied upstream.
|
|
|
|
|
2018-05-23 07:21:21 +00:00
|
|
|
* Wed May 23 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-19
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 8f145c77123a565b816f918969e0e35ee5b89153.
|
|
|
|
|
2018-05-17 08:35:47 +00:00
|
|
|
* Thu May 17 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-18
|
|
|
|
- Do not run telinit u on upgrades (#1579225)
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 632a6cbe44cdd41dba7242887992cdca7b42922a.
|
|
|
|
|
2018-05-11 14:02:06 +00:00
|
|
|
* Fri May 11 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-17
|
|
|
|
- Avoid exporting some Sun RPC symbols with default versions (#1577210)
|
2018-05-11 14:04:30 +00:00
|
|
|
- Inherit the -mstackrealign flag if it is set
|
2018-05-11 14:12:33 +00:00
|
|
|
- Inherit compiler flags in the original order
|
2018-05-11 14:02:06 +00:00
|
|
|
- Auto-sync with upstream branch master,
|
2018-06-18 12:58:14 +00:00
|
|
|
commit 89aacb513eb77549a29df2638913a0f8178cf3f5:
|
|
|
|
- CVE-2018-11236: realpath: Fix path length overflow (#1581270, swbz#22786)
|
2018-05-11 14:02:06 +00:00
|
|
|
|
2018-05-11 13:56:01 +00:00
|
|
|
* Fri May 11 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-16
|
|
|
|
- Use /usr/bin/python3 for benchmarks scripts (#1577223)
|
|
|
|
|
2018-04-19 11:53:29 +00:00
|
|
|
* Thu Apr 19 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-15
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 0085be1415a38b40a5a1a12e49368498f1687380.
|
|
|
|
|
2018-04-09 10:01:14 +00:00
|
|
|
* Mon Apr 09 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-14
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 583a27d525ae189bdfaa6784021b92a9a1dae12e.
|
|
|
|
|
2018-03-29 09:44:12 +00:00
|
|
|
* Thu Mar 29 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-13
|
|
|
|
- Auto-sync with upstream branch master,
|
2018-05-22 05:26:10 +00:00
|
|
|
commit d39c0a459ef32a41daac4840859bf304d931adab:
|
|
|
|
- CVE-2017-18269: memory corruption in i386 memmove (#1580934)
|
2018-03-29 09:44:12 +00:00
|
|
|
|
2018-03-19 19:37:00 +00:00
|
|
|
* Mon Mar 19 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-12
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit fbce6f7260c3847f14dfa38f60c9111978fb33a5.
|
|
|
|
|
2018-03-16 11:33:09 +00:00
|
|
|
* Fri Mar 16 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-11
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 700593fdd7aef1e36cfa8bad969faab76a6facda.
|
|
|
|
|
2018-03-14 10:02:55 +00:00
|
|
|
* Wed Mar 14 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-10
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 7108f1f944792ac68332967015d5e6418c5ccc88.
|
|
|
|
|
2018-03-12 10:44:45 +00:00
|
|
|
* Mon Mar 12 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-9
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit da6d4404ecfd7eacba8c096b0761a5758a59da4b.
|
|
|
|
|
2018-03-06 13:37:32 +00:00
|
|
|
* Tue Mar 6 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-8
|
|
|
|
- Enable annobin annotations (#1548438)
|
|
|
|
|
2018-03-01 11:57:19 +00:00
|
|
|
* Thu Mar 01 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-7
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 1a2f44a848663036c8a14671fe0faa3fed0b2a25:
|
|
|
|
- Remove spurios reference to libpthread_nonshared.a
|
|
|
|
|
2018-03-01 07:34:12 +00:00
|
|
|
* Thu Mar 01 2018 Florian Weimer <fweimer@redhat.com> - 2.27.9000-6
|
|
|
|
- Switch back to upstream master branch
|
|
|
|
- Drop glibc-rh1013801.patch, applied upstream.
|
|
|
|
- Drop glibc-fedora-nptl-linklibc.patch, no longer needed.
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit bd60ce86520b781ca24b99b2555e2ad389bbfeaa.
|
|
|
|
|
2018-02-28 11:40:44 +00:00
|
|
|
* Wed Feb 28 2018 Florian Weimer <fweimer@redhat.com> - 2.27-5
|
2018-03-02 09:39:29 +00:00
|
|
|
- Inherit as many flags as possible from redhat-rpm-config (#1550914)
|
2018-02-28 11:40:44 +00:00
|
|
|
|
2018-02-10 09:59:27 +00:00
|
|
|
* Mon Feb 19 2018 Richard W.M. Jones <rjones@redhat.com> - 2.27-4
|
|
|
|
- riscv64: Add symlink from /usr/lib64/lp64d -> /usr/lib64 for ABI compat.
|
2018-02-10 10:00:18 +00:00
|
|
|
- riscv64: Disable valgrind smoke test on this architecture.
|
2018-02-10 09:59:27 +00:00
|
|
|
|
2018-02-14 16:07:46 +00:00
|
|
|
* Wed Feb 14 2018 Florian Weimer <fweimer@redhat.com> - 2.27-3
|
|
|
|
- Spec file cleanups:
|
|
|
|
- Remove %%defattr(-,root,root)
|
|
|
|
- Use shell to run ldconfig %%transfiletrigger
|
|
|
|
- Move %%transfiletrigger* to the glibc-common subpackage
|
|
|
|
- Trim changelog
|
|
|
|
- Include ChangeLog.old in the source RPM
|
|
|
|
|
2018-02-07 13:09:49 +00:00
|
|
|
* Wed Feb 7 2018 Florian Weimer <fweimer@redhat.com> - 2.27-2.1
|
|
|
|
- Linux: use reserved name __key in pkey_get (#1542643)
|
|
|
|
- Auto-sync with upstream branch release/2.27/master,
|
|
|
|
commit 56170e064e2b21ce204f0817733e92f1730541ea.
|
|
|
|
|
2018-02-07 12:49:46 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org>
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-05 15:32:08 +00:00
|
|
|
* Mon Feb 05 2018 Carlos O'Donell <carlos@redhat.com> - 2.27-1
|
|
|
|
- Update to released glibc 2.27.
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 23158b08a0908f381459f273a984c6fd328363cb.
|
|
|
|
|
2018-01-30 19:33:56 +00:00
|
|
|
* Tue Jan 30 2018 Richard W.M. Jones <rjones@redhat.com> - 2.26.9000-52
|
2018-01-30 18:31:12 +00:00
|
|
|
- Disable -fstack-clash-protection on riscv64:
|
|
|
|
not supported even by GCC 7.3.1 on this architecture.
|
|
|
|
|
2018-01-29 19:42:52 +00:00
|
|
|
* Mon Jan 29 2018 Florian Weimer <fweimer@redhat.com> - 2.26.9000-51
|
|
|
|
- Explicitly run ldconfig in the buildroot
|
|
|
|
- Do not run ldconfig from scriptlets
|
|
|
|
- Put triggers into the glibc-common package, do not pass arguments to ldconfig
|
|
|
|
|
2018-01-29 17:06:23 +00:00
|
|
|
* Mon Jan 29 2018 Florian Weimer <fweimer@redhat.com> - 2.26.9000-50
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit cdd14619a713ab41e26ba700add4880604324dbb:
|
|
|
|
- libnsl: Turn remaining symbols into compat symbols (swbz#22701)
|
|
|
|
- be_BY, be_BY@latin, lt_LT, el_CY, el_GR, ru_RU, ru_UA, uk_UA:
|
|
|
|
Add alternative month names (swbz#10871)
|
|
|
|
- x86: Revert Intel CET changes to __jmp_buf_tag (swbz#22743)
|
|
|
|
- aarch64: Revert the change of the __reserved member of mcontext_t
|
|
|
|
|
2018-01-29 16:07:39 +00:00
|
|
|
* Mon Jan 29 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.26.9000-49
|
|
|
|
- Add file triggers to do ldconfig calls automatically
|
|
|
|
|
2018-01-22 15:19:24 +00:00
|
|
|
* Mon Jan 22 2018 Florian Weimer <fweimer@redhat.com> - 2.26.9000-48
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 21c0696cdef617517de6e25711958c40455c554f:
|
|
|
|
- locale: Implement alternative month names (swbz#10871)
|
|
|
|
- locale: Change month names for pl_PL (swbz#10871)
|
|
|
|
|
2018-01-22 14:33:11 +00:00
|
|
|
* Mon Jan 22 2018 Florian Weimer <fweimer@redhat.com> - 2.26.9000-47
|
|
|
|
- Unconditionally build without libcrypt
|
|
|
|
|
2018-01-22 10:09:06 +00:00
|
|
|
* Fri Jan 19 2018 Björn Esser <besser82@fedoraproject.org> - 2.26.9000-46
|
2018-01-19 20:39:12 +00:00
|
|
|
- Remove deprecated libcrypt, gets replaced by libxcrypt
|
|
|
|
- Add applicable Requires on libxcrypt
|
|
|
|
|
2018-01-19 17:04:40 +00:00
|
|
|
* Fri Jan 19 2018 Florian Weimer <fweimer@redhat.com> - 2.26.9000-45
|
|
|
|
- Drop static PIE support on aarch64. It leads to crashes at run time.
|
2018-01-19 17:32:12 +00:00
|
|
|
- Remove glibc-rpcgen subpackage. See rpcsvc-proto. (#1531540)
|
2018-01-19 17:04:40 +00:00
|
|
|
|
2018-01-19 15:56:41 +00:00
|
|
|
* Fri Jan 19 2018 Florian Weimer <fweimer@redhat.com> - 2.26.9000-44
|
2018-01-22 15:15:37 +00:00
|
|
|
- Correct the list of static PIE architectures (#1247050)
|
2018-01-19 15:56:41 +00:00
|
|
|
- glibc_post_upgrade: Remove process restart logic
|
|
|
|
- glibc_post_upgrade: Integrate into the build process
|
|
|
|
- glibc_post_upgrade: Do not clean up tls subdirectories
|
|
|
|
- glibc_post_upgrade: Drop ia64 support
|
|
|
|
- Remove architecture-specific symbolic link for iconvconfig
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 4612268a0ad8e3409d8ce2314dd2dd8ee0af5269:
|
|
|
|
- powerpc: Fix syscalls during early process initialization (swbz#22685)
|
|
|
|
|
2018-01-19 11:58:39 +00:00
|
|
|
* Fri Jan 19 2018 Florian Weimer <fweimer@redhat.com> - 2.26.9000-43
|
2018-01-22 15:15:37 +00:00
|
|
|
- Enable static PIE support on i386, x86_64 (#1247050)
|
2018-01-19 11:58:39 +00:00
|
|
|
- Remove add-on support (already gone upstream)
|
|
|
|
- Rework test suite status reporting
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 64f63cb4583ecc1ba16c7253aacc192b6d088511:
|
|
|
|
- malloc: Fix integer overflows in memalign and malloc functions (swbz#22343)
|
|
|
|
- x86-64: Properly align La_x86_64_retval to VEC_SIZE (swbz#22715)
|
|
|
|
- aarch64: Update bits/hwcap.h for Linux 4.15
|
|
|
|
- Add NT_ARM_SVE to elf.h
|
|
|
|
|
2018-01-17 17:42:37 +00:00
|
|
|
* Wed Jan 17 2018 Florian Weimer <fweimer@redhat.com> - 2.26.9000-42
|
|
|
|
- CVE-2017-14062, CVE-2016-6261, CVE-2016-6263:
|
|
|
|
Use libidn2 for IDNA support (#1452750)
|
|
|
|
|
2018-01-15 17:02:57 +00:00
|
|
|
* Mon Jan 15 2018 Florian Weimer <fweimer@redhat.com> - 2.26.9000-41
|
|
|
|
- CVE-2018-1000001: Make getcwd fail if it cannot obtain an absolute path
|
|
|
|
(#1533837)
|
|
|
|
- elf: Synchronize DF_1_* flags with binutils (#1439328)
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 860b0240a5645edd6490161de3f8d1d1f2786025:
|
|
|
|
- aarch64: fix static pie enabled libc when main is in a shared library
|
|
|
|
- malloc: Ensure that the consolidated fast chunk has a sane size
|
|
|
|
|
2018-01-12 10:43:05 +00:00
|
|
|
* Fri Jan 12 2018 Florian Weimer <fweimer@redhat.com> - 2.26.9000-40
|
|
|
|
- libnsl: Do not install libnsl.so, libnsl.a (#1531540)
|
|
|
|
- Use unversioned Supplements: for langpacks (#1490725)
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 9a08a366a7e7ddffe62113a9ffe5e50605ea0924:
|
|
|
|
- hu_HU locale: Avoid double space (swbz#22657)
|
|
|
|
- math: Make default libc_feholdsetround_noex_ctx use __feholdexcept
|
|
|
|
(swbz#22702)
|
|
|
|
|
2018-01-11 13:30:08 +00:00
|
|
|
* Thu Jan 11 2018 Florian Weimer <fweimer@redhat.com> - 2.26.9000-39
|
|
|
|
- nptl: Open libgcc.so with RTLD_NOW during pthread_cancel (#1527887)
|
|
|
|
- Introduce libnsl subpackage and remove NIS headers (#1531540)
|
|
|
|
- Use versioned Obsoletes: for libcrypt-nss.
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 08c6e95234c60a5c2f37532d1111acf084f39345:
|
|
|
|
- nptl: Add tst-minstack-cancel, tst-minstack-exit (swbz#22636)
|
|
|
|
- math: ldbl-128ibm log1pl (-qNaN) spurious "invalid" exception (swbz#22693)
|
|
|
|
|
2018-01-10 07:59:17 +00:00
|
|
|
* Wed Jan 10 2018 Florian Weimer <fweimer@redhat.com> - 2.26.9000-38
|
|
|
|
- nptl: Fix stack guard size accounting (#1527887)
|
|
|
|
- Remove invalid Obsoletes: on glibc-header provides
|
|
|
|
- Require python3 instead of python during builds
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 09085ede12fb9650f286bdcd805609ae69f80618:
|
|
|
|
- math: ldbl-128ibm lrintl/lroundl missing "invalid" exceptions (swbz#22690)
|
|
|
|
- x86-64: Add sincosf with vector FMA
|
|
|
|
|
2018-01-08 15:46:16 +00:00
|
|
|
* Mon Jan 8 2018 Florian Weimer <fweimer@redhat.com> - 2.26.9000-37
|
|
|
|
- Add glibc-rpcgen subpackage, until the replacement is packaged (#1531540)
|
|
|
|
|
2018-01-08 14:15:05 +00:00
|
|
|
* Mon Jan 08 2018 Florian Weimer <fweimer@redhat.com> - 2.26.9000-36
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 579396ee082565ab5f42ff166a264891223b7b82:
|
|
|
|
- nptl: Add test for callee-saved register restore in pthread_exit
|
|
|
|
- getrlimit64: fix for 32-bit configurations with default version >= 2.2
|
|
|
|
- elf: Add linux-4.15 VDSO hash for RISC-V
|
|
|
|
- elf: Add RISC-V dynamic relocations to elf.h
|
|
|
|
- powerpc: Fix error message during relocation overflow
|
|
|
|
- prlimit: Replace old_rlimit RLIM64_INFINITY with RLIM_INFINITY (swbz#22678)
|
|
|
|
|
2018-01-05 13:36:28 +00:00
|
|
|
* Fri Jan 05 2018 Florian Weimer <fweimer@redhat.com> - 2.26.9000-35
|
|
|
|
- Remove sln (#1531546)
|
|
|
|
- Remove Sun RPC interfaces (#1531540)
|
|
|
|
- Rebuild with newer GCC to fix pthread_exit stack unwinding issue (#1529549)
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit f1a844ac6389ea4e111afc019323ca982b5b027d:
|
|
|
|
- CVE-2017-16997: elf: Check for empty tokens before DST expansion (#1526866)
|
|
|
|
- i386: In makecontext, align the stack before calling exit (swbz#22667)
|
|
|
|
- x86, armhfp: sync sys/ptrace.h with Linux 4.15 (swbz#22433)
|
|
|
|
- elf: check for rpath emptiness before making a copy of it
|
|
|
|
- elf: remove redundant is_path argument
|
|
|
|
- elf: remove redundant code from is_dst
|
|
|
|
- elf: remove redundant code from _dl_dst_substitute
|
|
|
|
- scandir: fix wrong assumption about errno (swbz#17804)
|
|
|
|
- Deprecate external use of libio.h and _G_config.h
|
|
|
|
|
2017-12-22 15:13:39 +00:00
|
|
|
* Fri Dec 22 2017 Florian Weimer <fweimer@redhat.com> - 2.26.9000-34
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit bad7a0c81f501fbbcc79af9eaa4b8254441c4a1f:
|
|
|
|
- copy_file_range: New function to copy file data
|
|
|
|
- nptl: Consolidate pthread_{timed,try}join{_np}
|
|
|
|
- nptl: Implement pthread_self in libc.so (swbz#22635)
|
|
|
|
- math: Provide a C++ version of iseqsig (swbz#22377)
|
|
|
|
- elf: remove redundant __libc_enable_secure check from fillin_rpath
|
|
|
|
- math: Avoid signed shift overflow in pow (swbz#21309)
|
|
|
|
- x86: Add feature_1 to tcbhead_t (swbz#22563)
|
|
|
|
- x86: Update cancel_jmp_buf to match __jmp_buf_tag (swbz#22563)
|
|
|
|
- ld.so: Examine GLRO to detect inactive loader (swbz#20204)
|
|
|
|
- nscd: Fix nscd readlink argument aliasing (swbz#22446)
|
|
|
|
- elf: do not substitute dst in $LD_LIBRARY_PATH twice (swbz#22627)
|
|
|
|
- ldconfig: set LC_COLLATE to C (swbz#22505)
|
|
|
|
- math: New generic sincosf
|
|
|
|
- powerpc: st{r,p}cpy optimization for aligned strings
|
|
|
|
- CVE-2017-1000409: Count in expanded path in _dl_init_path (#1524867)
|
|
|
|
- CVE-2017-1000408: Compute correct array size in _dl_init_paths (#1524867)
|
|
|
|
- x86-64: Remove sysdeps/x86_64/fpu/s_cosf.S
|
|
|
|
- aarch64: Improve strcmp unaligned performance
|
|
|
|
|
2017-12-13 15:26:51 +00:00
|
|
|
* Wed Dec 13 2017 Florian Weimer <fweimer@redhat.com> - 2.26.9000-33
|
|
|
|
- Remove power6 platform directory (#1522675)
|
|
|
|
|
2017-12-13 10:58:20 +00:00
|
|
|
* Wed Dec 13 2017 Florian Weimer <fweimer@redhat.com> - 2.26.9000-32
|
2017-12-13 11:49:24 +00:00
|
|
|
- Obsolete the libcrypt-nss subpackage (#1525396)
|
2017-12-13 11:03:19 +00:00
|
|
|
- armhfp: Disable -fstack-clash-protection due to GCC bug (#1522678)
|
2017-12-13 11:00:28 +00:00
|
|
|
- ppc64: Disable power6 multilib due to GCC bug (#1522675)
|
2017-12-13 10:58:20 +00:00
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 243b63337c2c02f30ec3a988ecc44bc0f6ffa0ad:
|
|
|
|
- libio: Free backup area when it not required (swbz#22415)
|
|
|
|
- math: Fix nextafter and nexttoward declaration (swbz#22593)
|
|
|
|
- math: New generic cosf
|
|
|
|
- powerpc: POWER8 memcpy optimization for cached memory
|
|
|
|
- x86-64: Add sinf with FMA
|
|
|
|
- x86-64: Remove sysdeps/x86_64/fpu/s_sinf.S
|
|
|
|
- math: Fix ctanh (0 + i NaN), ctanh (0 + i Inf) (swbz#22568)
|
|
|
|
- lt_LT locale: Base collation on copy "iso14651_t1" (swbz#22524)
|
|
|
|
- math: Add _Float32 function aliases
|
|
|
|
- math: Make cacosh (0 + iNaN) return NaN + i pi/2 (swbz#22561)
|
|
|
|
- hsb_DE locale: Base collation on copy "iso14651_t1" (swbz#22515)
|
|
|
|
|
2017-12-06 06:55:19 +00:00
|
|
|
* Wed Dec 06 2017 Florian Weimer <fweimer@redhat.com> - 2.26.9000-31
|
2017-12-06 10:16:02 +00:00
|
|
|
- Add elision tunables. Drop related configure flag. (#1383986)
|
2017-12-06 06:55:19 +00:00
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 37ac8e635a29810318f6d79902102e2e96b2b5bf:
|
|
|
|
- Linux: Implement interfaces for memory protection keys
|
|
|
|
- math: Add _Float64, _Float32x function aliases
|
|
|
|
- math: Use sign as double for reduced case in sinf
|
|
|
|
- math: fix sinf(NAN)
|
|
|
|
- math: s_sinf.c: Replace floor with simple casts
|
|
|
|
- et_EE locale: Base collation on iso14651_t1 (swbz#22517)
|
|
|
|
- tr_TR locale: Base collation on iso14651_t1 (swbz#22527)
|
|
|
|
- hr_HR locale: Avoid single code points for digraphs in LC_TIME (swbz#10580)
|
|
|
|
- S390: Fix backtrace in vdso functions
|
|
|
|
|
2017-12-04 12:59:23 +00:00
|
|
|
* Mon Dec 04 2017 Florian Weimer <fweimer@redhat.com> - 2.26.9000-30
|
|
|
|
- Add build dependency on bison
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 7863a7118112fe502e8020a0db0fa74fef281f29:
|
|
|
|
- math: New generic sinf (swbz#5997)
|
|
|
|
- is_IS locale: Base collation on iso14651_t1 (swbz#22519)
|
|
|
|
- intl: Improve reproducibility by using bison (swbz#22432)
|
|
|
|
- sr_RS, bs_BA locales: make collation rules the same as for hr_HR (wbz#22534)
|
|
|
|
- hr_HR locale: various updates (swbz#10580)
|
|
|
|
- x86: Make a space in jmpbuf for shadow stack pointer
|
2017-12-06 06:49:51 +00:00
|
|
|
- CVE-2017-17426: malloc: Fix integer overflow in tcache (swbz#22375)
|
2017-12-04 12:59:23 +00:00
|
|
|
- locale: make forward accent sorting the default in collating (swbz#17750)
|
|
|
|
|
2017-11-29 10:58:53 +00:00
|
|
|
* Wed Nov 29 2017 Florian Weimer <fweimer@redhat.com> - 2.26.9000-29
|
2017-11-29 11:59:25 +00:00
|
|
|
- Enable -fstack-clash-protection (#1512531)
|
2017-11-29 10:58:53 +00:00
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit a55430cb0e261834ce7a4e118dd9e0f2b7fb14bc:
|
|
|
|
- elf: Properly compute offsets of note descriptor and next note (swbz#22370)
|
|
|
|
- cs_CZ locale: Base collation on iso14651_t1 (swbz#22336)
|
|
|
|
- Implement the mlock2 function
|
|
|
|
- Add _Float64x function aliases
|
|
|
|
- elf: Consolidate link map sorting
|
|
|
|
- pl_PL locale: Base collation on iso14651_t1 (swbz#22469)
|
|
|
|
- nss: Export nscd hash function as __nss_hash (swbz#22459)
|
|
|
|
|
2017-11-23 10:28:28 +00:00
|
|
|
* Thu Nov 23 2017 Florian Weimer <fweimer@redhat.com> - 2.26.9000-28
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit cccb6d4e87053ed63c74aee063fa84eb63ebf7b8:
|
|
|
|
- sigwait can fail with EINTR (#1516394)
|
|
|
|
- Add memfd_create function
|
|
|
|
- resolv: Fix p_secstodate overflow handling (swbz#22463)
|
|
|
|
- resolv: Obsolete p_secstodate
|
|
|
|
- Avoid use of strlen in getlogin_r (swbz#22447)
|
|
|
|
- lv_LV locale: fix collation (swbz#15537)
|
|
|
|
- S390: Add cfi information for start routines in order to stop unwinding
|
|
|
|
- aarch64: Optimized memset for falkor
|
|
|
|
|
2017-11-19 09:56:29 +00:00
|
|
|
* Sun Nov 19 2017 Florian Weimer <fweimer@redhat.com> - 2.26.9000-27
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit f6e965ee94b37289f64ecd3253021541f7c214c3:
|
|
|
|
- powerpc: AT_HWCAP2 bit PPC_FEATURE2_HTM_NO_SUSPEND
|
|
|
|
- aarch64: Add HWCAP_DCPOP bit
|
|
|
|
- ttyname, ttyname_r: Don't bail prematurely (swbz#22145)
|
|
|
|
- signal: Optimize sigrelse implementation
|
|
|
|
- inet: Check length of ifname in if_nametoindex (swbz#22442)
|
|
|
|
- malloc: Account for all heaps in an arena in malloc_info (swbz#22439)
|
|
|
|
- malloc: Add missing arena lock in malloc_info (swbz#22408)
|
|
|
|
- malloc: Use __builtin_tgmath in tgmath.h with GCC 8 (swbz#21660)
|
|
|
|
- locale: Replaced unicode sequences in the ASCII printable range
|
|
|
|
- resolv: More precise checks in res_hnok, res_dnok (swbz#22409, swbz#22412)
|
|
|
|
- resolv: ns_name_pton should report trailing \ as error (swbz#22413)
|
|
|
|
- locale: mfe_MU, miq_NI, an_ES, kab_DZ, om_ET: Escape / in d_fmt (swbz#22403)
|
|
|
|
|
2017-11-07 11:05:14 +00:00
|
|
|
* Tue Nov 07 2017 Florian Weimer <fweimer@redhat.com> - 2.26.9000-26
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 6b86036452b9ac47b4ee7789a50f2f37df7ecc4f:
|
|
|
|
- CVE-2017-15804: glob: Fix buffer overflow during GLOB_TILDE unescaping
|
|
|
|
- powerpc: Use latest string function optimization for internal function calls
|
|
|
|
- math: No _Float128 support for ppc64le -mlong-double-64 (swbz#22402)
|
|
|
|
- tpi_PG locale: Fix wrong d_fmt
|
|
|
|
- aarch64: Disable lazy symbol binding of TLSDESC
|
|
|
|
- tpi_PG locale: fix syntax error (swbz#22382)
|
|
|
|
- i586: Use conditional branches in strcpy.S (swbz#22353)
|
|
|
|
- ffsl, ffsll: Declare under __USE_MISC, not just __USE_GNU
|
|
|
|
- csb_PL locale: Fix abmon/mon for March (swbz#19485)
|
|
|
|
- locale: Various yesstr/nostr/yesexpr/noexpr fixes (swbz#15260, swbz#15261)
|
|
|
|
- localedef: Add --no-warnings/--warnings option
|
|
|
|
- powerpc: Replace lxvd2x/stxvd2x with lvx/stvx in P7's memcpy/memmove
|
|
|
|
- locale: Use ASCII as much as possible in LC_MESSAGES
|
|
|
|
- Add new locale yuw_PG (swbz#20952)
|
|
|
|
- malloc: Add single-threaded path to malloc/realloc/calloc/memalloc
|
|
|
|
- i386: Replace assembly versions of e_powf with generic e_powf.c
|
|
|
|
- i386: Replace assembly versions of e_log2f with generic e_log2f.c
|
|
|
|
- x86-64: Add powf with FMA
|
|
|
|
- x86-64: Add logf with FMA
|
|
|
|
- i386: Replace assembly versions of e_logf with generic e_logf.c
|
|
|
|
- i386: Replace assembly versions of e_exp2f with generic e_exp2f.c
|
|
|
|
- x86-64: Add exp2f with FMA
|
|
|
|
- i386: Replace assembly versions of e_expf with generic e_expf.c
|
|
|
|
|
2017-10-21 12:17:30 +00:00
|
|
|
* Sat Oct 21 2017 Florian Weimer <fweimer@redhat.com> - 2.26.9000-25
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 797ba44ba27521261f94cc521f1c2ca74f650147:
|
|
|
|
- math: Add bits/floatn.h defines for more _FloatN / _FloatNx types
|
|
|
|
- posix: Fix improper assert in Linux posix_spawn (swbz#22273)
|
|
|
|
- x86-64: Use fxsave/xsave/xsavec in _dl_runtime_resolve (swbz#21265)
|
|
|
|
- CVE-2017-15670: glob: Fix one-byte overflow (#1504807)
|
|
|
|
- malloc: Add single-threaded path to _int_free
|
|
|
|
- locale: Add new locale kab_DZ (swbz#18812)
|
|
|
|
- locale: Add new locale shn_MM (swbz#13605)
|
|
|
|
|
2017-10-20 02:33:52 +00:00
|
|
|
* Fri Oct 20 2017 Florian Weimer <fweimer@redhat.com> - 2.26.9000-24
|
|
|
|
- Use make -O to serialize make output
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 63b4baa44e8d22501c433c4093aa3310f91b6aa2:
|
|
|
|
- sysconf: Fix missing definition of UIO_MAXIOV on Linux (#1504165)
|
|
|
|
- Install correct bits/long-double.h for MIPS64 (swbz#22322)
|
|
|
|
- malloc: Fix deadlock in _int_free consistency check
|
|
|
|
- x86-64: Don't set GLRO(dl_platform) to NULL (swbz#22299)
|
|
|
|
- math: Add _Float128 function aliases
|
|
|
|
- locale: Add new locale mjw_IN (swbz#13994)
|
|
|
|
- aarch64: Rewrite elf_machine_load_address using _DYNAMIC symbol
|
|
|
|
- powerpc: fix check-before-set in SET_RESTORE_ROUND
|
|
|
|
- locale: Use U+202F as thousands separators in pl_PL locale (swbz#16777)
|
|
|
|
- math: Use __f128 to define FLT128_* constants in include/float.h for old GCC
|
|
|
|
- malloc: Improve malloc initialization sequence (swbz#22159)
|
|
|
|
- malloc: Use relaxed atomics for malloc have_fastchunks
|
|
|
|
- locale: New locale ca_ES@valencia (swbz#2522)
|
|
|
|
- math: Let signbit use the builtin in C++ mode with gcc < 6.x (swbz#22296)
|
|
|
|
- locale: Place monetary symbol in el_GR, el_CY after the amount (swbz#22019)
|
|
|
|
|
2017-10-17 10:47:02 +00:00
|
|
|
* Tue Oct 17 2017 Florian Weimer <fweimer@redhat.com> - 2.26.9000-23
|
2017-10-17 10:12:39 +00:00
|
|
|
- Switch to .9000 version numbers during development
|
2017-10-17 10:47:02 +00:00
|
|
|
|
|
|
|
* Tue Oct 17 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-22
|
2017-10-17 10:12:39 +00:00
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit c38a4bfd596db2be2b9c1f96715bdc833eab760a:
|
|
|
|
- malloc: Use compat_symbol_reference in libmcheck (swbz#22050)
|
|
|
|
|
2017-10-16 17:27:17 +00:00
|
|
|
* Mon Oct 16 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-21
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 596f70134a8f11967c65c1d55a94a3a2718c731d:
|
|
|
|
- Silence -O3 -Wall warning in malloc/hooks.c with GCC 7 (swbz#22052)
|
|
|
|
- locale: No warning for non-symbolic character (swbz#22295)
|
|
|
|
- locale: Allow "" int_curr_Symbol (swbz#22294)
|
|
|
|
- locale: Fix localedef exit code (swbz#22292)
|
|
|
|
- nptl: Preserve error in setxid thread broadcast in coredumps (swbz#22153)
|
|
|
|
- powerpc: Avoid putting floating point values in memory (swbz#22189)
|
|
|
|
- powerpc: Fix the carry bit on mpn_[add|sub]_n on POWER7 (swbz#22142)
|
|
|
|
- Support profiling PIE (swbz#22284)
|
|
|
|
|
2017-10-11 05:19:54 +00:00
|
|
|
* Wed Oct 11 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-20
|
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit d8425e116cdd954fea0c04c0f406179b5daebbb3:
|
|
|
|
- nss_files performance issue in multi mode (swbz#22078)
|
|
|
|
- Ensure C99 and C11 interfaces are available for C++ (swbz#21326)
|
|
|
|
|
2017-10-09 10:07:51 +00:00
|
|
|
* Mon Oct 09 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-19
|
2017-10-09 10:24:43 +00:00
|
|
|
- Move /var/db/Makefile to nss_db (#1498900)
|
2017-10-09 10:07:51 +00:00
|
|
|
- Auto-sync with upstream branch master,
|
|
|
|
commit 645ac9aaf89e3311949828546df6334322f48933:
|
|
|
|
- openpty: use TIOCGPTPEER to open slave side fd
|
|
|
|
|
2017-10-06 22:47:43 +00:00
|
|
|
* Fri Oct 06 2017 Carlos O'Donell <carlos@systemhalted.org> - 2.26.90-18
|
|
|
|
- Auto-sync with upstream master,
|
|
|
|
commit 1e26d35193efbb29239c710a4c46a64708643320.
|
|
|
|
- malloc: Fix tcache leak after thread destruction (swbz#22111)
|
|
|
|
- powerpc: Fix IFUNC for memrchr.
|
|
|
|
- aarch64: Optimized implementation of memmove for Qualcomm Falkor
|
|
|
|
- Always do locking when iterating over list of streams (swbz#15142)
|
|
|
|
- abort: Do not flush stdio streams (swbz#15436)
|
|
|
|
|
2017-10-04 14:01:19 +00:00
|
|
|
* Wed Oct 04 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-17
|
2017-10-04 16:53:59 +00:00
|
|
|
- Move nss_compat to the main glibc package (#1400538)
|
2017-10-04 14:01:19 +00:00
|
|
|
- Auto-sync with upstream master,
|
|
|
|
commit 11c4f5010c58029e73e656d5df4f8f42c9b8e877:
|
|
|
|
- crypt: Use NSPR header files in addition to NSS header files (#1489339)
|
|
|
|
- math: Fix yn(n,0) without SVID wrapper (swbz#22244)
|
|
|
|
- math: Fix log2(0) and log(10) in downward rounding (swbz#22243)
|
|
|
|
- math: Add C++ versions of iscanonical for ldbl-96, ldbl-128ibm (swbz#22235)
|
|
|
|
- powerpc: Optimize memrchr for power8
|
|
|
|
- Hide various internal functions (swbz#18822)
|
|
|
|
|
2017-09-30 07:04:21 +00:00
|
|
|
* Sat Sep 30 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-16
|
|
|
|
- Auto-sync with upstream master,
|
|
|
|
commit 1e2bffd05c36a9be30d7092d6593a9e9aa009ada:
|
|
|
|
- Add IBM858 charset (#1416405)
|
|
|
|
- Update kernel version in syscall-names.list to 4.13
|
|
|
|
- Add Linux 4.13 constants to bits/fcntl-linux.h
|
|
|
|
- Add fcntl sealing interfaces from Linux 3.17 to bits/fcntl-linux.h
|
|
|
|
- math: New generic powf, log2f, logf
|
|
|
|
- Fix nearbyint arithmetic moved before feholdexcept (swbz#22225)
|
|
|
|
- Mark __dso_handle as hidden (swbz#18822)
|
|
|
|
- Skip PT_DYNAMIC segment with p_filesz == 0 (swbz#22101)
|
|
|
|
- glob now matches dangling symbolic links (swbz#866, swbz#22183)
|
|
|
|
- nscd: Release read lock after resetting timeout (swbz#22161)
|
2017-10-01 15:52:10 +00:00
|
|
|
- Avoid __MATH_TG in C++ mode with -Os for fpclassify (swbz#22146)
|
2017-09-30 07:04:21 +00:00
|
|
|
- Fix dlclose/exit race (swbz#22180)
|
|
|
|
- x86: Add SSE4.1 trunc, truncf (swbz#20142)
|
|
|
|
- Fix atexit/exit race (swbz#14333)
|
|
|
|
- Use execveat syscall in fexecve (swbz#22134)
|
|
|
|
- Enable unwind info in libc-start.c and backtrace.c
|
|
|
|
- powerpc: Avoid misaligned stores in memset
|
|
|
|
- powerpc: build some IFUNC math functions for libc and libm (swbz#21745)
|
|
|
|
- Removed redundant data (LC_TIME and LC_MESSAGES) for niu_NZ (swbz#22023)
|
|
|
|
- Fix LC_TELEPHONE for az_AZ (swbz#22112)
|
|
|
|
- x86: Add MathVec_Prefer_No_AVX512 to cpu-features (swbz#21967)
|
|
|
|
- x86: Add x86_64 to x86-64 HWCAP (swbz#22093)
|
|
|
|
- Finish change from “Bengali” to “Bangla” (swbz#14925)
|
|
|
|
- posix: fix glob bugs with long login names (swbz#1062)
|
|
|
|
- posix: Fix getpwnam_r usage (swbz#1062)
|
|
|
|
- posix: accept inode 0 is a valid inode number (swbz#19971)
|
|
|
|
- Remove redundant LC_TIME data in om_KE (swbz#22100)
|
|
|
|
- Remove remaining _HAVE_STRING_ARCH_* definitions (swbz#18858)
|
|
|
|
- resolv: Fix memory leak with OOM during resolv.conf parsing (swbz#22095)
|
|
|
|
- Add miq_NI locale for Miskito (swbz#20498)
|
|
|
|
- Fix bits/math-finite.h exp10 condition (swbz#22082)
|
|
|
|
|
2017-09-04 17:46:44 +00:00
|
|
|
* Mon Sep 04 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-15
|
|
|
|
- Auto-sync with upstream master,
|
|
|
|
commit b38042f51430974642616a60afbbf96fd0b98659:
|
|
|
|
- Implement tmpfile with O_TMPFILE (swbz#21530)
|
|
|
|
- Obsolete pow10 functions
|
|
|
|
- math.h: Warn about an already-defined log macro
|
|
|
|
|
2017-09-01 08:30:18 +00:00
|
|
|
* Fri Sep 01 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-14
|
2017-09-01 12:07:30 +00:00
|
|
|
- Build glibc with -O2 (following the upstream default).
|
2017-09-01 08:30:18 +00:00
|
|
|
- Auto-sync with upstream master,
|
|
|
|
commit f4a6be2582b8dfe8adfa68da3dd8decf566b3983:
|
|
|
|
- malloc: Abort on heap corruption, without a backtrace (swbz#21754)
|
|
|
|
- getaddrinfo: Return EAI_NODATA for gethostbyname2_r with NO_DATA (swbz#21922)
|
|
|
|
- getaddrinfo: Fix error handling in gethosts (swbz#21915) (swbz#21922)
|
|
|
|
- Place $(elf-objpfx)sofini.os last (swbz#22051)
|
|
|
|
- Various locale fixes (swbz#15332, swbz#22044)
|
|
|
|
|
2017-08-30 12:12:45 +00:00
|
|
|
* Wed Aug 30 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-13
|
|
|
|
- Drop glibc-rh952799.patch, applied upstream (#952799, swbz#22025)
|
|
|
|
- Auto-sync with upstream master,
|
|
|
|
commit 5f9409b787c5758fc277f8d1baf7478b752b775d:
|
|
|
|
- Various locale fixes (swbz#22022, swbz#22038, swbz#21951, swbz#13805,
|
|
|
|
swbz#21971, swbz#21959)
|
|
|
|
- MIPS/o32: Fix internal_syscall5/6/7 (swbz#21956)
|
|
|
|
- AArch64: Fix procfs.h not to expose stdint.h types
|
|
|
|
- iconv_open: Fix heap corruption on gconv_init failure (swbz#22026)
|
|
|
|
- iconv: Mangle __btowc_fct even without __init_fct (swbz#22025)
|
|
|
|
- Fix bits/math-finite.h _MSUF_ expansion namespace (swbz#22028)
|
|
|
|
- Provide a C++ version of iszero that does not use __MATH_TG (swbz#21930)
|
|
|
|
|
2017-08-28 10:12:15 +00:00
|
|
|
* Mon Aug 28 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-12
|
|
|
|
- Auto-sync with upstream master,
|
|
|
|
commit 2dba5ce7b8115d6a2789bf279892263621088e74.
|
|
|
|
|
2017-08-25 09:39:53 +00:00
|
|
|
* Fri Aug 25 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-11
|
|
|
|
- Auto-sync with upstream master,
|
|
|
|
commit 3d7b66f66cb223e899a7ebc0f4c20f13e711c9e0:
|
|
|
|
- string/stratcliff.c: Replace int with size_t (swbz#21982)
|
|
|
|
- Fix tgmath.h handling of complex integers (swbz#21684)
|
|
|
|
|
2017-08-24 14:49:18 +00:00
|
|
|
* Thu Aug 24 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-10
|
|
|
|
- Use an architecture-independent system call list (#1484729)
|
2017-08-24 14:51:08 +00:00
|
|
|
- Drop glibc-fedora-include-bits-ldbl.patch (#1482105)
|
2017-08-24 14:49:18 +00:00
|
|
|
|
2017-08-22 06:19:09 +00:00
|
|
|
* Tue Aug 22 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-9
|
|
|
|
- Auto-sync with upstream master,
|
|
|
|
commit 80f91666fed71fa3dd5eb5618739147cc731bc89.
|
|
|
|
|
2017-08-21 20:14:52 +00:00
|
|
|
* Mon Aug 21 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-8
|
|
|
|
- Auto-sync with upstream master,
|
|
|
|
commit a8410a5fc9305c316633a5a3033f3927b759be35:
|
|
|
|
- Obsolete matherr, _LIB_VERSION, libieee.a.
|
|
|
|
|
2017-08-21 17:54:40 +00:00
|
|
|
* Mon Aug 21 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-7
|
|
|
|
- Auto-sync with upstream master,
|
|
|
|
commit 4504783c0f65b7074204c6126c6255ed89d6594e.
|
|
|
|
|
2017-08-21 14:44:07 +00:00
|
|
|
* Mon Aug 21 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-6
|
|
|
|
- Auto-sync with upstream master,
|
|
|
|
commit b5889d25e9bf944a89fdd7bcabf3b6c6f6bb6f7c:
|
|
|
|
- assert: Support types without operator== (int) (#1483005)
|
|
|
|
|
2017-08-21 12:12:09 +00:00
|
|
|
* Mon Aug 21 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-5
|
|
|
|
- Auto-sync with upstream master,
|
|
|
|
commit 2585d7b839559e665d5723734862fbe62264b25d:
|
|
|
|
- Do not use generic selection in C++ mode
|
|
|
|
- Do not use __builtin_types_compatible_p in C++ mode (#1481205)
|
|
|
|
- x86-64: Check FMA_Usable in ifunc-mathvec-avx2.h (swbz#21966)
|
|
|
|
- Various locale fixes (swbz#21750, swbz#21960, swbz#21959, swbz#19852)
|
|
|
|
- Fix sigval namespace (swbz#21944)
|
|
|
|
- x86-64: Optimize e_expf with FMA (swbz#21912)
|
|
|
|
- Adjust glibc-rh827510.patch.
|
|
|
|
|
2017-08-17 18:14:18 +00:00
|
|
|
* Wed Aug 16 2017 Tomasz Kłoczko <kloczek@fedoraproject.org> - 2.26-4
|
2017-08-17 18:17:47 +00:00
|
|
|
- Remove 'Buildroot' tag, 'Group' tag, and '%%clean' section, and don't
|
|
|
|
remove the buildroot in '%%install', all per Fedora Packaging Guidelines
|
2017-08-17 18:14:18 +00:00
|
|
|
(#1476839)
|
|
|
|
|
Auto-sync with upstream master
Upstream commit: 403143e1df85dadd374f304bd891be0cd7573e3b
- x86-64: Align L(SP_RANGE)/L(SP_INF_0) to 8 bytes (swbz#21955)
- powerpc: Add values from Linux 4.8 to <elf.h>
- S390: Add new s390 platform z14.
- Various locale fixes (swbz#14925, swbz#20008, swbz#20482, swbz#12349
swbz#19982, swbz#20756, swbz#20756, swbz#21836, swbz#17563, swbz#16905,
swbz#21920, swbz#21854)
- NSS: Replace exported NSS lookup functions with stubs (swbz#21962)
- i386: Do not set internal_function
- assert: Suppress pedantic warning caused by statement expression (swbz#21242)
- powerpc: Restrict xssqrtqp operands to Vector Registers (swbz#21941)
- sys/ptrace.h: remove obsolete PTRACE_SEIZE_DEVEL constant (swbz#21928)
- Remove __qaddr_t, __long_double_t
- Fix uc_* namespace (swbz#21457)
- nss: Call __resolv_context_put before early return in get*_r (swbz#21932)
- aarch64: Optimized memcpy for Qualcomm Falkor processor
- manual: Document getcontext uc_stack value on Linux (swbz#759)
- i386: Add <startup.h> (swbz#21913)
- Don't use IFUNC resolver for longjmp or system in libpthread (swbz#21041)
- Fix XPG4.2 bits/sigaction.h namespace (swbz#21899)
- x86-64: Add FMA multiarch functions to libm
- i386: Support static PIE in start.S
- Compile tst-prelink.c without PIE (swbz#21815)
- x86-64: Use _dl_runtime_resolve_opt only with AVX512F (swbz#21871)
- x86: Remove __memset_zero_constant_len_parameter (swbz#21790)
2017-08-16 15:18:35 +00:00
|
|
|
* Wed Aug 16 2017 Florian Weimer <fweimer@redhat.com> - 2.26.90-3
|
|
|
|
- Auto-sync with upstream master,
|
|
|
|
commit 403143e1df85dadd374f304bd891be0cd7573e3b:
|
|
|
|
- x86-64: Align L(SP_RANGE)/L(SP_INF_0) to 8 bytes (swbz#21955)
|
|
|
|
- powerpc: Add values from Linux 4.8 to <elf.h>
|
|
|
|
- S390: Add new s390 platform z14.
|
|
|
|
- Various locale fixes (swbz#14925, swbz#20008, swbz#20482, swbz#12349
|
|
|
|
swbz#19982, swbz#20756, swbz#20756, swbz#21836, swbz#17563, swbz#16905,
|
|
|
|
swbz#21920, swbz#21854)
|
|
|
|
- NSS: Replace exported NSS lookup functions with stubs (swbz#21962)
|
|
|
|
- i386: Do not set internal_function
|
|
|
|
- assert: Suppress pedantic warning caused by statement expression (swbz#21242)
|
|
|
|
- powerpc: Restrict xssqrtqp operands to Vector Registers (swbz#21941)
|
|
|
|
- sys/ptrace.h: remove obsolete PTRACE_SEIZE_DEVEL constant (swbz#21928)
|
|
|
|
- Remove __qaddr_t, __long_double_t
|
|
|
|
- Fix uc_* namespace (swbz#21457)
|
|
|
|
- nss: Call __resolv_context_put before early return in get*_r (swbz#21932)
|
|
|
|
- aarch64: Optimized memcpy for Qualcomm Falkor processor
|
|
|
|
- manual: Document getcontext uc_stack value on Linux (swbz#759)
|
|
|
|
- i386: Add <startup.h> (swbz#21913)
|
|
|
|
- Don't use IFUNC resolver for longjmp or system in libpthread (swbz#21041)
|
|
|
|
- Fix XPG4.2 bits/sigaction.h namespace (swbz#21899)
|
|
|
|
- x86-64: Add FMA multiarch functions to libm
|
|
|
|
- i386: Support static PIE in start.S
|
|
|
|
- Compile tst-prelink.c without PIE (swbz#21815)
|
|
|
|
- x86-64: Use _dl_runtime_resolve_opt only with AVX512F (swbz#21871)
|
|
|
|
- x86: Remove __memset_zero_constant_len_parameter (swbz#21790)
|
|
|
|
|
2017-08-16 11:45:31 +00:00
|
|
|
* Wed Aug 16 2017 Florian Weimer <fweimer@redhat.com> - 2.26-2
|
|
|
|
- Disable multi-arch (IFUNC string functions) on i686 (#1471427)
|
|
|
|
- Remove nosegneg 32-bit Xen PV support libraries (#1482027)
|
|
|
|
- Adjust spec file to RPM changes
|
|
|
|
|
2017-08-03 13:47:24 +00:00
|
|
|
* Thu Aug 03 2017 Carlos O'Donell <carlos@systemhalted.org> - 2.26-1
|
|
|
|
- Update to released glibc 2.26.
|
|
|
|
- Auto-sync with upstream master,
|
|
|
|
commit 2aad4b04ad7b17a2e6b0e66d2cb4bc559376617b.
|
|
|
|
- getaddrinfo: Release resolver context on error in gethosts (swbz#21885)
|