2009-02-20 08:46:43 +01:00
|
|
|
#
|
2024-04-18 17:36:42 +02:00
|
|
|
# spec file for package glibc
|
2009-02-20 08:46:43 +01:00
|
|
|
#
|
2024-01-03 10:37:21 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2009-02-20 08:46:43 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-11-07 15:16:18 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-02-20 08:46:43 +01:00
|
|
|
#
|
|
|
|
|
2011-07-21 08:55:20 +02:00
|
|
|
|
2012-04-17 14:34:50 +02:00
|
|
|
# Run with osc --with=fast_build to have a shorter turnaround
|
2012-12-17 14:15:06 +01:00
|
|
|
# It will avoid building some parts of glibc
|
2012-04-17 14:34:50 +02:00
|
|
|
%bcond_with fast_build
|
2012-04-13 11:37:44 +02:00
|
|
|
|
2022-10-05 14:19:14 +02:00
|
|
|
%bcond_with snapshot
|
2017-12-12 11:41:00 +01:00
|
|
|
%bcond_with ringdisabled
|
2009-02-20 08:46:43 +01:00
|
|
|
|
2017-12-12 11:41:00 +01:00
|
|
|
%define flavor @BUILD_FLAVOR@%{nil}
|
2017-07-17 09:44:06 +02:00
|
|
|
|
2021-08-11 14:09:30 +02:00
|
|
|
# We need to map from flavor to cross-arch, but as we need the
|
|
|
|
# result in BuildRequires where the build service evaluates, we
|
|
|
|
# can use only simple RPM expressions, no lua, no shell, no '{expand:'
|
|
|
|
# expression :-/ Ideally we'd like to just strip the 'cross_' prefix,
|
|
|
|
# but we can't. So enumerate the possibilities for now.
|
2023-08-29 12:52:07 +02:00
|
|
|
%define cross_arch %{cross_cpu}
|
2021-08-11 14:09:30 +02:00
|
|
|
%if "%flavor" == "cross-aarch64"
|
2023-08-29 12:52:07 +02:00
|
|
|
%define cross_cpu aarch64
|
2021-08-11 14:09:30 +02:00
|
|
|
%endif
|
|
|
|
%if "%flavor" == "cross-riscv64"
|
2023-08-29 12:52:07 +02:00
|
|
|
%define cross_cpu riscv64
|
2021-08-11 14:09:30 +02:00
|
|
|
%endif
|
2023-08-22 14:51:19 +02:00
|
|
|
%if "%flavor" == "cross-s390x"
|
2023-08-29 12:52:07 +02:00
|
|
|
%define cross_cpu s390x
|
|
|
|
%endif
|
|
|
|
%if "%flavor" == "cross-ppc64le"
|
|
|
|
%define cross_arch ppc64le
|
|
|
|
%define cross_cpu powerpc64le
|
2023-08-22 14:51:19 +02:00
|
|
|
%endif
|
2021-08-11 14:09:30 +02:00
|
|
|
|
2023-08-29 12:52:07 +02:00
|
|
|
%if 0%{?cross_cpu:1}
|
|
|
|
%define binutils_os %{cross_cpu}-suse-linux
|
2021-08-11 14:09:30 +02:00
|
|
|
# use same sysroot as in binutils.spec
|
|
|
|
%define sysroot %{_prefix}/%{binutils_os}/sys-root
|
|
|
|
%endif
|
|
|
|
|
2023-01-16 13:07:19 +01:00
|
|
|
%if 0%{?suse_version} >= 1550
|
2021-02-18 14:40:31 +01:00
|
|
|
%bcond_without usrmerged
|
|
|
|
%else
|
|
|
|
%bcond_with usrmerged
|
|
|
|
%endif
|
|
|
|
|
2024-01-31 15:16:08 +01:00
|
|
|
%if 0%{?gcc_version} < 13
|
|
|
|
%define with_gcc 13
|
2023-07-11 09:54:23 +02:00
|
|
|
%endif
|
|
|
|
|
2022-01-06 09:51:26 +01:00
|
|
|
# Enable support for livepatching.
|
|
|
|
%ifarch x86_64
|
2023-03-21 15:31:39 +01:00
|
|
|
%bcond_without livepatching
|
2022-01-06 09:51:26 +01:00
|
|
|
%else
|
2023-03-21 15:31:39 +01:00
|
|
|
%bcond_with livepatching
|
2022-01-06 09:51:26 +01:00
|
|
|
%endif
|
|
|
|
|
2018-01-30 16:17:29 +01:00
|
|
|
%bcond_with build_all
|
2017-07-12 15:21:16 +02:00
|
|
|
%define build_main 1
|
2018-01-30 16:17:29 +01:00
|
|
|
%define build_utils %{with build_all}
|
|
|
|
%define build_testsuite %{with build_all}
|
2021-08-11 14:09:30 +02:00
|
|
|
%define build_cross 0
|
2017-07-17 09:44:06 +02:00
|
|
|
%if "%flavor" == "utils"
|
2017-12-12 11:41:00 +01:00
|
|
|
%if %{with ringdisabled}
|
|
|
|
ExclusiveArch: do_not_build
|
|
|
|
%endif
|
2017-07-12 15:21:16 +02:00
|
|
|
%define build_main 0
|
|
|
|
%define build_utils 1
|
|
|
|
%define build_testsuite 0
|
|
|
|
%endif
|
2017-07-17 09:44:06 +02:00
|
|
|
%if "%flavor" == "testsuite"
|
2017-12-12 11:41:00 +01:00
|
|
|
%if %{with ringdisabled}
|
|
|
|
ExclusiveArch: do_not_build
|
|
|
|
%endif
|
2017-07-12 15:21:16 +02:00
|
|
|
%define build_main 0
|
|
|
|
%define build_utils 0
|
|
|
|
%define build_testsuite 1
|
|
|
|
%endif
|
2023-08-29 12:52:07 +02:00
|
|
|
%if 0%{?cross_cpu:1}
|
2021-08-11 14:09:30 +02:00
|
|
|
%define build_main 0
|
|
|
|
%define build_utils 0
|
|
|
|
%define build_testsuite 0
|
|
|
|
%define build_cross 1
|
2021-08-12 10:36:15 +02:00
|
|
|
%undefine _build_create_debug
|
2021-08-11 14:09:30 +02:00
|
|
|
ExcludeArch: %{cross_arch}
|
2023-09-19 16:01:57 +02:00
|
|
|
%if 0%{?suse_version} < 1600
|
|
|
|
ExclusiveArch: do_not_build
|
|
|
|
%endif
|
2021-08-11 14:09:30 +02:00
|
|
|
%endif
|
2023-08-29 12:52:07 +02:00
|
|
|
%define host_arch %{?cross_cpu}%{!?cross_cpu:%{_target_cpu}}
|
2017-05-31 18:11:37 +02:00
|
|
|
|
2021-08-12 10:36:15 +02:00
|
|
|
%if %{build_main}
|
2018-02-26 12:20:11 +01:00
|
|
|
%define name_suffix %{nil}
|
2018-01-30 16:17:29 +01:00
|
|
|
%else
|
2018-02-26 12:20:11 +01:00
|
|
|
%define name_suffix -%{flavor}-src
|
2018-01-30 16:17:29 +01:00
|
|
|
%endif
|
2018-02-26 12:20:11 +01:00
|
|
|
|
2012-12-19 18:04:05 +01:00
|
|
|
%define __filter_GLIBC_PRIVATE 1
|
2014-02-24 15:57:11 +01:00
|
|
|
%ifarch i686
|
2012-12-14 20:35:52 +01:00
|
|
|
# For i686 let's only build what's different from i586, so
|
|
|
|
# no need to build documentation
|
|
|
|
%define build_profile 1
|
|
|
|
%define build_locales 1
|
2012-04-16 22:11:08 +02:00
|
|
|
%define build_html 0
|
|
|
|
%else
|
2021-08-11 14:09:30 +02:00
|
|
|
%if %{with fast_build} || %{build_cross} || %{build_utils} && %{without build_all}
|
2012-04-17 14:34:50 +02:00
|
|
|
%define build_profile 0
|
|
|
|
%define build_locales 0
|
|
|
|
%define build_html 0
|
|
|
|
%else
|
|
|
|
# Default:
|
2012-04-16 22:11:08 +02:00
|
|
|
%define build_profile 1
|
2009-02-20 08:46:43 +01:00
|
|
|
%define build_locales 1
|
2012-04-16 22:11:08 +02:00
|
|
|
%define build_html 1
|
|
|
|
%endif
|
2012-04-17 14:34:50 +02:00
|
|
|
%endif
|
|
|
|
|
2017-07-12 15:21:16 +02:00
|
|
|
%define build_variants %{build_main}
|
2014-07-22 15:22:57 +02:00
|
|
|
|
2009-02-20 08:46:43 +01:00
|
|
|
%define disable_assert 0
|
|
|
|
%define enable_stackguard_randomization 1
|
2017-07-26 17:08:57 +02:00
|
|
|
# glibc requires at least kernel 3.2
|
|
|
|
%define enablekernel 3.2
|
|
|
|
# some architectures need a newer kernel
|
|
|
|
%ifarch ppc64le
|
|
|
|
%define enablekernel 3.10
|
|
|
|
%endif
|
|
|
|
%ifarch aarch64
|
|
|
|
%define enablekernel 3.7
|
|
|
|
%endif
|
|
|
|
%ifarch ia64
|
|
|
|
%define enablekernel 3.2.18
|
|
|
|
%endif
|
Accepting request 572614 from home:Andreas_Schwab:Factory
- Update to glibc 2.27
* Optimized x86-64 asin, atan2, exp, expf, log, pow, atan, sin, cosf,
sinf, sincosf and tan with FMA
* Optimized x86-64 trunc and truncf for processors with SSE4.1
* Optimized generic expf, exp2f, logf, log2f, powf, sinf, cosf and
sincosf
* In order to support faster and safer process termination the malloc API
family of functions will no longer print a failure address and stack
backtrace after detecting heap corruption
* The abort function terminates the process immediately, without flushing
stdio streams
* On platforms where long double has the IEEE binary128 format (aarch64,
alpha, mips64, riscv, s390 and sparc), the math library now implements
_Float128 interfaces for that type, as defined by ISO/IEC TS 18661-3:2015
These are the same interfaces added in version 2.26 for some platforms where
this format is supported but is not the format of long double
* On platforms with support for _Float64x (aarch64, alpha, i386, ia64,
mips64, powerpc64le, riscv, s390, sparc and x86_64), the math library now
implements interfaces for that type, as defined by ISO/IEC TS
18661-3:2015
* The math library now implements interfaces for the _Float32, _Float64 and
_Float32x types, as defined by ISO/IEC TS 18661-3:2015
* glibc now implements the memfd_create and mlock2 functions on Linux
* Support for memory protection keys was added
* The copy_file_range function was added
* The ldconfig utility now processes `include' directives using the C/POSIX
collation ordering
* Support for two grammatical forms of month names has been added
* Support for the RISC-V ISA running on Linux has been added
* Statically compiled applications attempting to load locales compiled for the
OBS-URL: https://build.opensuse.org/request/show/572614
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=491
2018-02-05 11:33:11 +01:00
|
|
|
%ifarch riscv64
|
|
|
|
%define enablekernel 4.15
|
|
|
|
%endif
|
2014-03-20 09:35:51 +01:00
|
|
|
|
Accepting request 992472 from home:Andreas_Schwab:Factory
- Update to glibc 2.36
Major new features:
* Support for DT_RELR relative relocation format has been added to
glibc
* On Linux, the pidfd_open, pidfd_getfd, and pidfd_send_signal functions
have been added
* On Linux, the process_madvise function has been added
* On Linux, the process_mrelease function has been added
* The “no-aaaa” DNS stub resolver option has been added
* On Linux, the fsopen, fsmount, move_mount, fsconfig, fspick, open_tree,
and mount_setattr have been added
* localedef now accepts locale definition files encoded in UTF-8
* Support for the mbrtoc8 and c8rtomb multibyte/UTF-8 character conversion
functions has been added per the ISO C2X N2653 and C++20 P0482R6 proposals
* The functions arc4random, arc4random_buf, and arc4random_uniform have been
added
Deprecated and removed features, and other changes affecting compatibility:
* Support for prelink will be removed in the next release
* The Linux kernel version check has been removed along with the
LD_ASSUME_KERNEL environment variable
* On Linux, The LD_LIBRARY_VERSION environment variable has been removed
- get-nprocs-sched-uninit-read.patch, get-nprocs-inaccurate.patch,
strcmp-rtm-fallback.path, pt-load-invalid-hole.patch,
localedef-ld-monetary.patch, nptl-spurious-eintr.patch,
strncpy-power9-vsx.patch, nptl-cleanup-async-restore.patch,
read-chk-cancel.patch, wcrtomb-fortify.patch,
nptl-cleanup-async-restore-2.patch: Removed
OBS-URL: https://build.opensuse.org/request/show/992472
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=623
2022-08-03 10:11:26 +02:00
|
|
|
Name: glibc%{name_suffix}
|
|
|
|
Summary: Standard Shared Libraries (from the GNU C Library)
|
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0
|
|
|
|
Group: System/Libraries
|
Accepting request 1143408 from home:Andreas_Schwab:Factory
- Update to glibc 2.39
* A new tunable, glibc.cpu.plt_rewrite, can be used to enable PLT
rewrite on x86-64
* Sync with Linux kernel 6.6 shadow stack interface
* struct statvfs now has an f_type member, equal to the f_type statfs
member
* On Linux, the functions posix_spawnattr_getcgroup_np and
posix_spawnattr_setcgroup_np have been added, along with the
POSIX_SPAWN_SETCGROUP flag
* On Linux, the pidfd_spawn and pidfd_spawp functions have been added
* On Linux, the pidfd_getpid function has been added
* scanf-family functions now support the wN format length modifiers for
arguments pointing to types intN_t, int_leastN_t, uintN_t or
uint_leastN_t
* A new tunable, glibc.mem.decorate_maps, can be used to add additional
information on underlying memory allocated by the glibc
* The <stdbit.h> header has been added from ISO C2X
* On AArch64 new symbols were added to libmvec
* The ldconfig program now skips file names containing ';' or ending in
".dpkg.tmp" or ".dpkg.new"
* The dynamic linker calls the malloc and free functions in more cases
during TLS access if a shared object with dynamic TLS is loaded and
unloaded
- aarch64-rawmemchr-unwind.patch, cache-amd-legacy.patch,
cache-intel-shared.patch, call-init-proxy-objects.patch,
fstat-implementation.patch, gb18030-2022.patch,
getaddrinfo-eai-memory.patch, getaddrinfo-memory-leak.patch,
getcanonname-use-after-free.patch, iconv-error-verbosity.patch,
intl-c-utf-8-like-c-locale.patch, ldconfig-process-elf-file.patch,
libio-io-vtables.patch, libio-wdo-write.patch,
OBS-URL: https://build.opensuse.org/request/show/1143408
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=692
2024-02-01 15:30:28 +01:00
|
|
|
Version: 2.39
|
2012-01-31 10:40:30 +01:00
|
|
|
Release: 0
|
2022-10-27 10:13:00 +02:00
|
|
|
%if %{without snapshot}
|
Accepting request 1143408 from home:Andreas_Schwab:Factory
- Update to glibc 2.39
* A new tunable, glibc.cpu.plt_rewrite, can be used to enable PLT
rewrite on x86-64
* Sync with Linux kernel 6.6 shadow stack interface
* struct statvfs now has an f_type member, equal to the f_type statfs
member
* On Linux, the functions posix_spawnattr_getcgroup_np and
posix_spawnattr_setcgroup_np have been added, along with the
POSIX_SPAWN_SETCGROUP flag
* On Linux, the pidfd_spawn and pidfd_spawp functions have been added
* On Linux, the pidfd_getpid function has been added
* scanf-family functions now support the wN format length modifiers for
arguments pointing to types intN_t, int_leastN_t, uintN_t or
uint_leastN_t
* A new tunable, glibc.mem.decorate_maps, can be used to add additional
information on underlying memory allocated by the glibc
* The <stdbit.h> header has been added from ISO C2X
* On AArch64 new symbols were added to libmvec
* The ldconfig program now skips file names containing ';' or ending in
".dpkg.tmp" or ".dpkg.new"
* The dynamic linker calls the malloc and free functions in more cases
during TLS access if a shared object with dynamic TLS is loaded and
unloaded
- aarch64-rawmemchr-unwind.patch, cache-amd-legacy.patch,
cache-intel-shared.patch, call-init-proxy-objects.patch,
fstat-implementation.patch, gb18030-2022.patch,
getaddrinfo-eai-memory.patch, getaddrinfo-memory-leak.patch,
getcanonname-use-after-free.patch, iconv-error-verbosity.patch,
intl-c-utf-8-like-c-locale.patch, ldconfig-process-elf-file.patch,
libio-io-vtables.patch, libio-wdo-write.patch,
OBS-URL: https://build.opensuse.org/request/show/1143408
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=692
2024-02-01 15:30:28 +01:00
|
|
|
%define git_id ef321e23c2
|
2016-05-12 10:51:10 +02:00
|
|
|
%define libversion %version
|
|
|
|
%else
|
|
|
|
%define git_id %(echo %version | sed 's/.*\.g//')
|
|
|
|
%define libversion %(echo %version | sed 's/\.[^.]*\.g.*//')
|
|
|
|
%endif
|
2022-04-29 12:48:50 +02:00
|
|
|
URL: https://www.gnu.org/software/libc/libc.html
|
2011-08-17 21:42:24 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2022-04-29 12:48:50 +02:00
|
|
|
Source: https://ftp.gnu.org/pub/gnu/glibc/glibc-%{version}.tar.xz
|
2022-10-27 10:13:00 +02:00
|
|
|
%if %{without snapshot}
|
2022-04-29 12:48:50 +02:00
|
|
|
Source1: https://ftp.gnu.org/pub/gnu/glibc/glibc-%{version}.tar.xz.sig
|
2016-05-12 10:51:10 +02:00
|
|
|
%endif
|
2016-07-07 14:43:40 +02:00
|
|
|
Source2: http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=libc&download=1#/glibc.keyring
|
2009-02-20 08:46:43 +01:00
|
|
|
Source4: manpages.tar.bz2
|
2012-04-19 13:14:21 +02:00
|
|
|
Source5: nsswitch.conf
|
2023-10-09 10:53:23 +02:00
|
|
|
Source6: sle-nsswitch.conf
|
2012-04-19 13:14:21 +02:00
|
|
|
Source7: bindresvport.blacklist
|
|
|
|
Source9: glibc.rpmlintrc
|
|
|
|
Source10: baselibs.conf
|
2021-02-02 12:37:02 +01:00
|
|
|
# For systemd
|
2011-07-07 10:29:39 +02:00
|
|
|
Source20: nscd.conf
|
|
|
|
Source21: nscd.service
|
2022-11-28 12:23:25 +01:00
|
|
|
Source22: nscd.sysusers
|
2011-07-07 10:29:39 +02:00
|
|
|
|
2017-08-02 17:46:55 +02:00
|
|
|
%if %{build_main}
|
2012-12-19 18:04:05 +01:00
|
|
|
# ngpt was used in 8.1 and SLES8
|
|
|
|
Obsoletes: ngpt < 2.2.2
|
|
|
|
Obsoletes: ngpt-devel < 2.2.2
|
|
|
|
Provides: ngpt = 2.2.2
|
|
|
|
Provides: ngpt-devel = 2.2.2
|
|
|
|
Conflicts: kernel < %{enablekernel}
|
2021-06-16 16:37:05 +02:00
|
|
|
%if %{with usrmerged}
|
|
|
|
# make sure we have post-usrmerge filesystem package
|
|
|
|
Conflicts: filesystem < 15.6
|
|
|
|
%endif
|
2012-12-19 18:04:05 +01:00
|
|
|
# bug437293 - handle update from SLES10 on PowerPC
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: glibc-64bit
|
|
|
|
%endif
|
|
|
|
%ifarch ppc
|
|
|
|
Obsoletes: glibc-32bit
|
|
|
|
%endif
|
2013-06-30 21:57:43 +02:00
|
|
|
%ifarch armv6hl armv7hl
|
2012-12-19 18:04:05 +01:00
|
|
|
# The old runtime linker link gets not provided by rpm find.provides, but it exists
|
|
|
|
Provides: ld-linux.so.3
|
|
|
|
Provides: ld-linux.so.3(GLIBC_2.4)
|
|
|
|
%endif
|
2011-06-27 14:05:13 +02:00
|
|
|
Requires(pre): filesystem
|
2012-01-16 16:06:45 +01:00
|
|
|
Recommends: glibc-extra
|
2011-06-15 14:55:16 +02:00
|
|
|
Provides: rtld(GNU_HASH)
|
2017-08-02 17:46:55 +02:00
|
|
|
%endif
|
|
|
|
%if %{build_utils}
|
|
|
|
Requires: glibc = %{version}
|
|
|
|
%endif
|
2011-06-15 14:55:16 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Accepting request 992472 from home:Andreas_Schwab:Factory
- Update to glibc 2.36
Major new features:
* Support for DT_RELR relative relocation format has been added to
glibc
* On Linux, the pidfd_open, pidfd_getfd, and pidfd_send_signal functions
have been added
* On Linux, the process_madvise function has been added
* On Linux, the process_mrelease function has been added
* The “no-aaaa” DNS stub resolver option has been added
* On Linux, the fsopen, fsmount, move_mount, fsconfig, fspick, open_tree,
and mount_setattr have been added
* localedef now accepts locale definition files encoded in UTF-8
* Support for the mbrtoc8 and c8rtomb multibyte/UTF-8 character conversion
functions has been added per the ISO C2X N2653 and C++20 P0482R6 proposals
* The functions arc4random, arc4random_buf, and arc4random_uniform have been
added
Deprecated and removed features, and other changes affecting compatibility:
* Support for prelink will be removed in the next release
* The Linux kernel version check has been removed along with the
LD_ASSUME_KERNEL environment variable
* On Linux, The LD_LIBRARY_VERSION environment variable has been removed
- get-nprocs-sched-uninit-read.patch, get-nprocs-inaccurate.patch,
strcmp-rtm-fallback.path, pt-load-invalid-hole.patch,
localedef-ld-monetary.patch, nptl-spurious-eintr.patch,
strncpy-power9-vsx.patch, nptl-cleanup-async-restore.patch,
read-chk-cancel.patch, wcrtomb-fortify.patch,
nptl-cleanup-async-restore-2.patch: Removed
OBS-URL: https://build.opensuse.org/request/show/992472
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=623
2022-08-03 10:11:26 +02:00
|
|
|
BuildRequires: audit-devel
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: makeinfo
|
|
|
|
BuildRequires: python3-base
|
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
BuildRequires: systemtap-headers
|
2022-12-16 18:37:03 +01:00
|
|
|
BuildRequires: sysuser-tools
|
Accepting request 992472 from home:Andreas_Schwab:Factory
- Update to glibc 2.36
Major new features:
* Support for DT_RELR relative relocation format has been added to
glibc
* On Linux, the pidfd_open, pidfd_getfd, and pidfd_send_signal functions
have been added
* On Linux, the process_madvise function has been added
* On Linux, the process_mrelease function has been added
* The “no-aaaa” DNS stub resolver option has been added
* On Linux, the fsopen, fsmount, move_mount, fsconfig, fspick, open_tree,
and mount_setattr have been added
* localedef now accepts locale definition files encoded in UTF-8
* Support for the mbrtoc8 and c8rtomb multibyte/UTF-8 character conversion
functions has been added per the ISO C2X N2653 and C++20 P0482R6 proposals
* The functions arc4random, arc4random_buf, and arc4random_uniform have been
added
Deprecated and removed features, and other changes affecting compatibility:
* Support for prelink will be removed in the next release
* The Linux kernel version check has been removed along with the
LD_ASSUME_KERNEL environment variable
* On Linux, The LD_LIBRARY_VERSION environment variable has been removed
- get-nprocs-sched-uninit-read.patch, get-nprocs-inaccurate.patch,
strcmp-rtm-fallback.path, pt-load-invalid-hole.patch,
localedef-ld-monetary.patch, nptl-spurious-eintr.patch,
strncpy-power9-vsx.patch, nptl-cleanup-async-restore.patch,
read-chk-cancel.patch, wcrtomb-fortify.patch,
nptl-cleanup-async-restore-2.patch: Removed
OBS-URL: https://build.opensuse.org/request/show/992472
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=623
2022-08-03 10:11:26 +02:00
|
|
|
BuildRequires: xz
|
2023-07-11 09:54:23 +02:00
|
|
|
%if 0%{?with_gcc:1}
|
|
|
|
BuildRequires: gcc%{with_gcc}
|
|
|
|
%endif
|
Accepting request 992472 from home:Andreas_Schwab:Factory
- Update to glibc 2.36
Major new features:
* Support for DT_RELR relative relocation format has been added to
glibc
* On Linux, the pidfd_open, pidfd_getfd, and pidfd_send_signal functions
have been added
* On Linux, the process_madvise function has been added
* On Linux, the process_mrelease function has been added
* The “no-aaaa” DNS stub resolver option has been added
* On Linux, the fsopen, fsmount, move_mount, fsconfig, fspick, open_tree,
and mount_setattr have been added
* localedef now accepts locale definition files encoded in UTF-8
* Support for the mbrtoc8 and c8rtomb multibyte/UTF-8 character conversion
functions has been added per the ISO C2X N2653 and C++20 P0482R6 proposals
* The functions arc4random, arc4random_buf, and arc4random_uniform have been
added
Deprecated and removed features, and other changes affecting compatibility:
* Support for prelink will be removed in the next release
* The Linux kernel version check has been removed along with the
LD_ASSUME_KERNEL environment variable
* On Linux, The LD_LIBRARY_VERSION environment variable has been removed
- get-nprocs-sched-uninit-read.patch, get-nprocs-inaccurate.patch,
strcmp-rtm-fallback.path, pt-load-invalid-hole.patch,
localedef-ld-monetary.patch, nptl-spurious-eintr.patch,
strncpy-power9-vsx.patch, nptl-cleanup-async-restore.patch,
read-chk-cancel.patch, wcrtomb-fortify.patch,
nptl-cleanup-async-restore-2.patch: Removed
OBS-URL: https://build.opensuse.org/request/show/992472
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=623
2022-08-03 10:11:26 +02:00
|
|
|
%if %{build_testsuite}
|
2023-07-11 09:54:23 +02:00
|
|
|
BuildRequires: gcc%{?with_gcc}-c++
|
Accepting request 992472 from home:Andreas_Schwab:Factory
- Update to glibc 2.36
Major new features:
* Support for DT_RELR relative relocation format has been added to
glibc
* On Linux, the pidfd_open, pidfd_getfd, and pidfd_send_signal functions
have been added
* On Linux, the process_madvise function has been added
* On Linux, the process_mrelease function has been added
* The “no-aaaa” DNS stub resolver option has been added
* On Linux, the fsopen, fsmount, move_mount, fsconfig, fspick, open_tree,
and mount_setattr have been added
* localedef now accepts locale definition files encoded in UTF-8
* Support for the mbrtoc8 and c8rtomb multibyte/UTF-8 character conversion
functions has been added per the ISO C2X N2653 and C++20 P0482R6 proposals
* The functions arc4random, arc4random_buf, and arc4random_uniform have been
added
Deprecated and removed features, and other changes affecting compatibility:
* Support for prelink will be removed in the next release
* The Linux kernel version check has been removed along with the
LD_ASSUME_KERNEL environment variable
* On Linux, The LD_LIBRARY_VERSION environment variable has been removed
- get-nprocs-sched-uninit-read.patch, get-nprocs-inaccurate.patch,
strcmp-rtm-fallback.path, pt-load-invalid-hole.patch,
localedef-ld-monetary.patch, nptl-spurious-eintr.patch,
strncpy-power9-vsx.patch, nptl-cleanup-async-restore.patch,
read-chk-cancel.patch, wcrtomb-fortify.patch,
nptl-cleanup-async-restore-2.patch: Removed
OBS-URL: https://build.opensuse.org/request/show/992472
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=623
2022-08-03 10:11:26 +02:00
|
|
|
BuildRequires: gdb
|
|
|
|
BuildRequires: glibc-devel-static
|
|
|
|
BuildRequires: libidn2-0
|
|
|
|
BuildRequires: libstdc++-devel
|
|
|
|
BuildRequires: python3-pexpect
|
|
|
|
%endif
|
|
|
|
%if %{build_utils}
|
|
|
|
BuildRequires: gd-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
%endif
|
|
|
|
%if %{build_cross}
|
2023-07-11 09:54:23 +02:00
|
|
|
BuildRequires: cross-%{cross_arch}-gcc%{!?with_gcc:%{gcc_version}}%{?with_gcc}-bootstrap
|
Accepting request 992472 from home:Andreas_Schwab:Factory
- Update to glibc 2.36
Major new features:
* Support for DT_RELR relative relocation format has been added to
glibc
* On Linux, the pidfd_open, pidfd_getfd, and pidfd_send_signal functions
have been added
* On Linux, the process_madvise function has been added
* On Linux, the process_mrelease function has been added
* The “no-aaaa” DNS stub resolver option has been added
* On Linux, the fsopen, fsmount, move_mount, fsconfig, fspick, open_tree,
and mount_setattr have been added
* localedef now accepts locale definition files encoded in UTF-8
* Support for the mbrtoc8 and c8rtomb multibyte/UTF-8 character conversion
functions has been added per the ISO C2X N2653 and C++20 P0482R6 proposals
* The functions arc4random, arc4random_buf, and arc4random_uniform have been
added
Deprecated and removed features, and other changes affecting compatibility:
* Support for prelink will be removed in the next release
* The Linux kernel version check has been removed along with the
LD_ASSUME_KERNEL environment variable
* On Linux, The LD_LIBRARY_VERSION environment variable has been removed
- get-nprocs-sched-uninit-read.patch, get-nprocs-inaccurate.patch,
strcmp-rtm-fallback.path, pt-load-invalid-hole.patch,
localedef-ld-monetary.patch, nptl-spurious-eintr.patch,
strncpy-power9-vsx.patch, nptl-cleanup-async-restore.patch,
read-chk-cancel.patch, wcrtomb-fortify.patch,
nptl-cleanup-async-restore-2.patch: Removed
OBS-URL: https://build.opensuse.org/request/show/992472
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=623
2022-08-03 10:11:26 +02:00
|
|
|
BuildRequires: cross-%{cross_arch}-linux-glibc-devel
|
|
|
|
%endif
|
|
|
|
%if "%flavor" == "i686"
|
|
|
|
ExclusiveArch: i586 i686
|
|
|
|
BuildArch: i686
|
2023-08-23 09:20:45 +02:00
|
|
|
# Sync only this build counter with the main build
|
|
|
|
#!BcntSyncTag: glibc
|
Accepting request 992472 from home:Andreas_Schwab:Factory
- Update to glibc 2.36
Major new features:
* Support for DT_RELR relative relocation format has been added to
glibc
* On Linux, the pidfd_open, pidfd_getfd, and pidfd_send_signal functions
have been added
* On Linux, the process_madvise function has been added
* On Linux, the process_mrelease function has been added
* The “no-aaaa” DNS stub resolver option has been added
* On Linux, the fsopen, fsmount, move_mount, fsconfig, fspick, open_tree,
and mount_setattr have been added
* localedef now accepts locale definition files encoded in UTF-8
* Support for the mbrtoc8 and c8rtomb multibyte/UTF-8 character conversion
functions has been added per the ISO C2X N2653 and C++20 P0482R6 proposals
* The functions arc4random, arc4random_buf, and arc4random_uniform have been
added
Deprecated and removed features, and other changes affecting compatibility:
* Support for prelink will be removed in the next release
* The Linux kernel version check has been removed along with the
LD_ASSUME_KERNEL environment variable
* On Linux, The LD_LIBRARY_VERSION environment variable has been removed
- get-nprocs-sched-uninit-read.patch, get-nprocs-inaccurate.patch,
strcmp-rtm-fallback.path, pt-load-invalid-hole.patch,
localedef-ld-monetary.patch, nptl-spurious-eintr.patch,
strncpy-power9-vsx.patch, nptl-cleanup-async-restore.patch,
read-chk-cancel.patch, wcrtomb-fortify.patch,
nptl-cleanup-async-restore-2.patch: Removed
OBS-URL: https://build.opensuse.org/request/show/992472
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=623
2022-08-03 10:11:26 +02:00
|
|
|
%endif
|
2012-04-17 14:34:50 +02:00
|
|
|
|
|
|
|
###
|
2012-04-19 13:14:21 +02:00
|
|
|
# Patches are ordered in the following groups:
|
2012-04-19 10:18:58 +02:00
|
|
|
# Patches that we will never upstream or which have not been looked at: 0-999
|
2012-04-17 14:34:50 +02:00
|
|
|
# Patches taken from upstream: 1000-2000
|
|
|
|
# Patches that are going upstream, waiting approval: 2000-3000
|
|
|
|
###
|
|
|
|
|
|
|
|
###
|
|
|
|
# Patches that upstream will not accept
|
|
|
|
###
|
2012-04-19 10:18:58 +02:00
|
|
|
|
|
|
|
###
|
|
|
|
# openSUSE specific patches - won't go upstream
|
|
|
|
###
|
|
|
|
### openSUSE extensions, configuration
|
|
|
|
# PATCH-FIX-OPENSUSE Fix path for nscd databases
|
2012-04-19 13:14:21 +02:00
|
|
|
Patch6: glibc-2.3.3-nscd-db-path.diff
|
2012-04-19 10:18:58 +02:00
|
|
|
# PATCH-FIX-OPENSUSE Fix path for nss_db (bnc#753657) - aj@suse.de
|
2012-04-19 13:14:21 +02:00
|
|
|
Patch7: nss-db-path.patch
|
2012-04-19 10:18:58 +02:00
|
|
|
# PATCH-FIX-OPENSUSE adjust nscd.conf
|
2012-04-19 13:14:21 +02:00
|
|
|
Patch8: glibc-nscd.conf.patch
|
2012-04-18 13:54:26 +02:00
|
|
|
# PATCH-FIX-OPENSUSE -- add some extra information to version output - kukuk@suse.de
|
2012-04-19 13:14:21 +02:00
|
|
|
Patch10: glibc-version.diff
|
2012-04-18 13:54:26 +02:00
|
|
|
# PATCH-FIX-OPENSUSE -- Make --no-archive default for localedef - kukuk@suse.de
|
2012-04-19 13:14:21 +02:00
|
|
|
Patch13: glibc-2.3.2.no_archive.diff
|
2012-04-18 13:54:26 +02:00
|
|
|
# PATCH-FIX-OPENSUSE -- add blacklist for bindresvport
|
2013-06-10 16:27:04 +02:00
|
|
|
Patch14: glibc-bindresvport-blacklist.diff
|
2011-07-04 15:26:19 +02:00
|
|
|
# PATCH-FIX-OPENSUSE prefer -lang rpm packages
|
2012-04-19 13:14:21 +02:00
|
|
|
Patch15: glibc-2.3.90-langpackdir.diff
|
2013-09-23 12:27:21 +02:00
|
|
|
# PATCH-FEATURE-SLE Use nscd user for nscd
|
|
|
|
Patch19: nscd-server-user.patch
|
2020-05-19 12:03:06 +02:00
|
|
|
# PATCH-FEATURE-SLE read nsswich.conf from /usr
|
|
|
|
Patch20: glibc-nsswitch-usr.diff
|
2023-05-25 11:15:20 +02:00
|
|
|
# PATCH-FEATURE-SLE Add ULP prologue into ASM functions
|
|
|
|
Patch21: ulp-prologue-into-asm-functions.patch
|
2012-04-19 10:18:58 +02:00
|
|
|
|
|
|
|
### Locale related patches
|
|
|
|
# PATCH-FIX-OPENSUSE Add additional locales
|
2017-05-31 18:11:37 +02:00
|
|
|
Patch100: add-locales.patch
|
2012-04-19 10:18:58 +02:00
|
|
|
# PATCH-FIX-OPENSUSE -- Add no_NO back (XXX: Still needed?)
|
2012-04-19 13:14:21 +02:00
|
|
|
Patch102: glibc-2.4.90-no_NO.diff
|
2012-04-19 10:18:58 +02:00
|
|
|
# PATCH-FIX-OPENSUSE -- Renames for China
|
2012-04-19 13:14:21 +02:00
|
|
|
Patch103: glibc-2.4-china.diff
|
2012-04-19 10:18:58 +02:00
|
|
|
|
|
|
|
### Network related patches
|
2012-04-18 13:54:26 +02:00
|
|
|
# PATCH-FIX-OPENSUSE Warn about usage of mdns in resolv.conv
|
2012-04-19 13:14:21 +02:00
|
|
|
Patch304: glibc-resolv-mdnshint.diff
|
2011-07-25 10:53:48 +02:00
|
|
|
# PATCH-FIX-OPENSUSE disable rewriting ::1 to 127.0.0.1 for /etc/hosts bnc#684534, bnc#706719
|
2012-04-19 13:14:21 +02:00
|
|
|
Patch306: glibc-fix-double-loopback.diff
|
2012-04-19 10:18:58 +02:00
|
|
|
|
2024-02-08 09:40:08 +01:00
|
|
|
%if %{without snapshot}
|
2012-04-17 14:34:50 +02:00
|
|
|
###
|
|
|
|
# Patches from upstream
|
|
|
|
###
|
2024-02-08 09:40:08 +01:00
|
|
|
# PATCH-FIX-UPSTREAM arm: Remove wrong ldr from _dl_start_user (BZ #31339)
|
|
|
|
Patch1000: arm-dl-start-user.patch
|
2024-02-28 10:37:09 +01:00
|
|
|
# PATCH-FIX-UPSTREAM S390: Do not clobber r7 in clone (BZ #31402)
|
|
|
|
Patch1001: s390-clone-error-clobber-r7.patch
|
2024-03-14 10:08:59 +01:00
|
|
|
# PATCH-FIX-UPSTREAM duplocale: protect use of global locale (BZ #23970)
|
|
|
|
Patch1002: duplocale-global-locale.patch
|
|
|
|
# PATCH-FIX-UPSTREAM linux/sigsetops: fix type confusion (BZ #31468)
|
|
|
|
Patch1003: sigisemptyset.patch
|
|
|
|
# PATCH-FIX-UPSTREAM Use gcc __builtin_stdc_* builtins in stdbit.h if possible
|
|
|
|
Patch1004: stdbit-builtins.patch
|
2024-04-18 17:36:42 +02:00
|
|
|
# PATCH-FIX-UPSTREAM iconv: ISO-2022-CN-EXT: fix out-of-bound writes when writing escape sequence (CVE-2024-2961)
|
|
|
|
Patch1005: iconv-iso-2022-cn-ext.patch
|
2024-05-01 08:00:58 +02:00
|
|
|
# PATCH-FIX-UPSTREAM: CVE-2024-33599: nscd: Stack-based buffer overflow in netgroup cache
|
|
|
|
Patch1006: glibc-fix-cve-2024-33599.patch
|
2024-02-08 09:40:08 +01:00
|
|
|
%endif
|
2021-02-02 12:37:02 +01:00
|
|
|
|
|
|
|
###
|
2012-04-17 14:34:50 +02:00
|
|
|
# Patches awaiting upstream approval
|
|
|
|
###
|
2019-03-05 12:35:06 +01:00
|
|
|
# PATCH-FIX-UPSTREAM Avoid concurrency problem in ldconfig (BZ #23973)
|
2023-07-11 09:54:23 +02:00
|
|
|
Patch2000: ldconfig-concurrency.patch
|
2011-06-16 15:36:45 +02:00
|
|
|
|
2013-02-28 16:19:48 +01:00
|
|
|
# Non-glibc patches
|
|
|
|
# PATCH-FIX-OPENSUSE Remove debianisms from manpages
|
|
|
|
Patch3000: manpages.patch
|
|
|
|
|
2009-02-20 08:46:43 +01:00
|
|
|
%description
|
|
|
|
The GNU C Library provides the most important standard libraries used
|
|
|
|
by nearly all programs: the standard C library, the standard math
|
|
|
|
library, and the POSIX thread library. A system is not functional
|
|
|
|
without these libraries.
|
2017-12-12 11:41:00 +01:00
|
|
|
|
2018-01-30 16:17:29 +01:00
|
|
|
%package -n glibc-utils
|
2017-12-12 11:41:00 +01:00
|
|
|
Summary: Development utilities from the GNU C Library
|
2018-02-26 12:20:11 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2017-12-12 11:41:00 +01:00
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Requires: glibc = %{version}
|
|
|
|
|
2018-01-30 16:17:29 +01:00
|
|
|
%description -n glibc-utils
|
2017-05-22 18:07:34 +02:00
|
|
|
The glibc-utils package contains mtrace, a memory leak tracer and
|
|
|
|
xtrace, a function call tracer which can be helpful during program
|
|
|
|
debugging.
|
|
|
|
|
|
|
|
If you are unsure if you need this, do not install this package.
|
2017-12-12 11:41:00 +01:00
|
|
|
|
2018-01-30 16:17:29 +01:00
|
|
|
%package -n glibc-testsuite
|
2017-12-12 11:41:00 +01:00
|
|
|
Summary: Testsuite results from the GNU C Library
|
2018-02-26 12:20:11 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2017-12-12 11:41:00 +01:00
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
|
2018-01-30 16:17:29 +01:00
|
|
|
%description -n glibc-testsuite
|
2017-07-12 15:21:16 +02:00
|
|
|
This package contains the testsuite results from the GNU C Library.
|
2009-02-20 08:46:43 +01:00
|
|
|
|
2017-12-14 11:12:57 +01:00
|
|
|
%if %{build_main}
|
2009-02-20 08:46:43 +01:00
|
|
|
%package info
|
|
|
|
Summary: Info Files for the GNU C Library
|
2018-02-26 12:20:11 +01:00
|
|
|
License: GFDL-1.1-only
|
2009-02-20 08:46:43 +01:00
|
|
|
Group: Documentation/Other
|
2011-06-27 14:05:13 +02:00
|
|
|
Requires(post): %{install_info_prereq}
|
2024-04-18 17:36:42 +02:00
|
|
|
Requires(preun): %{install_info_prereq}
|
2011-08-18 14:05:28 +02:00
|
|
|
BuildArch: noarch
|
2009-02-20 08:46:43 +01:00
|
|
|
|
|
|
|
%description info
|
|
|
|
This package contains the documentation for the GNU C library stored as
|
|
|
|
info files. Due to a lack of resources, this documentation is not
|
|
|
|
complete and is partially out of date.
|
|
|
|
|
|
|
|
%package html
|
|
|
|
Summary: HTML Documentation for the GNU C Library
|
2018-02-26 12:20:11 +01:00
|
|
|
License: GFDL-1.1-only
|
2009-02-20 08:46:43 +01:00
|
|
|
Group: Documentation/HTML
|
2011-08-18 14:05:28 +02:00
|
|
|
BuildArch: noarch
|
2009-02-20 08:46:43 +01:00
|
|
|
|
|
|
|
%description html
|
|
|
|
This package contains the HTML documentation for the GNU C library. Due
|
|
|
|
to a lack of resources, this documentation is not complete and is
|
|
|
|
partially out of date.
|
|
|
|
|
|
|
|
%package i18ndata
|
|
|
|
Summary: Database Sources for 'locale'
|
2018-02-26 12:20:11 +01:00
|
|
|
License: GPL-2.0-or-later AND MIT
|
2009-02-20 08:46:43 +01:00
|
|
|
Group: System/Libraries
|
2011-08-18 14:05:28 +02:00
|
|
|
BuildArch: noarch
|
2009-02-20 08:46:43 +01:00
|
|
|
|
|
|
|
%description i18ndata
|
|
|
|
This package contains the data needed to build the locale data files to
|
|
|
|
use the internationalization features of the GNU libc. It is normally
|
|
|
|
not necessary to install this packages, the data files are already
|
|
|
|
created.
|
|
|
|
|
2018-09-12 09:22:12 +02:00
|
|
|
%package locale-base
|
2018-11-08 09:05:53 +01:00
|
|
|
Summary: en_US Locale Data for Localized Programs
|
2018-02-26 12:20:11 +01:00
|
|
|
License: GPL-2.0-or-later AND MIT AND LGPL-2.1-or-later
|
2009-02-20 08:46:43 +01:00
|
|
|
Group: System/Libraries
|
2011-06-27 14:05:13 +02:00
|
|
|
Requires(post): /bin/cat
|
2011-06-15 14:55:16 +02:00
|
|
|
Requires: glibc = %{version}
|
2018-09-12 09:22:12 +02:00
|
|
|
|
|
|
|
%description locale-base
|
|
|
|
Locale data for the internationalisation features of the GNU C library.
|
2018-11-08 09:05:53 +01:00
|
|
|
This package contains only the U.S. English locale.
|
2018-09-12 09:22:12 +02:00
|
|
|
|
|
|
|
%package locale
|
|
|
|
Summary: Locale Data for Localized Programs
|
|
|
|
License: GPL-2.0-or-later AND MIT AND LGPL-2.1-or-later
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: glibc-locale-base = %{version}
|
2009-02-20 08:46:43 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: glibc-locale-64bit
|
|
|
|
%endif
|
|
|
|
%ifarch ppc
|
|
|
|
Obsoletes: glibc-locale-32bit
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description locale
|
|
|
|
Locale data for the internationalisation features of the GNU C library.
|
|
|
|
|
|
|
|
%package -n nscd
|
|
|
|
Summary: Name Service Caching Daemon
|
2018-02-26 12:20:11 +01:00
|
|
|
License: GPL-2.0-or-later
|
2009-02-20 08:46:43 +01:00
|
|
|
Group: System/Daemons
|
2011-06-15 14:55:16 +02:00
|
|
|
Provides: glibc:/usr/sbin/nscd
|
2012-01-10 14:02:38 +01:00
|
|
|
Requires: glibc = %{version}
|
2013-01-31 17:31:36 +01:00
|
|
|
Obsoletes: unscd <= 0.48
|
2022-11-28 12:23:25 +01:00
|
|
|
%{?sysusers_requires}
|
2012-11-24 15:18:54 +01:00
|
|
|
%{?systemd_requires}
|
2009-02-20 08:46:43 +01:00
|
|
|
|
|
|
|
%description -n nscd
|
|
|
|
Nscd caches name service lookups and can dramatically improve
|
|
|
|
performance with NIS, NIS+, and LDAP.
|
|
|
|
|
|
|
|
%package profile
|
|
|
|
Summary: Libc Profiling and Debugging Versions
|
2021-02-02 12:37:02 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0
|
2009-02-20 08:46:43 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: glibc = %{version}
|
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: glibc-profile-64bit
|
|
|
|
%endif
|
|
|
|
%ifarch ppc
|
|
|
|
Obsoletes: glibc-profile-32bit
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description profile
|
|
|
|
This package contains special versions of the GNU C library which are
|
|
|
|
necessary for profiling and debugging.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Include Files and Libraries Mandatory for Development
|
2018-02-26 12:20:11 +01:00
|
|
|
License: BSD-3-Clause AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later
|
2009-02-20 08:46:43 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Obsoletes: epoll = 1.0
|
2011-05-24 17:08:51 +02:00
|
|
|
Provides: epoll < 1.0
|
2009-02-20 08:46:43 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: glibc-devel-64bit
|
|
|
|
%endif
|
|
|
|
%ifarch ppc
|
|
|
|
Obsoletes: glibc-devel-32bit
|
|
|
|
%endif
|
2011-06-27 14:05:13 +02:00
|
|
|
Requires: glibc = %{version}
|
Accepting request 627715 from home:Andreas_Schwab:Factory
- Update to glibc 2.28
* The localization data for ISO 14651 is updated to match the 2016
Edition 4 release of the standard, this matches data provided by
Unicode 9.0.0
* Unicode 11.0.0 Support: Character encoding, character type info, and
transliteration tables are all updated to Unicode 11.0.0, using
generator scripts contributed by Mike FABIAN (Red Hat)
* <math.h> functions that round their results to a narrower type are added
from TS 18661-1:2014 and TS 18661-3:2015
* Two grammatical forms of month names are now supported
* The renameat2 function has been added, a variant of the renameat function
which has a flags argument
* The statx function has been added, a variant of the fstatat64
function with an additional flags argument
* IDN domain names in getaddrinfo and getnameinfo now use the system libidn2
library if installed
* Parsing of dynamic string tokens in DT_RPATH, DT_RUNPATH, DT_NEEDED,
DT_AUXILIARY, and DT_FILTER has been expanded to support the full
range of ELF gABI expressions including such constructs as
'$ORIGIN$ORIGIN' (if valid)
* Support for ISO C threads (ISO/IEC 9899:2011) has been added.
* The nonstandard header files <libio.h> and <_G_config.h> are no longer
installed
* The stdio functions 'getc' and 'putc' are no longer defined as macros
* All stdio functions now treat end-of-file as a sticky condition
* The macros 'major', 'minor', and 'makedev' are now only available from
the header <sys/sysmacros.h>
* The obsolete function ustat is no longer available to newly linked
binaries; the headers <ustat.h> and <sys/ustat.h> have been removed
* The obsolete function nfsservctl is no longer available to newly linked
OBS-URL: https://build.opensuse.org/request/show/627715
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=509
2018-08-06 17:01:59 +02:00
|
|
|
Requires: libxcrypt-devel
|
2011-06-27 14:05:13 +02:00
|
|
|
Requires: linux-kernel-headers
|
2009-02-20 08:46:43 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
These libraries are needed to develop programs which use the standard C
|
|
|
|
library.
|
|
|
|
|
2011-06-16 15:36:45 +02:00
|
|
|
%package devel-static
|
2011-06-16 17:38:23 +02:00
|
|
|
Summary: C library static libraries for -static linking
|
2018-02-26 12:20:11 +01:00
|
|
|
License: BSD-3-Clause AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later
|
2011-06-16 17:14:19 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-06-16 15:36:45 +02:00
|
|
|
Requires: %{name}-devel = %{version}
|
Accepting request 627715 from home:Andreas_Schwab:Factory
- Update to glibc 2.28
* The localization data for ISO 14651 is updated to match the 2016
Edition 4 release of the standard, this matches data provided by
Unicode 9.0.0
* Unicode 11.0.0 Support: Character encoding, character type info, and
transliteration tables are all updated to Unicode 11.0.0, using
generator scripts contributed by Mike FABIAN (Red Hat)
* <math.h> functions that round their results to a narrower type are added
from TS 18661-1:2014 and TS 18661-3:2015
* Two grammatical forms of month names are now supported
* The renameat2 function has been added, a variant of the renameat function
which has a flags argument
* The statx function has been added, a variant of the fstatat64
function with an additional flags argument
* IDN domain names in getaddrinfo and getnameinfo now use the system libidn2
library if installed
* Parsing of dynamic string tokens in DT_RPATH, DT_RUNPATH, DT_NEEDED,
DT_AUXILIARY, and DT_FILTER has been expanded to support the full
range of ELF gABI expressions including such constructs as
'$ORIGIN$ORIGIN' (if valid)
* Support for ISO C threads (ISO/IEC 9899:2011) has been added.
* The nonstandard header files <libio.h> and <_G_config.h> are no longer
installed
* The stdio functions 'getc' and 'putc' are no longer defined as macros
* All stdio functions now treat end-of-file as a sticky condition
* The macros 'major', 'minor', and 'makedev' are now only available from
the header <sys/sysmacros.h>
* The obsolete function ustat is no longer available to newly linked
binaries; the headers <ustat.h> and <sys/ustat.h> have been removed
* The obsolete function nfsservctl is no longer available to newly linked
OBS-URL: https://build.opensuse.org/request/show/627715
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=509
2018-08-06 17:01:59 +02:00
|
|
|
Requires: libxcrypt-devel-static
|
2011-10-19 14:10:22 +02:00
|
|
|
# Provide Fedora name for package to make packaging easier
|
2016-05-12 10:51:10 +02:00
|
|
|
Provides: %{name}-static = %{version}
|
2011-06-16 15:36:45 +02:00
|
|
|
|
|
|
|
%description devel-static
|
|
|
|
The glibc-devel-static package contains the C library static libraries
|
|
|
|
for -static linking. You don't need these, unless you link statically,
|
|
|
|
which is highly discouraged.
|
|
|
|
|
2021-03-02 14:18:55 +01:00
|
|
|
%package extra
|
2012-01-16 16:06:45 +01:00
|
|
|
# makedb requires libselinux. We add this program in a separate
|
|
|
|
# package so that glibc does not require libselinux.
|
|
|
|
Summary: Extra binaries from GNU C Library
|
2018-02-26 12:20:11 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2017-07-25 09:39:09 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2012-01-16 16:06:45 +01:00
|
|
|
Requires: glibc = %{version}
|
|
|
|
|
|
|
|
%description extra
|
|
|
|
The glibc-extra package contains some extra binaries for glibc that
|
2022-10-24 10:46:37 +02:00
|
|
|
are not essential but recommend for use.
|
2012-01-16 16:06:45 +01:00
|
|
|
|
|
|
|
makedb: A program to create a database for nss
|
2020-04-20 16:05:31 +02:00
|
|
|
|
|
|
|
%lang_package
|
Accepting request 824657 from home:Andreas_Schwab:Factory
- Update to glibc 2.32
* Unicode 13.0.0 Support
* New locale added: ckb_IQ
* The GNU C Library now loads audit modules listed in the DT_AUDIT and
DT_DEPAUDIT dynamic section entries of the main executable
* powerpc64le supports IEEE128 long double libm/libc redirects when
using the -mabi=ieeelongdouble to compile C code on supported GCC
toolchains
* To help detect buffer overflows and other out-of-bounds accesses
several APIs have been annotated with GCC 'access' attribute
* On Linux, functions the pthread_attr_setsigmask_np and
pthread_attr_getsigmask_np have been added
* The GNU C Library now provides the header file <sys/single_threaded.h>
which declares the variable __libc_single_threaded
* The functions sigabbrev_np and sigdescr_np have been added
* The functions strerrorname_np and strerrordesc_np have been added
* AArch64 now supports standard branch protection security hardening
in glibc when it is built with a GCC that is configured with
--enable-standard-branch-protection (or if -mbranch-protection=standard
flag is passed when building both GCC target libraries and glibc,
in either case a custom GCC is needed)
* The deprecated <sys/sysctl.h> header and the sysctl function have been
removed
* The sstk function is no longer available to newly linked binaries
* The legacy signal handling functions siginterrupt, sigpause, sighold,
sigrelse, sigignore and sigset, and the sigmask macro have been
deprecated
* ldconfig now defaults to the new format for ld.so.cache
* The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev
are no longer available to newly linked binaries, and their declarations
OBS-URL: https://build.opensuse.org/request/show/824657
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=567
2020-08-06 11:17:04 +02:00
|
|
|
%endif
|
2012-01-16 16:06:45 +01:00
|
|
|
|
2021-08-11 14:09:30 +02:00
|
|
|
%package -n cross-%{cross_arch}-glibc-devel
|
|
|
|
Summary: Include Files and Libraries Mandatory for Development
|
|
|
|
License: BSD-3-Clause AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: cross-%{cross_arch}-linux-glibc-devel
|
|
|
|
BuildArch: noarch
|
|
|
|
AutoReqProv: off
|
|
|
|
|
|
|
|
%description -n cross-%{cross_arch}-glibc-devel
|
|
|
|
These libraries are needed to develop programs which use the standard C
|
|
|
|
library in a cross compilation setting.
|
|
|
|
|
2024-01-24 13:12:32 +01:00
|
|
|
%package -n libnsl1
|
|
|
|
Summary: Legacy Network Support Library (NIS)
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libnsl1
|
|
|
|
Network Support Library for legacy architectures. This library does not
|
|
|
|
have support for IPv6.
|
|
|
|
|
2022-06-27 11:59:57 +02:00
|
|
|
%if 0%{suse_version} >= 1500
|
|
|
|
%define make_output_sync -Oline
|
|
|
|
%endif
|
|
|
|
|
2009-02-20 08:46:43 +01:00
|
|
|
%prep
|
2024-02-08 09:40:08 +01:00
|
|
|
%autosetup -n glibc-%{version} -a 4 -p1
|
2011-07-04 15:26:19 +02:00
|
|
|
|
Accepting request 951353 from home:Andreas_Schwab:Factory
- Update to glibc 2.35
Major new features:
* Unicode 14.0.0 Support
* Bump r_version in the debugger interface to 2
* Support for the C.UTF-8 locale has been added to glibc
* <math.h> functions that round their results to a narrower type, and
corresponding <tgmath.h> macros, are added from TS 18661-1:2014, TS
18661-3:2015 and draft ISO C2X
* <math.h> functions for floating-point maximum and minimum,
corresponding to new operations in IEEE 754-2019, and corresponding
<tgmath.h> macros, are added from draft ISO C2X
* <math.h> macros for single-precision float constants are added as a
GNU extension
* The __STDC_IEC_60559_BFP__ and __STDC_IEC_60559_COMPLEX__ macros are
predefined as specified in TS 18661-1:2014
* The exp10 functions in <math.h> now have a corresponding type-generic
macro in <tgmath.h>
* The ISO C2X macro _PRINTF_NAN_LEN_MAX has been added to <stdio.h>
* printf-family functions now support the %b format for output of
integers in binary, as specified in draft ISO C2X, and the %B variant
of that format recommended by draft ISO C2X
* A new DSO sorting algorithm has been added in the dynamic linker that uses
topological sorting by depth-first search (DFS), solving performance issues
of the existing sorting algorithm when encountering particular circular
object dependency cases
* A new tunable, glibc.rtld.dynamic_sort, can be used to select between
the two DSO sorting algorithms
* ABI support for a new function '__memcmpeq'. '__memcmpeq' is meant
to be used by compilers for optimizing usage of 'memcmp' when its
return value is only used for its boolean status
OBS-URL: https://build.opensuse.org/request/show/951353
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=610
2022-02-03 17:39:47 +01:00
|
|
|
rm -f manpages/catchsegv.1
|
2013-02-28 16:19:48 +01:00
|
|
|
|
2009-02-20 08:46:43 +01:00
|
|
|
%build
|
2019-06-24 13:56:25 +02:00
|
|
|
# Disable LTO due to a usage of top-level assembler that
|
|
|
|
# causes LTO issues (boo#1138807).
|
|
|
|
%define _lto_cflags %{nil}
|
2009-02-20 08:46:43 +01:00
|
|
|
if [ -x /bin/uname.bin ]; then
|
2010-01-03 12:31:34 +01:00
|
|
|
/bin/uname.bin -a
|
2009-02-20 08:46:43 +01:00
|
|
|
else
|
2010-01-03 12:31:34 +01:00
|
|
|
uname -a
|
2009-02-20 08:46:43 +01:00
|
|
|
fi
|
|
|
|
uptime || :
|
|
|
|
ulimit -a
|
|
|
|
nice
|
2012-01-12 12:49:18 +01:00
|
|
|
# We do not want configure to figure out the system its building one
|
2021-08-11 14:09:30 +02:00
|
|
|
# to support a common ground and thus set build and host ourself.
|
|
|
|
target="%{host_arch}-suse-linux"
|
|
|
|
case " %arm " in
|
|
|
|
*" %{host_arch} "*) target="%{host_arch}-suse-linux-gnueabi" ;;
|
|
|
|
esac
|
2021-08-12 10:36:15 +02:00
|
|
|
%ifarch %arm
|
|
|
|
%define build %{_target_cpu}-suse-linux-gnueabi
|
|
|
|
%else
|
|
|
|
%define build %{_target_cpu}-suse-linux
|
|
|
|
%endif
|
2012-04-13 11:37:44 +02:00
|
|
|
# Don't use as-needed, it breaks glibc assumptions
|
|
|
|
# Before enabling it, run the testsuite and verify that it
|
|
|
|
# passes completely
|
|
|
|
export SUSE_ASNEEDED=0
|
2022-06-09 14:04:12 +02:00
|
|
|
# This is controlled by --enable-bind-now.
|
|
|
|
export SUSE_ZNOW=0
|
2009-02-20 08:46:43 +01:00
|
|
|
# Adjust glibc version.h
|
2021-08-11 14:09:30 +02:00
|
|
|
echo "#define CONFHOST \"${target}\"" >> version.h
|
2012-11-13 12:56:09 +01:00
|
|
|
echo "#define GITID \"%{git_id}\"" >> version.h
|
2009-02-20 08:46:43 +01:00
|
|
|
#
|
|
|
|
# Default CFLAGS and Compiler
|
|
|
|
#
|
Accepting request 454919 from home:Andreas_Schwab:Factory
- Update to glibc 2.25
* The feature test macro __STDC_WANT_LIB_EXT2__, from ISO/IEC TR
24731-2:2010, is supported to enable declarations of functions from that
TR.
* The feature test macro __STDC_WANT_IEC_60559_BFP_EXT__, from ISO/IEC TS
18661-1:2014, is supported to enable declarations of functions and macros
from that TS.
* The feature test macro __STDC_WANT_IEC_60559_FUNCS_EXT__, from ISO/IEC TS
18661-4:2015, is supported to enable declarations of functions and macros
from that TS.
* The nonstandard feature selection macros _REENTRANT and _THREAD_SAFE are
now treated as compatibility synonyms for _POSIX_C_SOURCE=199506L.
* The inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
* New <fenv.h> features from TS 18661-1:2014 are added to libm: the
fesetexcept, fetestexceptflag, fegetmode and fesetmode functions, the
femode_t type and the FE_DFL_MODE and FE_SNANS_ALWAYS_SIGNAL macros.
* Integer width macros from TS 18661-1:2014 are added to <limits.h>:
CHAR_WIDTH, SCHAR_WIDTH, UCHAR_WIDTH, SHRT_WIDTH, USHRT_WIDTH, INT_WIDTH,
UINT_WIDTH, LONG_WIDTH, ULONG_WIDTH, LLONG_WIDTH, ULLONG_WIDTH; and to
<stdint.h>: INT8_WIDTH, UINT8_WIDTH, INT16_WIDTH, UINT16_WIDTH,
INT32_WIDTH, UINT32_WIDTH, INT64_WIDTH, UINT64_WIDTH, INT_LEAST8_WIDTH,
UINT_LEAST8_WIDTH, INT_LEAST16_WIDTH, UINT_LEAST16_WIDTH,
INT_LEAST32_WIDTH, UINT_LEAST32_WIDTH, INT_LEAST64_WIDTH,
UINT_LEAST64_WIDTH, INT_FAST8_WIDTH, UINT_FAST8_WIDTH, INT_FAST16_WIDTH,
UINT_FAST16_WIDTH, INT_FAST32_WIDTH, UINT_FAST32_WIDTH, INT_FAST64_WIDTH,
UINT_FAST64_WIDTH, INTPTR_WIDTH, UINTPTR_WIDTH, INTMAX_WIDTH,
UINTMAX_WIDTH, PTRDIFF_WIDTH, SIG_ATOMIC_WIDTH, SIZE_WIDTH, WCHAR_WIDTH,
WINT_WIDTH.
* New <math.h> features are added from TS 18661-1:2014:
- Signaling NaN macros: SNANF, SNAN, SNANL.
OBS-URL: https://build.opensuse.org/request/show/454919
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=451
2017-02-06 11:25:17 +01:00
|
|
|
enable_stack_protector=
|
2021-03-08 16:03:02 +01:00
|
|
|
BuildFlags=
|
|
|
|
tmp="%{optflags}"
|
|
|
|
for opt in $tmp; do
|
Accepting request 454919 from home:Andreas_Schwab:Factory
- Update to glibc 2.25
* The feature test macro __STDC_WANT_LIB_EXT2__, from ISO/IEC TR
24731-2:2010, is supported to enable declarations of functions from that
TR.
* The feature test macro __STDC_WANT_IEC_60559_BFP_EXT__, from ISO/IEC TS
18661-1:2014, is supported to enable declarations of functions and macros
from that TS.
* The feature test macro __STDC_WANT_IEC_60559_FUNCS_EXT__, from ISO/IEC TS
18661-4:2015, is supported to enable declarations of functions and macros
from that TS.
* The nonstandard feature selection macros _REENTRANT and _THREAD_SAFE are
now treated as compatibility synonyms for _POSIX_C_SOURCE=199506L.
* The inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
* New <fenv.h> features from TS 18661-1:2014 are added to libm: the
fesetexcept, fetestexceptflag, fegetmode and fesetmode functions, the
femode_t type and the FE_DFL_MODE and FE_SNANS_ALWAYS_SIGNAL macros.
* Integer width macros from TS 18661-1:2014 are added to <limits.h>:
CHAR_WIDTH, SCHAR_WIDTH, UCHAR_WIDTH, SHRT_WIDTH, USHRT_WIDTH, INT_WIDTH,
UINT_WIDTH, LONG_WIDTH, ULONG_WIDTH, LLONG_WIDTH, ULLONG_WIDTH; and to
<stdint.h>: INT8_WIDTH, UINT8_WIDTH, INT16_WIDTH, UINT16_WIDTH,
INT32_WIDTH, UINT32_WIDTH, INT64_WIDTH, UINT64_WIDTH, INT_LEAST8_WIDTH,
UINT_LEAST8_WIDTH, INT_LEAST16_WIDTH, UINT_LEAST16_WIDTH,
INT_LEAST32_WIDTH, UINT_LEAST32_WIDTH, INT_LEAST64_WIDTH,
UINT_LEAST64_WIDTH, INT_FAST8_WIDTH, UINT_FAST8_WIDTH, INT_FAST16_WIDTH,
UINT_FAST16_WIDTH, INT_FAST32_WIDTH, UINT_FAST32_WIDTH, INT_FAST64_WIDTH,
UINT_FAST64_WIDTH, INTPTR_WIDTH, UINTPTR_WIDTH, INTMAX_WIDTH,
UINTMAX_WIDTH, PTRDIFF_WIDTH, SIG_ATOMIC_WIDTH, SIZE_WIDTH, WCHAR_WIDTH,
WINT_WIDTH.
* New <math.h> features are added from TS 18661-1:2014:
- Signaling NaN macros: SNANF, SNAN, SNANL.
OBS-URL: https://build.opensuse.org/request/show/454919
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=451
2017-02-06 11:25:17 +01:00
|
|
|
case $opt in
|
2021-03-08 16:03:02 +01:00
|
|
|
-fstack-protector-*) enable_stack_protector=${opt#-fstack-protector-} ;;
|
Accepting request 454919 from home:Andreas_Schwab:Factory
- Update to glibc 2.25
* The feature test macro __STDC_WANT_LIB_EXT2__, from ISO/IEC TR
24731-2:2010, is supported to enable declarations of functions from that
TR.
* The feature test macro __STDC_WANT_IEC_60559_BFP_EXT__, from ISO/IEC TS
18661-1:2014, is supported to enable declarations of functions and macros
from that TS.
* The feature test macro __STDC_WANT_IEC_60559_FUNCS_EXT__, from ISO/IEC TS
18661-4:2015, is supported to enable declarations of functions and macros
from that TS.
* The nonstandard feature selection macros _REENTRANT and _THREAD_SAFE are
now treated as compatibility synonyms for _POSIX_C_SOURCE=199506L.
* The inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
* New <fenv.h> features from TS 18661-1:2014 are added to libm: the
fesetexcept, fetestexceptflag, fegetmode and fesetmode functions, the
femode_t type and the FE_DFL_MODE and FE_SNANS_ALWAYS_SIGNAL macros.
* Integer width macros from TS 18661-1:2014 are added to <limits.h>:
CHAR_WIDTH, SCHAR_WIDTH, UCHAR_WIDTH, SHRT_WIDTH, USHRT_WIDTH, INT_WIDTH,
UINT_WIDTH, LONG_WIDTH, ULONG_WIDTH, LLONG_WIDTH, ULLONG_WIDTH; and to
<stdint.h>: INT8_WIDTH, UINT8_WIDTH, INT16_WIDTH, UINT16_WIDTH,
INT32_WIDTH, UINT32_WIDTH, INT64_WIDTH, UINT64_WIDTH, INT_LEAST8_WIDTH,
UINT_LEAST8_WIDTH, INT_LEAST16_WIDTH, UINT_LEAST16_WIDTH,
INT_LEAST32_WIDTH, UINT_LEAST32_WIDTH, INT_LEAST64_WIDTH,
UINT_LEAST64_WIDTH, INT_FAST8_WIDTH, UINT_FAST8_WIDTH, INT_FAST16_WIDTH,
UINT_FAST16_WIDTH, INT_FAST32_WIDTH, UINT_FAST32_WIDTH, INT_FAST64_WIDTH,
UINT_FAST64_WIDTH, INTPTR_WIDTH, UINTPTR_WIDTH, INTMAX_WIDTH,
UINTMAX_WIDTH, PTRDIFF_WIDTH, SIG_ATOMIC_WIDTH, SIZE_WIDTH, WCHAR_WIDTH,
WINT_WIDTH.
* New <math.h> features are added from TS 18661-1:2014:
- Signaling NaN macros: SNANF, SNAN, SNANL.
OBS-URL: https://build.opensuse.org/request/show/454919
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=451
2017-02-06 11:25:17 +01:00
|
|
|
-fstack-protector) enable_stack_protector=yes ;;
|
Accepting request 1102127 from home:Andreas_Schwab:Factory
- Update to glibc 2.38
* When C2X features are enabled and the base argument is 0 or 2, the
following functions support binary integers prefixed by 0b or 0B as
input
* PRIb*, PRIB* and SCNb* macros from C2X have been added to
<inttypes.h>.
* printf-family functions now support the wN format length modifiers for
arguments of type intN_t, int_leastN_t, uintN_t or uint_leastN_t
and the wfN format
length modifiers for arguments of type int_fastN_t or uint_fastN_t, as
specified in draft ISO C2X
* A new tunable, glibc.pthread.stack_hugetlb, can be used to disable
Transparent Huge Pages (THP) in stack allocation at pthread_create
* Vector math library libmvec support has been added to AArch64
* The strlcpy and strlcat functions have been added
* CVE-2023-25139: When the printf family of functions is called with a
format specifier that uses an <apostrophe> (enable grouping) and a
minimum width specifier, the resulting output could be larger than
reasonably expected by a caller that computed a tight bound on the
buffer size
- Enable build with _FORTIFY_SOURCE
- glibc-2.3.90-langpackdir.diff: avoid reference to __strcpy_chk
- iconv-error-verbosity.patch: iconv: restore verbosity with unrecognized
encoding names (BZ #30694)
- printf-grouping.patch, strftime-time64.patch,
getlogin-no-loginuid.patch, fix-locking-in-_IO_cleanup.patch,
gshadow-erange-rhandling.patch, system-sigchld-block.patch,
gmon-buffer-alloc.patch, check-pf-cancel-handler.patch,
powerpc64-fcntl-lock.patch, realloc-limit-chunk-reuse.patch,
dl-find-object-return.patch; Removed
OBS-URL: https://build.opensuse.org/request/show/1102127
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=657
2023-08-03 10:05:05 +02:00
|
|
|
-D_FORTIFY_SOURCE=*) enable_fortify_source=${opt#-D_FORTIFY_SOURCE=} ;;
|
2021-03-08 16:03:02 +01:00
|
|
|
-ffortify=* | *_FORTIFY_SOURCE*) ;;
|
2021-05-04 15:27:53 +02:00
|
|
|
%if "%flavor" == "i686"
|
|
|
|
*i586*) BuildFlags+=" ${opt/i586/i686}" ;;
|
2021-08-11 14:09:30 +02:00
|
|
|
%endif
|
|
|
|
%if %{build_cross}
|
|
|
|
-m*) ;; # remove all machine specific options for crosses
|
2021-05-04 15:27:53 +02:00
|
|
|
%endif
|
2021-03-08 16:03:02 +01:00
|
|
|
*) BuildFlags+=" $opt" ;;
|
Accepting request 454919 from home:Andreas_Schwab:Factory
- Update to glibc 2.25
* The feature test macro __STDC_WANT_LIB_EXT2__, from ISO/IEC TR
24731-2:2010, is supported to enable declarations of functions from that
TR.
* The feature test macro __STDC_WANT_IEC_60559_BFP_EXT__, from ISO/IEC TS
18661-1:2014, is supported to enable declarations of functions and macros
from that TS.
* The feature test macro __STDC_WANT_IEC_60559_FUNCS_EXT__, from ISO/IEC TS
18661-4:2015, is supported to enable declarations of functions and macros
from that TS.
* The nonstandard feature selection macros _REENTRANT and _THREAD_SAFE are
now treated as compatibility synonyms for _POSIX_C_SOURCE=199506L.
* The inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
* New <fenv.h> features from TS 18661-1:2014 are added to libm: the
fesetexcept, fetestexceptflag, fegetmode and fesetmode functions, the
femode_t type and the FE_DFL_MODE and FE_SNANS_ALWAYS_SIGNAL macros.
* Integer width macros from TS 18661-1:2014 are added to <limits.h>:
CHAR_WIDTH, SCHAR_WIDTH, UCHAR_WIDTH, SHRT_WIDTH, USHRT_WIDTH, INT_WIDTH,
UINT_WIDTH, LONG_WIDTH, ULONG_WIDTH, LLONG_WIDTH, ULLONG_WIDTH; and to
<stdint.h>: INT8_WIDTH, UINT8_WIDTH, INT16_WIDTH, UINT16_WIDTH,
INT32_WIDTH, UINT32_WIDTH, INT64_WIDTH, UINT64_WIDTH, INT_LEAST8_WIDTH,
UINT_LEAST8_WIDTH, INT_LEAST16_WIDTH, UINT_LEAST16_WIDTH,
INT_LEAST32_WIDTH, UINT_LEAST32_WIDTH, INT_LEAST64_WIDTH,
UINT_LEAST64_WIDTH, INT_FAST8_WIDTH, UINT_FAST8_WIDTH, INT_FAST16_WIDTH,
UINT_FAST16_WIDTH, INT_FAST32_WIDTH, UINT_FAST32_WIDTH, INT_FAST64_WIDTH,
UINT_FAST64_WIDTH, INTPTR_WIDTH, UINTPTR_WIDTH, INTMAX_WIDTH,
UINTMAX_WIDTH, PTRDIFF_WIDTH, SIG_ATOMIC_WIDTH, SIZE_WIDTH, WCHAR_WIDTH,
WINT_WIDTH.
* New <math.h> features are added from TS 18661-1:2014:
- Signaling NaN macros: SNANF, SNAN, SNANL.
OBS-URL: https://build.opensuse.org/request/show/454919
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=451
2017-02-06 11:25:17 +01:00
|
|
|
esac
|
|
|
|
done
|
2021-05-04 15:27:53 +02:00
|
|
|
%if "%flavor" == "i686"
|
|
|
|
BuildFlags+=" -march=i686 -mtune=generic"
|
2023-10-18 09:56:57 +02:00
|
|
|
%else
|
|
|
|
%if !%{build_cross}
|
|
|
|
%ifarch i586
|
|
|
|
# workaround for unaligned stack in java-11-openjdk and mariadb
|
|
|
|
# by avoiding use of SSE
|
|
|
|
BuildFlags+=" -march=i586"
|
|
|
|
%endif
|
|
|
|
%endif
|
2021-05-04 15:27:53 +02:00
|
|
|
%endif
|
2023-07-11 09:54:23 +02:00
|
|
|
%if 0%{?with_gcc:1}
|
|
|
|
BuildCC="gcc-%{with_gcc}"
|
|
|
|
BuildCCplus="g++-%{with_gcc}"
|
|
|
|
%else
|
2011-10-10 15:44:00 +02:00
|
|
|
BuildCC="%__cc"
|
|
|
|
BuildCCplus="%__cxx"
|
2023-07-11 09:54:23 +02:00
|
|
|
%endif
|
2021-11-17 16:17:26 +01:00
|
|
|
|
2009-02-20 08:46:43 +01:00
|
|
|
#
|
|
|
|
#now overwrite for some architectures
|
|
|
|
#
|
2021-08-11 14:09:30 +02:00
|
|
|
%if %{build_cross}
|
2023-08-29 12:52:07 +02:00
|
|
|
BuildCC=%{cross_cpu}-suse-linux-gcc
|
|
|
|
BuildCCplus=%{cross_cpu}-suse-linux-g++
|
2021-08-11 14:09:30 +02:00
|
|
|
%else
|
2009-02-20 08:46:43 +01:00
|
|
|
%ifarch sparc64
|
2010-01-03 12:31:34 +01:00
|
|
|
BuildFlags="-O2 -mcpu=ultrasparc -mvis -fcall-used-g6"
|
|
|
|
BuildCC="gcc -m64"
|
|
|
|
BuildCCplus="$BuildCCplus -m64"
|
2009-02-20 08:46:43 +01:00
|
|
|
%endif
|
|
|
|
%ifarch sparc
|
2010-01-03 12:31:34 +01:00
|
|
|
BuildFlags="$BuildFlags -fcall-used-g6"
|
|
|
|
BuildCC="gcc -m32"
|
|
|
|
BuildCCplus="$BuildCCplus -m32"
|
2009-02-20 08:46:43 +01:00
|
|
|
%endif
|
|
|
|
%ifarch sparcv9
|
2010-01-03 12:31:34 +01:00
|
|
|
BuildFlags="$BuildFlags -mcpu=ultrasparc -fcall-used-g6"
|
|
|
|
BuildCC="gcc -m32"
|
|
|
|
BuildCCplus="$BuildCCplus -m32"
|
2009-02-20 08:46:43 +01:00
|
|
|
%endif
|
|
|
|
%ifarch alphaev6
|
2010-01-03 12:31:34 +01:00
|
|
|
BuildFlags="-mcpu=ev6"
|
2009-02-20 08:46:43 +01:00
|
|
|
%endif
|
|
|
|
%ifarch ppc ppc64
|
2010-01-03 12:31:34 +01:00
|
|
|
BuildFlags="$(echo $BuildFlags | sed 's#-mminimal-toc##')"
|
2021-01-20 11:10:56 +01:00
|
|
|
BuildFlags+=" -mtune=power5"
|
2009-02-20 08:46:43 +01:00
|
|
|
%endif
|
|
|
|
%ifarch ppc64
|
2010-01-03 12:31:34 +01:00
|
|
|
BuildCC="$BuildCC -m64"
|
|
|
|
BuildCCplus="$BuildCCplus -m64"
|
2009-02-20 08:46:43 +01:00
|
|
|
%endif
|
|
|
|
%ifarch hppa
|
2010-01-03 12:31:34 +01:00
|
|
|
BuildFlags="$BuildFlags -mpa-risc-1-1 -fstrict-aliasing"
|
2009-02-20 08:46:43 +01:00
|
|
|
%endif
|
|
|
|
%if %{disable_assert}
|
2010-01-03 12:31:34 +01:00
|
|
|
BuildFlags="$BuildFlags -DNDEBUG=1"
|
2009-02-20 08:46:43 +01:00
|
|
|
%endif
|
2013-08-06 16:52:55 +02:00
|
|
|
%ifarch mipsel
|
2010-01-03 12:31:34 +01:00
|
|
|
# fails to build otherwise - need to recheck and fix
|
|
|
|
%define enable_stackguard_randomization 0
|
2009-05-27 12:39:38 +02:00
|
|
|
%endif
|
2021-08-11 14:09:30 +02:00
|
|
|
%endif
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2021-01-20 11:10:56 +01:00
|
|
|
#
|
|
|
|
# Build base glibc
|
|
|
|
#
|
|
|
|
mkdir cc-base
|
|
|
|
cd cc-base
|
2012-04-18 13:54:26 +02:00
|
|
|
%if %{build_profile}
|
2021-01-20 11:10:56 +01:00
|
|
|
profile="--enable-profile"
|
|
|
|
%else
|
|
|
|
profile="--disable-profile"
|
|
|
|
%endif
|
2021-08-11 14:09:30 +02:00
|
|
|
|
2021-01-20 11:10:56 +01:00
|
|
|
../configure \
|
2021-04-12 15:42:33 +02:00
|
|
|
CFLAGS="$BuildFlags" BUILD_CFLAGS="$BuildFlags" \
|
2021-01-20 11:10:56 +01:00
|
|
|
CC="$BuildCC" CXX="$BuildCCplus" \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--libexecdir=%{_libexecdir} --infodir=%{_infodir} \
|
|
|
|
$profile \
|
2021-08-12 10:36:15 +02:00
|
|
|
--build=%{build} --host=${target} \
|
2021-08-11 14:09:30 +02:00
|
|
|
%if %{build_cross}
|
|
|
|
--with-headers=%{sysroot}/usr/include \
|
|
|
|
%else
|
2017-06-22 14:54:01 +02:00
|
|
|
%ifarch armv7hl ppc ppc64 ppc64le i686 x86_64 sparc sparc64 s390 s390x
|
2021-01-20 11:10:56 +01:00
|
|
|
--enable-multi-arch \
|
2009-05-27 12:39:38 +02:00
|
|
|
%endif
|
2021-02-16 16:33:24 +01:00
|
|
|
%ifarch aarch64
|
|
|
|
--enable-memory-tagging \
|
|
|
|
%endif
|
2011-10-10 15:44:00 +02:00
|
|
|
%ifarch mipsel
|
2021-01-20 11:10:56 +01:00
|
|
|
--without-fp \
|
|
|
|
%endif
|
|
|
|
%ifarch ppc
|
|
|
|
--with-cpu=power4 \
|
2013-08-06 16:52:55 +02:00
|
|
|
%endif
|
|
|
|
%ifarch ppc64p7
|
2021-01-20 11:10:56 +01:00
|
|
|
--with-cpu=power7 \
|
2011-10-10 15:44:00 +02:00
|
|
|
%endif
|
2020-10-28 11:40:07 +01:00
|
|
|
%ifarch x86_64
|
|
|
|
%if %suse_version > 1500
|
2021-01-20 11:10:56 +01:00
|
|
|
--enable-cet \
|
2020-10-28 11:40:07 +01:00
|
|
|
%endif
|
|
|
|
%endif
|
2021-08-11 14:09:30 +02:00
|
|
|
--enable-systemtap \
|
|
|
|
%endif
|
Accepting request 454919 from home:Andreas_Schwab:Factory
- Update to glibc 2.25
* The feature test macro __STDC_WANT_LIB_EXT2__, from ISO/IEC TR
24731-2:2010, is supported to enable declarations of functions from that
TR.
* The feature test macro __STDC_WANT_IEC_60559_BFP_EXT__, from ISO/IEC TS
18661-1:2014, is supported to enable declarations of functions and macros
from that TS.
* The feature test macro __STDC_WANT_IEC_60559_FUNCS_EXT__, from ISO/IEC TS
18661-4:2015, is supported to enable declarations of functions and macros
from that TS.
* The nonstandard feature selection macros _REENTRANT and _THREAD_SAFE are
now treated as compatibility synonyms for _POSIX_C_SOURCE=199506L.
* The inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
* New <fenv.h> features from TS 18661-1:2014 are added to libm: the
fesetexcept, fetestexceptflag, fegetmode and fesetmode functions, the
femode_t type and the FE_DFL_MODE and FE_SNANS_ALWAYS_SIGNAL macros.
* Integer width macros from TS 18661-1:2014 are added to <limits.h>:
CHAR_WIDTH, SCHAR_WIDTH, UCHAR_WIDTH, SHRT_WIDTH, USHRT_WIDTH, INT_WIDTH,
UINT_WIDTH, LONG_WIDTH, ULONG_WIDTH, LLONG_WIDTH, ULLONG_WIDTH; and to
<stdint.h>: INT8_WIDTH, UINT8_WIDTH, INT16_WIDTH, UINT16_WIDTH,
INT32_WIDTH, UINT32_WIDTH, INT64_WIDTH, UINT64_WIDTH, INT_LEAST8_WIDTH,
UINT_LEAST8_WIDTH, INT_LEAST16_WIDTH, UINT_LEAST16_WIDTH,
INT_LEAST32_WIDTH, UINT_LEAST32_WIDTH, INT_LEAST64_WIDTH,
UINT_LEAST64_WIDTH, INT_FAST8_WIDTH, UINT_FAST8_WIDTH, INT_FAST16_WIDTH,
UINT_FAST16_WIDTH, INT_FAST32_WIDTH, UINT_FAST32_WIDTH, INT_FAST64_WIDTH,
UINT_FAST64_WIDTH, INTPTR_WIDTH, UINTPTR_WIDTH, INTMAX_WIDTH,
UINTMAX_WIDTH, PTRDIFF_WIDTH, SIG_ATOMIC_WIDTH, SIZE_WIDTH, WCHAR_WIDTH,
WINT_WIDTH.
* New <math.h> features are added from TS 18661-1:2014:
- Signaling NaN macros: SNANF, SNAN, SNANL.
OBS-URL: https://build.opensuse.org/request/show/454919
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=451
2017-02-06 11:25:17 +01:00
|
|
|
%if %{enable_stackguard_randomization}
|
2021-01-20 11:10:56 +01:00
|
|
|
--enable-stackguard-randomization \
|
|
|
|
%endif
|
|
|
|
${enable_stack_protector:+--enable-stack-protector=$enable_stack_protector} \
|
Accepting request 1102127 from home:Andreas_Schwab:Factory
- Update to glibc 2.38
* When C2X features are enabled and the base argument is 0 or 2, the
following functions support binary integers prefixed by 0b or 0B as
input
* PRIb*, PRIB* and SCNb* macros from C2X have been added to
<inttypes.h>.
* printf-family functions now support the wN format length modifiers for
arguments of type intN_t, int_leastN_t, uintN_t or uint_leastN_t
and the wfN format
length modifiers for arguments of type int_fastN_t or uint_fastN_t, as
specified in draft ISO C2X
* A new tunable, glibc.pthread.stack_hugetlb, can be used to disable
Transparent Huge Pages (THP) in stack allocation at pthread_create
* Vector math library libmvec support has been added to AArch64
* The strlcpy and strlcat functions have been added
* CVE-2023-25139: When the printf family of functions is called with a
format specifier that uses an <apostrophe> (enable grouping) and a
minimum width specifier, the resulting output could be larger than
reasonably expected by a caller that computed a tight bound on the
buffer size
- Enable build with _FORTIFY_SOURCE
- glibc-2.3.90-langpackdir.diff: avoid reference to __strcpy_chk
- iconv-error-verbosity.patch: iconv: restore verbosity with unrecognized
encoding names (BZ #30694)
- printf-grouping.patch, strftime-time64.patch,
getlogin-no-loginuid.patch, fix-locking-in-_IO_cleanup.patch,
gshadow-erange-rhandling.patch, system-sigchld-block.patch,
gmon-buffer-alloc.patch, check-pf-cancel-handler.patch,
powerpc64-fcntl-lock.patch, realloc-limit-chunk-reuse.patch,
dl-find-object-return.patch; Removed
OBS-URL: https://build.opensuse.org/request/show/1102127
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=657
2023-08-03 10:05:05 +02:00
|
|
|
%if !%{build_cross}
|
|
|
|
${enable_fortify_source:+--enable-fortify-source=$enable_fortify_source} \
|
|
|
|
%endif
|
2021-01-20 11:10:56 +01:00
|
|
|
--enable-tunables \
|
|
|
|
--enable-kernel=%{enablekernel} \
|
|
|
|
--with-bugurl=http://bugs.opensuse.org \
|
|
|
|
--enable-bind-now \
|
|
|
|
--disable-timezone-tools \
|
2023-05-25 11:15:20 +02:00
|
|
|
%if %{with livepatching}
|
|
|
|
--enable-userspace-livepatch \
|
|
|
|
%endif
|
2021-08-11 14:09:30 +02:00
|
|
|
--disable-crypt || \
|
|
|
|
{
|
|
|
|
rc=$?;
|
|
|
|
echo "------- BEGIN config.log ------";
|
|
|
|
%{__cat} config.log;
|
|
|
|
echo "------- END config.log ------";
|
|
|
|
exit $rc;
|
|
|
|
}
|
|
|
|
|
2023-03-21 15:31:39 +01:00
|
|
|
%if %{build_main} && %{with livepatching}
|
|
|
|
# Append necessary flags for livepatch support, if enabled. Only objects
|
|
|
|
# included in shared libraries should be prepared for live patching.
|
2023-05-25 11:15:20 +02:00
|
|
|
echo 'CFLAGS-.os += -fdump-ipa-clones' \
|
2023-03-21 15:31:39 +01:00
|
|
|
>> Makeconfig
|
|
|
|
%endif
|
|
|
|
|
|
|
|
make %{?_smp_mflags} %{?make_output_sync}
|
2021-01-20 11:10:56 +01:00
|
|
|
cd ..
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2009-02-20 08:46:43 +01:00
|
|
|
#
|
|
|
|
# Build html documentation
|
|
|
|
#
|
2012-04-16 22:11:08 +02:00
|
|
|
%if %{build_html}
|
2022-06-27 11:59:57 +02:00
|
|
|
make %{?_smp_mflags} %{?make_output_sync} -C cc-base html
|
2012-04-16 22:11:08 +02:00
|
|
|
%endif
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2022-11-28 12:23:25 +01:00
|
|
|
# sysusers.d
|
|
|
|
%sysusers_generate_pre %{SOURCE22} nscd nscd.conf
|
|
|
|
|
2009-02-20 08:46:43 +01:00
|
|
|
%check
|
2017-07-12 15:21:16 +02:00
|
|
|
%if %{build_testsuite}
|
2012-04-13 11:37:44 +02:00
|
|
|
# The testsuite will fail if asneeded is used
|
|
|
|
export SUSE_ASNEEDED=0
|
2022-06-09 14:04:12 +02:00
|
|
|
# The testsuite will fail if -znow is used
|
|
|
|
export SUSE_ZNOW=0
|
2012-12-17 14:15:06 +01:00
|
|
|
# Increase timeout
|
|
|
|
export TIMEOUTFACTOR=16
|
2016-07-07 14:43:40 +02:00
|
|
|
# The testsuite does its own malloc checking
|
Accepting request 1143408 from home:Andreas_Schwab:Factory
- Update to glibc 2.39
* A new tunable, glibc.cpu.plt_rewrite, can be used to enable PLT
rewrite on x86-64
* Sync with Linux kernel 6.6 shadow stack interface
* struct statvfs now has an f_type member, equal to the f_type statfs
member
* On Linux, the functions posix_spawnattr_getcgroup_np and
posix_spawnattr_setcgroup_np have been added, along with the
POSIX_SPAWN_SETCGROUP flag
* On Linux, the pidfd_spawn and pidfd_spawp functions have been added
* On Linux, the pidfd_getpid function has been added
* scanf-family functions now support the wN format length modifiers for
arguments pointing to types intN_t, int_leastN_t, uintN_t or
uint_leastN_t
* A new tunable, glibc.mem.decorate_maps, can be used to add additional
information on underlying memory allocated by the glibc
* The <stdbit.h> header has been added from ISO C2X
* On AArch64 new symbols were added to libmvec
* The ldconfig program now skips file names containing ';' or ending in
".dpkg.tmp" or ".dpkg.new"
* The dynamic linker calls the malloc and free functions in more cases
during TLS access if a shared object with dynamic TLS is loaded and
unloaded
- aarch64-rawmemchr-unwind.patch, cache-amd-legacy.patch,
cache-intel-shared.patch, call-init-proxy-objects.patch,
fstat-implementation.patch, gb18030-2022.patch,
getaddrinfo-eai-memory.patch, getaddrinfo-memory-leak.patch,
getcanonname-use-after-free.patch, iconv-error-verbosity.patch,
intl-c-utf-8-like-c-locale.patch, ldconfig-process-elf-file.patch,
libio-io-vtables.patch, libio-wdo-write.patch,
OBS-URL: https://build.opensuse.org/request/show/1143408
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=692
2024-02-01 15:30:28 +01:00
|
|
|
unset MALLOC_CHECK_ MALLOC_PERTURB_
|
2022-06-27 11:59:57 +02:00
|
|
|
make %{?_smp_mflags} %{?make_output_sync} -C cc-base -k check || {
|
2014-09-15 12:37:45 +02:00
|
|
|
cd cc-base
|
|
|
|
o=$-
|
|
|
|
set +x
|
Accepting request 454919 from home:Andreas_Schwab:Factory
- Update to glibc 2.25
* The feature test macro __STDC_WANT_LIB_EXT2__, from ISO/IEC TR
24731-2:2010, is supported to enable declarations of functions from that
TR.
* The feature test macro __STDC_WANT_IEC_60559_BFP_EXT__, from ISO/IEC TS
18661-1:2014, is supported to enable declarations of functions and macros
from that TS.
* The feature test macro __STDC_WANT_IEC_60559_FUNCS_EXT__, from ISO/IEC TS
18661-4:2015, is supported to enable declarations of functions and macros
from that TS.
* The nonstandard feature selection macros _REENTRANT and _THREAD_SAFE are
now treated as compatibility synonyms for _POSIX_C_SOURCE=199506L.
* The inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
* New <fenv.h> features from TS 18661-1:2014 are added to libm: the
fesetexcept, fetestexceptflag, fegetmode and fesetmode functions, the
femode_t type and the FE_DFL_MODE and FE_SNANS_ALWAYS_SIGNAL macros.
* Integer width macros from TS 18661-1:2014 are added to <limits.h>:
CHAR_WIDTH, SCHAR_WIDTH, UCHAR_WIDTH, SHRT_WIDTH, USHRT_WIDTH, INT_WIDTH,
UINT_WIDTH, LONG_WIDTH, ULONG_WIDTH, LLONG_WIDTH, ULLONG_WIDTH; and to
<stdint.h>: INT8_WIDTH, UINT8_WIDTH, INT16_WIDTH, UINT16_WIDTH,
INT32_WIDTH, UINT32_WIDTH, INT64_WIDTH, UINT64_WIDTH, INT_LEAST8_WIDTH,
UINT_LEAST8_WIDTH, INT_LEAST16_WIDTH, UINT_LEAST16_WIDTH,
INT_LEAST32_WIDTH, UINT_LEAST32_WIDTH, INT_LEAST64_WIDTH,
UINT_LEAST64_WIDTH, INT_FAST8_WIDTH, UINT_FAST8_WIDTH, INT_FAST16_WIDTH,
UINT_FAST16_WIDTH, INT_FAST32_WIDTH, UINT_FAST32_WIDTH, INT_FAST64_WIDTH,
UINT_FAST64_WIDTH, INTPTR_WIDTH, UINTPTR_WIDTH, INTMAX_WIDTH,
UINTMAX_WIDTH, PTRDIFF_WIDTH, SIG_ATOMIC_WIDTH, SIZE_WIDTH, WCHAR_WIDTH,
WINT_WIDTH.
* New <math.h> features are added from TS 18661-1:2014:
- Signaling NaN macros: SNANF, SNAN, SNANL.
OBS-URL: https://build.opensuse.org/request/show/454919
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=451
2017-02-06 11:25:17 +01:00
|
|
|
for sum in subdir-tests.sum */subdir-tests.sum; do
|
2014-09-15 12:37:45 +02:00
|
|
|
while read s t; do
|
|
|
|
case $s in
|
|
|
|
XPASS:|PASS:)
|
|
|
|
echo ++++++ $s $t ++++++
|
|
|
|
;;
|
|
|
|
*) # X?FAIL:
|
|
|
|
echo ------ $s $t ------
|
|
|
|
test ! -f $t.out || cat $t.out
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done < $sum
|
|
|
|
done
|
|
|
|
set -$o
|
2016-06-13 09:05:23 +02:00
|
|
|
# Fail build if there where compilation errors during testsuite run
|
|
|
|
test -f tests.sum
|
2014-09-15 12:37:45 +02:00
|
|
|
}
|
2012-12-17 14:15:06 +01:00
|
|
|
%else
|
2012-08-28 14:25:24 +02:00
|
|
|
# This has to pass on all platforms!
|
2012-04-17 14:34:50 +02:00
|
|
|
# Exceptions:
|
2012-10-25 18:41:15 +02:00
|
|
|
# None!
|
2022-06-27 11:59:57 +02:00
|
|
|
make %{?_smp_mflags} %{?make_output_sync} -C cc-base check-abi
|
2023-08-22 14:33:42 +02:00
|
|
|
make %{?_smp_mflags} %{?make_output_sync} -C cc-base test t=elf/check-localplt
|
2013-01-24 18:32:50 +01:00
|
|
|
%endif
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2021-02-18 14:40:31 +01:00
|
|
|
%define rtldlib %{_lib}
|
|
|
|
# Each architecture has a different name for the dynamic linker:
|
|
|
|
%ifarch %arm
|
|
|
|
%ifarch armv6hl armv7hl
|
|
|
|
%define rtld_name ld-linux-armhf.so.3
|
|
|
|
# Keep compatibility link
|
|
|
|
%define rtld_oldname ld-linux.so.3
|
|
|
|
%else
|
|
|
|
%define rtld_name ld-linux.so.3
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%ifarch ia64
|
|
|
|
%define rtld_name ld-linux-ia64.so.2
|
|
|
|
%endif
|
|
|
|
%ifarch ppc s390 mips hppa m68k
|
|
|
|
%define rtld_name ld.so.1
|
|
|
|
%endif
|
|
|
|
%ifarch ppc64
|
|
|
|
%define rtld_name ld64.so.1
|
|
|
|
%endif
|
|
|
|
%ifarch ppc64le
|
|
|
|
%define rtld_name ld64.so.2
|
|
|
|
%endif
|
|
|
|
%ifarch s390x
|
|
|
|
%define rtldlib lib
|
|
|
|
%define rtld_name ld64.so.1
|
|
|
|
%endif
|
|
|
|
%ifarch x86_64
|
|
|
|
%define rtld_name ld-linux-x86-64.so.2
|
|
|
|
%endif
|
|
|
|
%ifarch %ix86 %sparc
|
|
|
|
%define rtld_name ld-linux.so.2
|
|
|
|
%endif
|
|
|
|
%ifarch aarch64
|
|
|
|
%define rtldlib lib
|
|
|
|
%define rtld_name ld-linux-aarch64.so.1
|
|
|
|
%endif
|
|
|
|
%ifarch riscv64
|
|
|
|
%define rtldlib lib
|
|
|
|
%define rtld_name ld-linux-riscv64-lp64d.so.1
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with usrmerged}
|
|
|
|
%define rootsbindir %{_sbindir}
|
|
|
|
%define slibdir %{_libdir}
|
|
|
|
%define rtlddir %{_prefix}/%{rtldlib}
|
|
|
|
%else
|
|
|
|
%define rootsbindir /sbin
|
|
|
|
%define slibdir /%{_lib}
|
|
|
|
%define rtlddir /%{rtldlib}
|
|
|
|
%endif
|
|
|
|
|
2009-02-20 08:46:43 +01:00
|
|
|
%install
|
2018-02-26 12:20:11 +01:00
|
|
|
%if !%{build_testsuite}
|
2021-02-18 14:40:31 +01:00
|
|
|
|
|
|
|
%if %{with usrmerged}
|
|
|
|
mkdir -p %{buildroot}%{_libdir}
|
|
|
|
ln -s %{buildroot}%{_libdir} %{buildroot}/%{_lib}
|
|
|
|
%if "%{rtldlib}" != "%{_lib}"
|
|
|
|
mkdir -p %{buildroot}%{rtlddir}
|
|
|
|
ln -s %{buildroot}%{rtlddir} %{buildroot}/%{rtldlib}
|
|
|
|
%endif
|
|
|
|
mkdir -p %{buildroot}%{_sbindir}
|
|
|
|
ln -s %{buildroot}%{_sbindir} %{buildroot}/sbin
|
|
|
|
%endif
|
|
|
|
|
2021-08-11 14:09:30 +02:00
|
|
|
%if !%{build_cross}
|
2018-02-26 12:20:11 +01:00
|
|
|
%ifarch riscv64
|
|
|
|
mkdir -p %{buildroot}%{_libdir}
|
|
|
|
ln -s . %{buildroot}%{_libdir}/lp64d
|
2021-02-18 14:40:31 +01:00
|
|
|
%if "%{slibdir}" != "%{_libdir}"
|
|
|
|
mkdir -p %{buildroot}%{slibdir}
|
|
|
|
ln -s . %{buildroot}%{slibdir}/lp64d
|
2018-02-26 12:20:11 +01:00
|
|
|
%endif
|
|
|
|
%endif
|
2021-08-11 14:09:30 +02:00
|
|
|
%endif
|
2018-02-26 12:20:11 +01:00
|
|
|
|
2017-07-12 15:21:16 +02:00
|
|
|
%if %{build_main}
|
2022-01-06 09:51:26 +01:00
|
|
|
|
|
|
|
%if %{with livepatching}
|
|
|
|
%define tar_basename glibc-livepatch-%{version}-%{release}
|
|
|
|
%define tar_package_name %{tar_basename}.%{_arch}.tar.xz
|
|
|
|
%define clones_dest_dir %{tar_basename}/%{_arch}
|
|
|
|
|
|
|
|
# Ipa-clones are files generated by gcc which logs changes made across
|
|
|
|
# functions, and we need to know such changes to build livepatches
|
|
|
|
# correctly. These files are intended to be used by the livepatch
|
|
|
|
# developers and may be retrieved by using `osc getbinaries`.
|
|
|
|
#
|
|
|
|
# Create ipa-clones destination folder and move clones there.
|
|
|
|
mkdir -p ipa-clones/%{clones_dest_dir}
|
|
|
|
find . -name "*.ipa-clones" ! -empty \
|
|
|
|
-exec cp -t ipa-clones/%{clones_dest_dir} --parents {} +
|
|
|
|
|
|
|
|
# Create tarball with ipa-clones.
|
|
|
|
tar -cJf %{tar_package_name} -C ipa-clones \
|
|
|
|
--owner root --group root --sort name %{tar_basename}
|
|
|
|
|
|
|
|
# Copy tarball to the OTHER folder to store it as artifact.
|
|
|
|
cp %{tar_package_name} %{_topdir}/OTHER
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2009-02-20 08:46:43 +01:00
|
|
|
# We don't want to strip the .symtab from our libraries in find-debuginfo.sh,
|
Accepting request 909816 from home:Andreas_Schwab:Factory
- Update to glibc 2.34
Major new features:
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
PTHREAD_STACK_MIN is no longer constant and is redefined to
sysconf(_SC_THREAD_STACK_MIN)
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ
* The dynamic linker implements the --list-diagnostics option, printing
a dump of information related to IFUNC resolver operation and
glibc-hwcaps subdirectory selection
* On Linux, the function execveat has been added
* The ISO C2X function timespec_getres has been added
* The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
C2X, is supported to enable declarations of functions defined in Annex F
of C2X
* Add support for 64-bit time_t on configurations like x86 where time_t
is traditionally 32-bit
* The main gconv-modules file in glibc now contains only a small set of
essential converter modules and the rest have been moved into a supplementary
configuration file gconv-modules-extra.conf in the gconv-modules.d directory
in the same GCONV_PATH
* On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
to configure the size of the thread stack cache
* The function _Fork has been added as an async-signal-safe fork replacement
since Austin Group issue 62 droped the async-signal-safe requirement for
fork (and it will be included in the future POSIX standard)
* On Linux, the close_range function has been added
* The function closefrom has been added
* The posix_spawn_file_actions_closefrom_np function has been added, enabling
posix_spawn and posix_spawnp to close all file descriptors great than or
equal to a giver integer
OBS-URL: https://build.opensuse.org/request/show/909816
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=601
2021-08-02 16:53:08 +02:00
|
|
|
# certainly not from libc.so.* because it is used by libthread_db to find
|
2009-02-20 08:46:43 +01:00
|
|
|
# some non-exported symbols in order to detect if threading support
|
|
|
|
# should be enabled. These symbols are _not_ exported, and we can't easily
|
|
|
|
# export them retroactively without changing the ABI. So we have to
|
|
|
|
# continue to "export" them via .symtab, instead of .dynsym :-(
|
2010-01-03 12:31:34 +01:00
|
|
|
# But we also want to keep .symtab and .strtab of other libraries since some
|
|
|
|
# debugging tools currently require these sections directly inside the main
|
|
|
|
# files - specifically valgrind and PurifyPlus.
|
|
|
|
export STRIP_KEEP_SYMTAB=*.so*
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2010-01-03 12:31:34 +01:00
|
|
|
# Install base glibc
|
2022-06-27 11:59:57 +02:00
|
|
|
make %{?_smp_mflags} %{?make_output_sync} install_root=%{buildroot} install -C cc-base
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2010-01-03 12:31:34 +01:00
|
|
|
# Install locales
|
2009-02-20 08:46:43 +01:00
|
|
|
%if %{build_locales}
|
2010-01-03 12:31:34 +01:00
|
|
|
cd cc-base
|
2012-08-28 14:25:24 +02:00
|
|
|
# localedef creates hardlinks to other locales if possible
|
|
|
|
# this will not work if we generate them in parallel.
|
|
|
|
# thus we need to run fdupes on /usr/lib/locale/
|
|
|
|
# Still, on my system this is a speed advantage:
|
2019-02-18 14:35:23 +01:00
|
|
|
# non-parallel build for install-locales: 9:34mins
|
2012-08-28 14:25:24 +02:00
|
|
|
# parallel build with fdupes: 7:08mins
|
2022-06-27 11:59:57 +02:00
|
|
|
make %{?_smp_mflags} %{?make_output_sync} install_root=%{buildroot} localedata/install-locales
|
2018-09-12 09:22:12 +02:00
|
|
|
# Avoid hardlinks across subpackages
|
|
|
|
mv %{buildroot}/usr/lib/locale/{en_US,C}.utf8 .
|
2012-08-28 14:25:24 +02:00
|
|
|
%fdupes %{buildroot}/usr/lib/locale
|
2018-09-12 09:22:12 +02:00
|
|
|
mv {en_US,C}.utf8 %{buildroot}/usr/lib/locale/
|
2010-01-03 12:31:34 +01:00
|
|
|
cd ..
|
2009-02-20 08:46:43 +01:00
|
|
|
%endif
|
2020-04-23 12:06:33 +02:00
|
|
|
|
|
|
|
%ifnarch i686
|
2020-04-20 16:05:31 +02:00
|
|
|
# Create file list for glibc-lang package
|
2009-02-20 08:46:43 +01:00
|
|
|
%{find_lang} libc
|
2020-04-23 12:06:33 +02:00
|
|
|
%else
|
|
|
|
# The translations are shared with the base flavour
|
|
|
|
rm -rf %{buildroot}%{_datadir}/locale/*/
|
|
|
|
%endif
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2010-01-03 12:31:34 +01:00
|
|
|
# Miscelanna:
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2012-04-19 13:14:21 +02:00
|
|
|
install -m 644 %{SOURCE7} %{buildroot}/etc
|
2020-09-08 11:28:40 +02:00
|
|
|
%if %suse_version > 1500
|
2020-05-19 12:03:06 +02:00
|
|
|
install -D -m 644 %{SOURCE5} %{buildroot}%{_prefix}/etc/nsswitch.conf
|
2020-09-08 11:28:40 +02:00
|
|
|
%else
|
2023-10-12 09:48:37 +02:00
|
|
|
install -m 644 %{SOURCE6} %{buildroot}/etc/nsswitch.conf
|
2020-09-08 11:28:40 +02:00
|
|
|
%endif
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2012-04-16 22:11:08 +02:00
|
|
|
%if %{build_html}
|
2011-06-27 14:05:13 +02:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/doc/glibc
|
2012-08-28 14:25:24 +02:00
|
|
|
cp -p cc-base/manual/libc/*.html %{buildroot}%{_datadir}/doc/glibc
|
2012-04-16 22:11:08 +02:00
|
|
|
%endif
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2011-06-27 14:05:13 +02:00
|
|
|
cd manpages; make install_root=%{buildroot} install; cd ..
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2010-01-03 12:31:34 +01:00
|
|
|
# nscd tools:
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2016-10-13 11:25:07 +02:00
|
|
|
%ifnarch i686
|
2011-06-27 14:05:13 +02:00
|
|
|
cp nscd/nscd.conf %{buildroot}/etc
|
|
|
|
mkdir -p %{buildroot}/etc/init.d
|
2021-02-18 14:40:31 +01:00
|
|
|
ln -sf %{rootsbindir}/service %{buildroot}%{_sbindir}/rcnscd
|
2014-04-15 15:21:46 +02:00
|
|
|
mkdir -p %{buildroot}/run/nscd
|
2016-10-13 11:25:07 +02:00
|
|
|
mkdir -p %{buildroot}/var/lib/nscd
|
|
|
|
%endif
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2009-02-20 08:46:43 +01:00
|
|
|
#
|
|
|
|
# Create ld.so.conf
|
|
|
|
#
|
2011-06-27 14:05:13 +02:00
|
|
|
cat > %{buildroot}/etc/ld.so.conf <<EOF
|
2015-06-10 09:15:17 +02:00
|
|
|
%if "%{_lib}" != "lib"
|
|
|
|
/usr/local/%{_lib}
|
2014-02-06 13:58:35 +01:00
|
|
|
%endif
|
|
|
|
%ifarch ppc
|
2011-07-04 15:26:19 +02:00
|
|
|
/usr/local/lib64
|
2009-02-20 08:46:43 +01:00
|
|
|
%endif
|
2011-06-17 13:07:37 +02:00
|
|
|
/usr/local/lib
|
2009-02-20 08:46:43 +01:00
|
|
|
include /etc/ld.so.conf.d/*.conf
|
2011-07-04 15:26:19 +02:00
|
|
|
# /lib64, /lib, /usr/lib64 and /usr/lib gets added
|
|
|
|
# automatically by ldconfig after parsing this file.
|
|
|
|
# So, they do not need to be listed.
|
2009-02-20 08:46:43 +01:00
|
|
|
EOF
|
|
|
|
# Add ldconfig cache directory for directory ownership
|
2011-06-27 14:05:13 +02:00
|
|
|
mkdir -p %{buildroot}/var/cache/ldconfig
|
2010-01-03 12:31:34 +01:00
|
|
|
# Empty the ld.so.cache:
|
2011-06-27 14:05:13 +02:00
|
|
|
rm -f %{buildroot}/etc/ld.so.cache
|
|
|
|
touch %{buildroot}/etc/ld.so.cache
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2010-01-03 12:31:34 +01:00
|
|
|
# Don't look at ldd! We don't wish a /bin/sh requires
|
2011-06-27 14:05:13 +02:00
|
|
|
chmod 644 %{buildroot}%{_bindir}/ldd
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2021-02-18 14:40:31 +01:00
|
|
|
rm -f %{buildroot}%{rootsbindir}/sln
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2016-10-13 11:25:07 +02:00
|
|
|
%ifnarch i686
|
2011-07-07 10:29:39 +02:00
|
|
|
mkdir -p %{buildroot}/usr/lib/tmpfiles.d/
|
|
|
|
install -m 644 %{SOURCE20} %{buildroot}/usr/lib/tmpfiles.d/
|
2012-11-28 21:52:39 +01:00
|
|
|
mkdir -p %{buildroot}/usr/lib/systemd/system
|
|
|
|
install -m 644 %{SOURCE21} %{buildroot}/usr/lib/systemd/system
|
2022-11-28 12:23:25 +01:00
|
|
|
mkdir -p %{buildroot}/usr/lib/sysusers.d/
|
|
|
|
install -m 644 %{SOURCE22} %{buildroot}/usr/lib/sysusers.d/nscd.conf
|
2016-10-13 11:25:07 +02:00
|
|
|
%endif
|
2011-07-07 10:29:39 +02:00
|
|
|
|
2021-02-18 14:40:31 +01:00
|
|
|
%if 0%{?rtld_oldname:1}
|
2012-04-16 22:11:08 +02:00
|
|
|
# Provide compatibility link
|
Accepting request 909816 from home:Andreas_Schwab:Factory
- Update to glibc 2.34
Major new features:
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
PTHREAD_STACK_MIN is no longer constant and is redefined to
sysconf(_SC_THREAD_STACK_MIN)
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ
* The dynamic linker implements the --list-diagnostics option, printing
a dump of information related to IFUNC resolver operation and
glibc-hwcaps subdirectory selection
* On Linux, the function execveat has been added
* The ISO C2X function timespec_getres has been added
* The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
C2X, is supported to enable declarations of functions defined in Annex F
of C2X
* Add support for 64-bit time_t on configurations like x86 where time_t
is traditionally 32-bit
* The main gconv-modules file in glibc now contains only a small set of
essential converter modules and the rest have been moved into a supplementary
configuration file gconv-modules-extra.conf in the gconv-modules.d directory
in the same GCONV_PATH
* On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
to configure the size of the thread stack cache
* The function _Fork has been added as an async-signal-safe fork replacement
since Austin Group issue 62 droped the async-signal-safe requirement for
fork (and it will be included in the future POSIX standard)
* On Linux, the close_range function has been added
* The function closefrom has been added
* The posix_spawn_file_actions_closefrom_np function has been added, enabling
posix_spawn and posix_spawnp to close all file descriptors great than or
equal to a giver integer
OBS-URL: https://build.opensuse.org/request/show/909816
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=601
2021-08-02 16:53:08 +02:00
|
|
|
ln -s %{rtlddir}/%{rtld_name} %{buildroot}%{rtlddir}/%{rtld_oldname}
|
2012-04-16 22:11:08 +02:00
|
|
|
%endif
|
|
|
|
|
2012-09-04 20:58:49 +02:00
|
|
|
# Move getconf to %{_libexecdir}/getconf/ to avoid cross device link
|
|
|
|
mv %{buildroot}%{_bindir}/getconf %{buildroot}%{_libexecdir}/getconf/getconf
|
|
|
|
ln -s %{_libexecdir}/getconf/getconf %{buildroot}%{_bindir}/getconf
|
2012-12-19 18:04:05 +01:00
|
|
|
|
2017-07-12 15:21:16 +02:00
|
|
|
%if !%{build_utils}
|
2012-12-19 18:04:05 +01:00
|
|
|
# Remove unwanted files (packaged in glibc-utils)
|
2021-02-18 14:40:31 +01:00
|
|
|
rm -f %{buildroot}%{slibdir}/libmemusage*
|
|
|
|
rm -f %{buildroot}%{slibdir}/libpcprofile*
|
2012-12-19 18:04:05 +01:00
|
|
|
rm -f %{buildroot}%{_bindir}/memusage*
|
|
|
|
rm -f %{buildroot}%{_bindir}/mtrace
|
|
|
|
rm -f %{buildroot}%{_bindir}/pcprofiledump
|
|
|
|
rm -f %{buildroot}%{_bindir}/sotruss
|
|
|
|
rm -f %{buildroot}%{_bindir}/xtrace
|
|
|
|
rm -f %{buildroot}%{_bindir}/pldd
|
|
|
|
rm -rf %{buildroot}%{_libdir}/audit
|
|
|
|
|
2014-02-24 15:57:11 +01:00
|
|
|
%ifarch i686
|
2024-02-08 09:40:08 +01:00
|
|
|
# Remove files from glibc-{extra,info,i18ndata}, nscd
|
2014-02-24 15:57:11 +01:00
|
|
|
rm -rf %{buildroot}%{_infodir} %{buildroot}%{_prefix}/share/i18n
|
|
|
|
rm -f %{buildroot}%{_bindir}/makedb %{buildroot}/var/lib/misc/Makefile
|
2016-10-13 11:25:07 +02:00
|
|
|
rm -f %{buildroot}%{_sbindir}/nscd
|
Accepting request 824657 from home:Andreas_Schwab:Factory
- Update to glibc 2.32
* Unicode 13.0.0 Support
* New locale added: ckb_IQ
* The GNU C Library now loads audit modules listed in the DT_AUDIT and
DT_DEPAUDIT dynamic section entries of the main executable
* powerpc64le supports IEEE128 long double libm/libc redirects when
using the -mabi=ieeelongdouble to compile C code on supported GCC
toolchains
* To help detect buffer overflows and other out-of-bounds accesses
several APIs have been annotated with GCC 'access' attribute
* On Linux, functions the pthread_attr_setsigmask_np and
pthread_attr_getsigmask_np have been added
* The GNU C Library now provides the header file <sys/single_threaded.h>
which declares the variable __libc_single_threaded
* The functions sigabbrev_np and sigdescr_np have been added
* The functions strerrorname_np and strerrordesc_np have been added
* AArch64 now supports standard branch protection security hardening
in glibc when it is built with a GCC that is configured with
--enable-standard-branch-protection (or if -mbranch-protection=standard
flag is passed when building both GCC target libraries and glibc,
in either case a custom GCC is needed)
* The deprecated <sys/sysctl.h> header and the sysctl function have been
removed
* The sstk function is no longer available to newly linked binaries
* The legacy signal handling functions siginterrupt, sigpause, sighold,
sigrelse, sigignore and sigset, and the sigmask macro have been
deprecated
* ldconfig now defaults to the new format for ld.so.cache
* The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev
are no longer available to newly linked binaries, and their declarations
OBS-URL: https://build.opensuse.org/request/show/824657
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=567
2020-08-06 11:17:04 +02:00
|
|
|
%endif
|
2019-07-17 15:37:54 +02:00
|
|
|
|
|
|
|
%ifnarch i686
|
|
|
|
# /var/lib/misc is incompatible with transactional updates (bsc#1138726)
|
|
|
|
mkdir %{buildroot}%{_prefix}/share/misc
|
|
|
|
mv %{buildroot}/var/lib/misc/Makefile %{buildroot}%{_prefix}/share/misc/Makefile.makedb
|
|
|
|
ln -s %{_prefix}/share/misc/Makefile.makedb %{buildroot}/var/lib/misc/Makefile
|
|
|
|
%endif
|
|
|
|
|
Accepting request 824657 from home:Andreas_Schwab:Factory
- Update to glibc 2.32
* Unicode 13.0.0 Support
* New locale added: ckb_IQ
* The GNU C Library now loads audit modules listed in the DT_AUDIT and
DT_DEPAUDIT dynamic section entries of the main executable
* powerpc64le supports IEEE128 long double libm/libc redirects when
using the -mabi=ieeelongdouble to compile C code on supported GCC
toolchains
* To help detect buffer overflows and other out-of-bounds accesses
several APIs have been annotated with GCC 'access' attribute
* On Linux, functions the pthread_attr_setsigmask_np and
pthread_attr_getsigmask_np have been added
* The GNU C Library now provides the header file <sys/single_threaded.h>
which declares the variable __libc_single_threaded
* The functions sigabbrev_np and sigdescr_np have been added
* The functions strerrorname_np and strerrordesc_np have been added
* AArch64 now supports standard branch protection security hardening
in glibc when it is built with a GCC that is configured with
--enable-standard-branch-protection (or if -mbranch-protection=standard
flag is passed when building both GCC target libraries and glibc,
in either case a custom GCC is needed)
* The deprecated <sys/sysctl.h> header and the sysctl function have been
removed
* The sstk function is no longer available to newly linked binaries
* The legacy signal handling functions siginterrupt, sigpause, sighold,
sigrelse, sigignore and sigset, and the sigmask macro have been
deprecated
* ldconfig now defaults to the new format for ld.so.cache
* The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev
are no longer available to newly linked binaries, and their declarations
OBS-URL: https://build.opensuse.org/request/show/824657
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=567
2020-08-06 11:17:04 +02:00
|
|
|
%endif
|
2014-02-24 15:57:11 +01:00
|
|
|
|
2016-04-11 11:37:11 +02:00
|
|
|
# LSB
|
|
|
|
%ifarch %ix86
|
Accepting request 909816 from home:Andreas_Schwab:Factory
- Update to glibc 2.34
Major new features:
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
PTHREAD_STACK_MIN is no longer constant and is redefined to
sysconf(_SC_THREAD_STACK_MIN)
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ
* The dynamic linker implements the --list-diagnostics option, printing
a dump of information related to IFUNC resolver operation and
glibc-hwcaps subdirectory selection
* On Linux, the function execveat has been added
* The ISO C2X function timespec_getres has been added
* The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
C2X, is supported to enable declarations of functions defined in Annex F
of C2X
* Add support for 64-bit time_t on configurations like x86 where time_t
is traditionally 32-bit
* The main gconv-modules file in glibc now contains only a small set of
essential converter modules and the rest have been moved into a supplementary
configuration file gconv-modules-extra.conf in the gconv-modules.d directory
in the same GCONV_PATH
* On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
to configure the size of the thread stack cache
* The function _Fork has been added as an async-signal-safe fork replacement
since Austin Group issue 62 droped the async-signal-safe requirement for
fork (and it will be included in the future POSIX standard)
* On Linux, the close_range function has been added
* The function closefrom has been added
* The posix_spawn_file_actions_closefrom_np function has been added, enabling
posix_spawn and posix_spawnp to close all file descriptors great than or
equal to a giver integer
OBS-URL: https://build.opensuse.org/request/show/909816
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=601
2021-08-02 16:53:08 +02:00
|
|
|
ln -sf %{rtlddir}/%{rtld_name} $RPM_BUILD_ROOT%{slibdir}/ld-lsb.so.3
|
2016-04-11 11:37:11 +02:00
|
|
|
%endif
|
|
|
|
%ifarch x86_64
|
Accepting request 909816 from home:Andreas_Schwab:Factory
- Update to glibc 2.34
Major new features:
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
PTHREAD_STACK_MIN is no longer constant and is redefined to
sysconf(_SC_THREAD_STACK_MIN)
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ
* The dynamic linker implements the --list-diagnostics option, printing
a dump of information related to IFUNC resolver operation and
glibc-hwcaps subdirectory selection
* On Linux, the function execveat has been added
* The ISO C2X function timespec_getres has been added
* The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
C2X, is supported to enable declarations of functions defined in Annex F
of C2X
* Add support for 64-bit time_t on configurations like x86 where time_t
is traditionally 32-bit
* The main gconv-modules file in glibc now contains only a small set of
essential converter modules and the rest have been moved into a supplementary
configuration file gconv-modules-extra.conf in the gconv-modules.d directory
in the same GCONV_PATH
* On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
to configure the size of the thread stack cache
* The function _Fork has been added as an async-signal-safe fork replacement
since Austin Group issue 62 droped the async-signal-safe requirement for
fork (and it will be included in the future POSIX standard)
* On Linux, the close_range function has been added
* The function closefrom has been added
* The posix_spawn_file_actions_closefrom_np function has been added, enabling
posix_spawn and posix_spawnp to close all file descriptors great than or
equal to a giver integer
OBS-URL: https://build.opensuse.org/request/show/909816
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=601
2021-08-02 16:53:08 +02:00
|
|
|
ln -sf %{rtlddir}/%{rtld_name} $RPM_BUILD_ROOT%{slibdir}/ld-lsb-x86-64.so.3
|
2016-04-11 11:37:11 +02:00
|
|
|
%endif
|
|
|
|
%ifarch ppc
|
Accepting request 909816 from home:Andreas_Schwab:Factory
- Update to glibc 2.34
Major new features:
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
PTHREAD_STACK_MIN is no longer constant and is redefined to
sysconf(_SC_THREAD_STACK_MIN)
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ
* The dynamic linker implements the --list-diagnostics option, printing
a dump of information related to IFUNC resolver operation and
glibc-hwcaps subdirectory selection
* On Linux, the function execveat has been added
* The ISO C2X function timespec_getres has been added
* The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
C2X, is supported to enable declarations of functions defined in Annex F
of C2X
* Add support for 64-bit time_t on configurations like x86 where time_t
is traditionally 32-bit
* The main gconv-modules file in glibc now contains only a small set of
essential converter modules and the rest have been moved into a supplementary
configuration file gconv-modules-extra.conf in the gconv-modules.d directory
in the same GCONV_PATH
* On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
to configure the size of the thread stack cache
* The function _Fork has been added as an async-signal-safe fork replacement
since Austin Group issue 62 droped the async-signal-safe requirement for
fork (and it will be included in the future POSIX standard)
* On Linux, the close_range function has been added
* The function closefrom has been added
* The posix_spawn_file_actions_closefrom_np function has been added, enabling
posix_spawn and posix_spawnp to close all file descriptors great than or
equal to a giver integer
OBS-URL: https://build.opensuse.org/request/show/909816
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=601
2021-08-02 16:53:08 +02:00
|
|
|
ln -sf %{rtlddir}/%{rtld_name} $RPM_BUILD_ROOT%{slibdir}/ld-lsb-ppc32.so.3
|
2016-04-11 11:37:11 +02:00
|
|
|
%endif
|
|
|
|
%ifarch ppc64
|
Accepting request 909816 from home:Andreas_Schwab:Factory
- Update to glibc 2.34
Major new features:
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
PTHREAD_STACK_MIN is no longer constant and is redefined to
sysconf(_SC_THREAD_STACK_MIN)
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ
* The dynamic linker implements the --list-diagnostics option, printing
a dump of information related to IFUNC resolver operation and
glibc-hwcaps subdirectory selection
* On Linux, the function execveat has been added
* The ISO C2X function timespec_getres has been added
* The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
C2X, is supported to enable declarations of functions defined in Annex F
of C2X
* Add support for 64-bit time_t on configurations like x86 where time_t
is traditionally 32-bit
* The main gconv-modules file in glibc now contains only a small set of
essential converter modules and the rest have been moved into a supplementary
configuration file gconv-modules-extra.conf in the gconv-modules.d directory
in the same GCONV_PATH
* On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
to configure the size of the thread stack cache
* The function _Fork has been added as an async-signal-safe fork replacement
since Austin Group issue 62 droped the async-signal-safe requirement for
fork (and it will be included in the future POSIX standard)
* On Linux, the close_range function has been added
* The function closefrom has been added
* The posix_spawn_file_actions_closefrom_np function has been added, enabling
posix_spawn and posix_spawnp to close all file descriptors great than or
equal to a giver integer
OBS-URL: https://build.opensuse.org/request/show/909816
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=601
2021-08-02 16:53:08 +02:00
|
|
|
ln -sf %{rtlddir}/%{rtld_name} $RPM_BUILD_ROOT%{slibdir}/ld-lsb-ppc64.so.3
|
2016-04-11 11:37:11 +02:00
|
|
|
%endif
|
|
|
|
%ifarch s390
|
Accepting request 909816 from home:Andreas_Schwab:Factory
- Update to glibc 2.34
Major new features:
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
PTHREAD_STACK_MIN is no longer constant and is redefined to
sysconf(_SC_THREAD_STACK_MIN)
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ
* The dynamic linker implements the --list-diagnostics option, printing
a dump of information related to IFUNC resolver operation and
glibc-hwcaps subdirectory selection
* On Linux, the function execveat has been added
* The ISO C2X function timespec_getres has been added
* The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
C2X, is supported to enable declarations of functions defined in Annex F
of C2X
* Add support for 64-bit time_t on configurations like x86 where time_t
is traditionally 32-bit
* The main gconv-modules file in glibc now contains only a small set of
essential converter modules and the rest have been moved into a supplementary
configuration file gconv-modules-extra.conf in the gconv-modules.d directory
in the same GCONV_PATH
* On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
to configure the size of the thread stack cache
* The function _Fork has been added as an async-signal-safe fork replacement
since Austin Group issue 62 droped the async-signal-safe requirement for
fork (and it will be included in the future POSIX standard)
* On Linux, the close_range function has been added
* The function closefrom has been added
* The posix_spawn_file_actions_closefrom_np function has been added, enabling
posix_spawn and posix_spawnp to close all file descriptors great than or
equal to a giver integer
OBS-URL: https://build.opensuse.org/request/show/909816
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=601
2021-08-02 16:53:08 +02:00
|
|
|
ln -sf %{rtlddir}/%{rtld_name} $RPM_BUILD_ROOT%{slibdir}/ld-lsb-s390.so.3
|
2016-04-11 11:37:11 +02:00
|
|
|
%endif
|
|
|
|
%ifarch s390x
|
Accepting request 909816 from home:Andreas_Schwab:Factory
- Update to glibc 2.34
Major new features:
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
PTHREAD_STACK_MIN is no longer constant and is redefined to
sysconf(_SC_THREAD_STACK_MIN)
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ
* The dynamic linker implements the --list-diagnostics option, printing
a dump of information related to IFUNC resolver operation and
glibc-hwcaps subdirectory selection
* On Linux, the function execveat has been added
* The ISO C2X function timespec_getres has been added
* The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
C2X, is supported to enable declarations of functions defined in Annex F
of C2X
* Add support for 64-bit time_t on configurations like x86 where time_t
is traditionally 32-bit
* The main gconv-modules file in glibc now contains only a small set of
essential converter modules and the rest have been moved into a supplementary
configuration file gconv-modules-extra.conf in the gconv-modules.d directory
in the same GCONV_PATH
* On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
to configure the size of the thread stack cache
* The function _Fork has been added as an async-signal-safe fork replacement
since Austin Group issue 62 droped the async-signal-safe requirement for
fork (and it will be included in the future POSIX standard)
* On Linux, the close_range function has been added
* The function closefrom has been added
* The posix_spawn_file_actions_closefrom_np function has been added, enabling
posix_spawn and posix_spawnp to close all file descriptors great than or
equal to a giver integer
OBS-URL: https://build.opensuse.org/request/show/909816
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=601
2021-08-02 16:53:08 +02:00
|
|
|
ln -sf %{rtlddir}/%{rtld_name} $RPM_BUILD_ROOT%{slibdir}/ld-lsb-s390x.so.3
|
2016-04-11 11:37:11 +02:00
|
|
|
%endif
|
|
|
|
|
Accepting request 824657 from home:Andreas_Schwab:Factory
- Update to glibc 2.32
* Unicode 13.0.0 Support
* New locale added: ckb_IQ
* The GNU C Library now loads audit modules listed in the DT_AUDIT and
DT_DEPAUDIT dynamic section entries of the main executable
* powerpc64le supports IEEE128 long double libm/libc redirects when
using the -mabi=ieeelongdouble to compile C code on supported GCC
toolchains
* To help detect buffer overflows and other out-of-bounds accesses
several APIs have been annotated with GCC 'access' attribute
* On Linux, functions the pthread_attr_setsigmask_np and
pthread_attr_getsigmask_np have been added
* The GNU C Library now provides the header file <sys/single_threaded.h>
which declares the variable __libc_single_threaded
* The functions sigabbrev_np and sigdescr_np have been added
* The functions strerrorname_np and strerrordesc_np have been added
* AArch64 now supports standard branch protection security hardening
in glibc when it is built with a GCC that is configured with
--enable-standard-branch-protection (or if -mbranch-protection=standard
flag is passed when building both GCC target libraries and glibc,
in either case a custom GCC is needed)
* The deprecated <sys/sysctl.h> header and the sysctl function have been
removed
* The sstk function is no longer available to newly linked binaries
* The legacy signal handling functions siginterrupt, sigpause, sighold,
sigrelse, sigignore and sigset, and the sigmask macro have been
deprecated
* ldconfig now defaults to the new format for ld.so.cache
* The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev
are no longer available to newly linked binaries, and their declarations
OBS-URL: https://build.opensuse.org/request/show/824657
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=567
2020-08-06 11:17:04 +02:00
|
|
|
%else
|
2012-12-19 18:04:05 +01:00
|
|
|
|
2017-07-12 15:21:16 +02:00
|
|
|
%if %{build_utils}
|
2012-12-19 18:04:05 +01:00
|
|
|
|
|
|
|
make %{?_smp_mflags} install_root=%{buildroot} install -C cc-base \
|
|
|
|
subdirs='malloc debug elf'
|
|
|
|
cd manpages; make install_root=%{buildroot} install; cd ..
|
|
|
|
# Remove unwanted files
|
Accepting request 909816 from home:Andreas_Schwab:Factory
- Update to glibc 2.34
Major new features:
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
PTHREAD_STACK_MIN is no longer constant and is redefined to
sysconf(_SC_THREAD_STACK_MIN)
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ
* The dynamic linker implements the --list-diagnostics option, printing
a dump of information related to IFUNC resolver operation and
glibc-hwcaps subdirectory selection
* On Linux, the function execveat has been added
* The ISO C2X function timespec_getres has been added
* The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
C2X, is supported to enable declarations of functions defined in Annex F
of C2X
* Add support for 64-bit time_t on configurations like x86 where time_t
is traditionally 32-bit
* The main gconv-modules file in glibc now contains only a small set of
essential converter modules and the rest have been moved into a supplementary
configuration file gconv-modules-extra.conf in the gconv-modules.d directory
in the same GCONV_PATH
* On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
to configure the size of the thread stack cache
* The function _Fork has been added as an async-signal-safe fork replacement
since Austin Group issue 62 droped the async-signal-safe requirement for
fork (and it will be included in the future POSIX standard)
* On Linux, the close_range function has been added
* The function closefrom has been added
* The posix_spawn_file_actions_closefrom_np function has been added, enabling
posix_spawn and posix_spawnp to close all file descriptors great than or
equal to a giver integer
OBS-URL: https://build.opensuse.org/request/show/909816
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=601
2021-08-02 16:53:08 +02:00
|
|
|
rm -f %{buildroot}%{rtlddir}/ld*.so* %{buildroot}%{slibdir}/lib[!mp]*
|
2021-03-02 11:45:08 +01:00
|
|
|
%if "%{_libdir}" != "%{slibdir}"
|
2012-12-19 18:04:05 +01:00
|
|
|
rm -f %{buildroot}%{_libdir}/lib*
|
2021-03-02 11:45:08 +01:00
|
|
|
%else
|
|
|
|
rm -f %{buildroot}%{_libdir}/lib*.a
|
|
|
|
%endif
|
Accepting request 1063589 from home:Andreas_Schwab:Factory
- Update to glibc 2.37
* The getent tool now supports the --no-addrconfig option
* The dynamic linker no longer loads shared objects from the "tls"
subdirectories on the library search path or the subdirectory that
corresponds to the AT_PLATFORM system name, or employs the legacy AT_HWCAP
search mechanism, which was deprecated in version 2.33
- printf-grouping.patch: Account for grouping in printf width (BZ #30068)
- strftime-time64.patch: Use 64-bit time_t interfaces in strftime and
strptime (BZ #30053)
- glibcextract-compile-c-snippet.patch, sys-mount-kernel-definition.patch,
sys-mount-usage.patch, nscd-netlink-cache-invalidation.patch,
syslog-large-messages.patch, dlmopen-libc-early-init.patch,
ldd-vdso-dependency.patch, syslog-extra-whitespace.patch,
errlist-edeadlock.patch, makeflags.patch, get-nscd-addresses.patch,
x86-64-avx2-string-functions.patch, nscd-aicache.patch,
dl-debug-bindings.patch, floatn.patch: Removed
OBS-URL: https://build.opensuse.org/request/show/1063589
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=645
2023-02-07 10:37:31 +01:00
|
|
|
rm -f %{buildroot}%{_bindir}/{ld.so,ldd,sprof}
|
2014-09-15 12:37:45 +02:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man*
|
2021-02-18 14:40:31 +01:00
|
|
|
rm -rf %{buildroot}%{rootsbindir} %{buildroot}%{_includedir}
|
|
|
|
%ifarch riscv64
|
|
|
|
rm %{buildroot}%{_libdir}/lp64d
|
|
|
|
%if "%{slibdir}" != "%{_libdir}"
|
|
|
|
rm %{buildroot}%{slibdir}/lp64d
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2021-08-11 14:09:30 +02:00
|
|
|
%if %{build_cross}
|
|
|
|
# See above
|
|
|
|
export STRIP_KEEP_SYMTAB=*.so*
|
2021-08-12 10:36:15 +02:00
|
|
|
export NO_BRP_STRIP_DEBUG=true
|
2021-08-11 14:09:30 +02:00
|
|
|
make %{?_smp_mflags} install_root=%{buildroot}/%{sysroot} install -C cc-base
|
|
|
|
rm -rf %{buildroot}/%{sysroot}/%{_libdir}/audit
|
|
|
|
rm -rf %{buildroot}/%{sysroot}/%{_libdir}/gconv
|
|
|
|
rm -rf %{buildroot}/%{sysroot}/%{_infodir}
|
2022-01-06 09:51:26 +01:00
|
|
|
rm -rf %{buildroot}/%{sysroot}/%{_datadir}
|
|
|
|
rm -rf %{buildroot}/%{sysroot}/%{_libexecdir}
|
|
|
|
rm -rf %{buildroot}/%{sysroot}/%{_bindir}
|
|
|
|
rm -rf %{buildroot}/%{sysroot}/%{_sbindir}
|
|
|
|
rm -rf %{buildroot}/%{sysroot}/etc
|
|
|
|
rm -rf %{buildroot}/%{sysroot}/var
|
2021-08-11 14:09:30 +02:00
|
|
|
|
|
|
|
# Some programs look for <prefix>/lib/../$subdir where subdir is
|
|
|
|
# for instance "lib64". For this path lookup to succeed we need the
|
|
|
|
# ../lib subdir, even if it's empty, so enforce its existence.
|
|
|
|
mkdir -p %{buildroot}/%{sysroot}/lib
|
|
|
|
mkdir -p %{buildroot}/%{sysroot}/%{_prefix}/lib
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2021-02-18 14:40:31 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with usrmerged}
|
|
|
|
|
|
|
|
rm %{buildroot}/%{_lib}
|
|
|
|
%if "%{rtldlib}" != "%{_lib}"
|
|
|
|
rm %{buildroot}/%{rtldlib}
|
|
|
|
%endif
|
|
|
|
rm %{buildroot}/sbin
|
|
|
|
|
Accepting request 824657 from home:Andreas_Schwab:Factory
- Update to glibc 2.32
* Unicode 13.0.0 Support
* New locale added: ckb_IQ
* The GNU C Library now loads audit modules listed in the DT_AUDIT and
DT_DEPAUDIT dynamic section entries of the main executable
* powerpc64le supports IEEE128 long double libm/libc redirects when
using the -mabi=ieeelongdouble to compile C code on supported GCC
toolchains
* To help detect buffer overflows and other out-of-bounds accesses
several APIs have been annotated with GCC 'access' attribute
* On Linux, functions the pthread_attr_setsigmask_np and
pthread_attr_getsigmask_np have been added
* The GNU C Library now provides the header file <sys/single_threaded.h>
which declares the variable __libc_single_threaded
* The functions sigabbrev_np and sigdescr_np have been added
* The functions strerrorname_np and strerrordesc_np have been added
* AArch64 now supports standard branch protection security hardening
in glibc when it is built with a GCC that is configured with
--enable-standard-branch-protection (or if -mbranch-protection=standard
flag is passed when building both GCC target libraries and glibc,
in either case a custom GCC is needed)
* The deprecated <sys/sysctl.h> header and the sysctl function have been
removed
* The sstk function is no longer available to newly linked binaries
* The legacy signal handling functions siginterrupt, sigpause, sighold,
sigrelse, sigignore and sigset, and the sigmask macro have been
deprecated
* ldconfig now defaults to the new format for ld.so.cache
* The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev
are no longer available to newly linked binaries, and their declarations
OBS-URL: https://build.opensuse.org/request/show/824657
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=567
2020-08-06 11:17:04 +02:00
|
|
|
%endif
|
2017-07-12 15:21:16 +02:00
|
|
|
|
Accepting request 824657 from home:Andreas_Schwab:Factory
- Update to glibc 2.32
* Unicode 13.0.0 Support
* New locale added: ckb_IQ
* The GNU C Library now loads audit modules listed in the DT_AUDIT and
DT_DEPAUDIT dynamic section entries of the main executable
* powerpc64le supports IEEE128 long double libm/libc redirects when
using the -mabi=ieeelongdouble to compile C code on supported GCC
toolchains
* To help detect buffer overflows and other out-of-bounds accesses
several APIs have been annotated with GCC 'access' attribute
* On Linux, functions the pthread_attr_setsigmask_np and
pthread_attr_getsigmask_np have been added
* The GNU C Library now provides the header file <sys/single_threaded.h>
which declares the variable __libc_single_threaded
* The functions sigabbrev_np and sigdescr_np have been added
* The functions strerrorname_np and strerrordesc_np have been added
* AArch64 now supports standard branch protection security hardening
in glibc when it is built with a GCC that is configured with
--enable-standard-branch-protection (or if -mbranch-protection=standard
flag is passed when building both GCC target libraries and glibc,
in either case a custom GCC is needed)
* The deprecated <sys/sysctl.h> header and the sysctl function have been
removed
* The sstk function is no longer available to newly linked binaries
* The legacy signal handling functions siginterrupt, sigpause, sighold,
sigrelse, sigignore and sigset, and the sigmask macro have been
deprecated
* ldconfig now defaults to the new format for ld.so.cache
* The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev
are no longer available to newly linked binaries, and their declarations
OBS-URL: https://build.opensuse.org/request/show/824657
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=567
2020-08-06 11:17:04 +02:00
|
|
|
%endif
|
2012-09-04 20:58:49 +02:00
|
|
|
|
2017-12-14 11:12:57 +01:00
|
|
|
%if %{build_main}
|
|
|
|
|
2019-04-03 17:39:26 +02:00
|
|
|
%post -p <lua>
|
|
|
|
function exec(path, ...)
|
|
|
|
local pid = posix.fork()
|
|
|
|
if pid == 0 then
|
|
|
|
posix.exec(path, ...)
|
|
|
|
io.write(path, ": exec failed: ", posix.errno(), "\n")
|
|
|
|
os.exit(1)
|
|
|
|
end
|
|
|
|
if not pid then
|
|
|
|
error(path .. ": fork failed: " .. posix.errno() .. "\n")
|
|
|
|
end
|
|
|
|
posix.wait(pid)
|
|
|
|
end
|
|
|
|
|
|
|
|
-- First, get rid of platform-optimized libraries. We remove any we have
|
|
|
|
-- ever built, since otherwise we might end up using some old leftover
|
|
|
|
-- libraries when new ones aren't installed in their place anymore.
|
|
|
|
libraries = { "libc.so.6", "libc.so.6.1", "libm.so.6", "libm.so.6.1",
|
|
|
|
"librt.so.1", "libpthread.so.0", "libthread_db.so.1" }
|
|
|
|
remove_dirs = {
|
|
|
|
%ifarch i586
|
2021-02-18 14:40:31 +01:00
|
|
|
"%{slibdir}/i686/",
|
2019-04-03 17:39:26 +02:00
|
|
|
%endif
|
|
|
|
%ifarch ppc ppc64
|
2021-02-18 14:40:31 +01:00
|
|
|
"%{slibdir}/power4/", "%{slibdir}/ppc970/",
|
|
|
|
"%{slibdir}/power5/", "%{slibdir}/power5+/",
|
|
|
|
"%{slibdir}/power6/", "%{slibdir}/power6x/",
|
|
|
|
"%{slibdir}/power7/",
|
|
|
|
"%{slibdir}/ppc-cell-be/",
|
2019-04-03 17:39:26 +02:00
|
|
|
%endif
|
2021-02-18 14:40:31 +01:00
|
|
|
"%{slibdir}/tls/"
|
2019-04-03 17:39:26 +02:00
|
|
|
}
|
|
|
|
for i, remove_dir in ipairs(remove_dirs) do
|
|
|
|
for j, library in ipairs(libraries) do
|
|
|
|
local file = remove_dir .. library
|
|
|
|
-- This file could be a symlink to library-%{version}.so, so check
|
|
|
|
-- this and don't remove only the link, but also the library itself.
|
|
|
|
local link = posix.readlink(file)
|
|
|
|
if link then
|
|
|
|
if link:sub(1, 1) ~= "/" then link = remove_dir .. link end
|
|
|
|
os.remove(link)
|
|
|
|
end
|
|
|
|
os.remove(file)
|
|
|
|
end
|
|
|
|
end
|
2021-02-18 14:40:31 +01:00
|
|
|
if posix.access("%{rootsbindir}/ldconfig", "x") then
|
|
|
|
exec("%{rootsbindir}/ldconfig", "-X")
|
2019-04-03 17:39:26 +02:00
|
|
|
end
|
|
|
|
if posix.utime("%{_libdir}/gconv/gconv-modules.cache") then
|
|
|
|
exec("/usr/sbin/iconvconfig", "-o", "%{_libdir}/gconv/gconv-modules.cache",
|
|
|
|
"--nostdlib", "%{_libdir}/gconv")
|
|
|
|
end
|
|
|
|
|
2021-02-18 14:40:31 +01:00
|
|
|
%postun -p %{rootsbindir}/ldconfig
|
2009-02-20 08:46:43 +01:00
|
|
|
|
2020-05-07 12:31:57 +02:00
|
|
|
%post locale-base
|
2011-02-04 05:30:37 +01:00
|
|
|
/usr/sbin/iconvconfig
|
2010-01-03 12:31:34 +01:00
|
|
|
|
2009-02-20 08:46:43 +01:00
|
|
|
%post info
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/libc.info.gz
|
|
|
|
|
2016-03-08 16:02:57 +01:00
|
|
|
%preun info
|
2009-02-20 08:46:43 +01:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz
|
|
|
|
|
2022-11-28 12:23:25 +01:00
|
|
|
%pre -n nscd -f nscd.pre
|
2012-11-24 15:18:54 +01:00
|
|
|
%service_add_pre nscd.service
|
2012-06-28 21:42:24 +02:00
|
|
|
|
2012-11-24 15:18:54 +01:00
|
|
|
%preun -n nscd
|
|
|
|
%service_del_preun nscd.service
|
2009-02-20 08:46:43 +01:00
|
|
|
|
|
|
|
%post -n nscd
|
2012-11-24 15:18:54 +01:00
|
|
|
%service_add_post nscd.service
|
2017-05-22 18:07:34 +02:00
|
|
|
%tmpfiles_create /usr/lib/tmpfiles.d/nscd.conf
|
2012-06-28 21:42:24 +02:00
|
|
|
# Previously we had nscd.socket, remove it
|
2012-12-03 15:51:36 +01:00
|
|
|
test -x /usr/bin/systemctl && /usr/bin/systemctl stop nscd.socket 2>/dev/null || :
|
|
|
|
test -x /usr/bin/systemctl && /usr/bin/systemctl disable nscd.socket 2>/dev/null || :
|
2012-06-28 21:42:24 +02:00
|
|
|
# Hard removal in case the above did not work
|
|
|
|
rm -f /etc/systemd/system/sockets.target.wants/nscd.socket
|
|
|
|
exit 0
|
2009-02-20 08:46:43 +01:00
|
|
|
|
|
|
|
%postun -n nscd
|
2012-11-24 15:18:54 +01:00
|
|
|
%service_del_postun nscd.service
|
2009-02-20 08:46:43 +01:00
|
|
|
exit 0
|
2010-03-18 14:37:59 +01:00
|
|
|
|
2017-08-29 10:02:22 +02:00
|
|
|
%files
|
2010-03-18 14:37:59 +01:00
|
|
|
# glibc
|
2009-02-20 08:46:43 +01:00
|
|
|
%defattr(-,root,root)
|
2018-02-26 12:16:39 +01:00
|
|
|
%license LICENSES
|
2009-02-20 08:46:43 +01:00
|
|
|
%config(noreplace) /etc/bindresvport.blacklist
|
|
|
|
%config /etc/ld.so.conf
|
|
|
|
%attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache
|
|
|
|
%config(noreplace) /etc/rpc
|
2020-09-08 11:28:40 +02:00
|
|
|
%if %suse_version > 1500
|
2020-05-19 12:03:06 +02:00
|
|
|
%attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/nsswitch.conf
|
|
|
|
%{_prefix}/etc/nsswitch.conf
|
2020-09-08 11:28:40 +02:00
|
|
|
%else
|
|
|
|
%verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf
|
|
|
|
%endif
|
2020-05-19 12:03:06 +02:00
|
|
|
%attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/gai.conf
|
|
|
|
%doc posix/gai.conf
|
2012-08-28 14:25:24 +02:00
|
|
|
%doc %{_mandir}/man1/gencat.1.gz
|
2009-02-20 08:46:43 +01:00
|
|
|
%doc %{_mandir}/man1/getconf.1.gz
|
|
|
|
%doc %{_mandir}/man5/*
|
2012-04-16 22:11:08 +02:00
|
|
|
|
Accepting request 951353 from home:Andreas_Schwab:Factory
- Update to glibc 2.35
Major new features:
* Unicode 14.0.0 Support
* Bump r_version in the debugger interface to 2
* Support for the C.UTF-8 locale has been added to glibc
* <math.h> functions that round their results to a narrower type, and
corresponding <tgmath.h> macros, are added from TS 18661-1:2014, TS
18661-3:2015 and draft ISO C2X
* <math.h> functions for floating-point maximum and minimum,
corresponding to new operations in IEEE 754-2019, and corresponding
<tgmath.h> macros, are added from draft ISO C2X
* <math.h> macros for single-precision float constants are added as a
GNU extension
* The __STDC_IEC_60559_BFP__ and __STDC_IEC_60559_COMPLEX__ macros are
predefined as specified in TS 18661-1:2014
* The exp10 functions in <math.h> now have a corresponding type-generic
macro in <tgmath.h>
* The ISO C2X macro _PRINTF_NAN_LEN_MAX has been added to <stdio.h>
* printf-family functions now support the %b format for output of
integers in binary, as specified in draft ISO C2X, and the %B variant
of that format recommended by draft ISO C2X
* A new DSO sorting algorithm has been added in the dynamic linker that uses
topological sorting by depth-first search (DFS), solving performance issues
of the existing sorting algorithm when encountering particular circular
object dependency cases
* A new tunable, glibc.rtld.dynamic_sort, can be used to select between
the two DSO sorting algorithms
* ABI support for a new function '__memcmpeq'. '__memcmpeq' is meant
to be used by compilers for optimizing usage of 'memcmp' when its
return value is only used for its boolean status
OBS-URL: https://build.opensuse.org/request/show/951353
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=610
2022-02-03 17:39:47 +01:00
|
|
|
%{_bindir}/ld.so
|
2021-02-18 14:40:31 +01:00
|
|
|
%{rtlddir}/%{rtld_name}
|
|
|
|
%if 0%{?rtld_oldname:1}
|
|
|
|
%{rtlddir}/%{rtld_oldname}
|
2012-04-16 22:11:08 +02:00
|
|
|
%endif
|
2021-02-18 14:40:31 +01:00
|
|
|
%ifarch %ix86 x86_64 ppc ppc64 s390 s390x
|
|
|
|
# LSB
|
|
|
|
%{slibdir}/*-lsb*.so.3
|
2013-02-19 18:17:41 +01:00
|
|
|
%endif
|
2021-02-18 14:40:31 +01:00
|
|
|
|
Accepting request 572614 from home:Andreas_Schwab:Factory
- Update to glibc 2.27
* Optimized x86-64 asin, atan2, exp, expf, log, pow, atan, sin, cosf,
sinf, sincosf and tan with FMA
* Optimized x86-64 trunc and truncf for processors with SSE4.1
* Optimized generic expf, exp2f, logf, log2f, powf, sinf, cosf and
sincosf
* In order to support faster and safer process termination the malloc API
family of functions will no longer print a failure address and stack
backtrace after detecting heap corruption
* The abort function terminates the process immediately, without flushing
stdio streams
* On platforms where long double has the IEEE binary128 format (aarch64,
alpha, mips64, riscv, s390 and sparc), the math library now implements
_Float128 interfaces for that type, as defined by ISO/IEC TS 18661-3:2015
These are the same interfaces added in version 2.26 for some platforms where
this format is supported but is not the format of long double
* On platforms with support for _Float64x (aarch64, alpha, i386, ia64,
mips64, powerpc64le, riscv, s390, sparc and x86_64), the math library now
implements interfaces for that type, as defined by ISO/IEC TS
18661-3:2015
* The math library now implements interfaces for the _Float32, _Float64 and
_Float32x types, as defined by ISO/IEC TS 18661-3:2015
* glibc now implements the memfd_create and mlock2 functions on Linux
* Support for memory protection keys was added
* The copy_file_range function was added
* The ldconfig utility now processes `include' directives using the C/POSIX
collation ordering
* Support for two grammatical forms of month names has been added
* Support for the RISC-V ISA running on Linux has been added
* Statically compiled applications attempting to load locales compiled for the
OBS-URL: https://build.opensuse.org/request/show/572614
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=491
2018-02-05 11:33:11 +01:00
|
|
|
%ifarch riscv64
|
|
|
|
%{_libdir}/lp64d
|
2021-02-18 14:40:31 +01:00
|
|
|
%if "%{slibdir}" != "%{_libdir}"
|
|
|
|
%{slibdir}/lp64d
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%{slibdir}/libBrokenLocale.so.1
|
|
|
|
%{slibdir}/libanl.so.1
|
|
|
|
%{slibdir}/libc.so.6*
|
Accepting request 909816 from home:Andreas_Schwab:Factory
- Update to glibc 2.34
Major new features:
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
PTHREAD_STACK_MIN is no longer constant and is redefined to
sysconf(_SC_THREAD_STACK_MIN)
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ
* The dynamic linker implements the --list-diagnostics option, printing
a dump of information related to IFUNC resolver operation and
glibc-hwcaps subdirectory selection
* On Linux, the function execveat has been added
* The ISO C2X function timespec_getres has been added
* The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
C2X, is supported to enable declarations of functions defined in Annex F
of C2X
* Add support for 64-bit time_t on configurations like x86 where time_t
is traditionally 32-bit
* The main gconv-modules file in glibc now contains only a small set of
essential converter modules and the rest have been moved into a supplementary
configuration file gconv-modules-extra.conf in the gconv-modules.d directory
in the same GCONV_PATH
* On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
to configure the size of the thread stack cache
* The function _Fork has been added as an async-signal-safe fork replacement
since Austin Group issue 62 droped the async-signal-safe requirement for
fork (and it will be included in the future POSIX standard)
* On Linux, the close_range function has been added
* The function closefrom has been added
* The posix_spawn_file_actions_closefrom_np function has been added, enabling
posix_spawn and posix_spawnp to close all file descriptors great than or
equal to a giver integer
OBS-URL: https://build.opensuse.org/request/show/909816
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=601
2021-08-02 16:53:08 +02:00
|
|
|
%{slibdir}/libc_malloc_debug.so.0
|
2021-02-18 14:40:31 +01:00
|
|
|
%{slibdir}/libdl.so.2*
|
|
|
|
%{slibdir}/libm.so.6*
|
Accepting request 1102127 from home:Andreas_Schwab:Factory
- Update to glibc 2.38
* When C2X features are enabled and the base argument is 0 or 2, the
following functions support binary integers prefixed by 0b or 0B as
input
* PRIb*, PRIB* and SCNb* macros from C2X have been added to
<inttypes.h>.
* printf-family functions now support the wN format length modifiers for
arguments of type intN_t, int_leastN_t, uintN_t or uint_leastN_t
and the wfN format
length modifiers for arguments of type int_fastN_t or uint_fastN_t, as
specified in draft ISO C2X
* A new tunable, glibc.pthread.stack_hugetlb, can be used to disable
Transparent Huge Pages (THP) in stack allocation at pthread_create
* Vector math library libmvec support has been added to AArch64
* The strlcpy and strlcat functions have been added
* CVE-2023-25139: When the printf family of functions is called with a
format specifier that uses an <apostrophe> (enable grouping) and a
minimum width specifier, the resulting output could be larger than
reasonably expected by a caller that computed a tight bound on the
buffer size
- Enable build with _FORTIFY_SOURCE
- glibc-2.3.90-langpackdir.diff: avoid reference to __strcpy_chk
- iconv-error-verbosity.patch: iconv: restore verbosity with unrecognized
encoding names (BZ #30694)
- printf-grouping.patch, strftime-time64.patch,
getlogin-no-loginuid.patch, fix-locking-in-_IO_cleanup.patch,
gshadow-erange-rhandling.patch, system-sigchld-block.patch,
gmon-buffer-alloc.patch, check-pf-cancel-handler.patch,
powerpc64-fcntl-lock.patch, realloc-limit-chunk-reuse.patch,
dl-find-object-return.patch; Removed
OBS-URL: https://build.opensuse.org/request/show/1102127
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=657
2023-08-03 10:05:05 +02:00
|
|
|
%ifarch x86_64 aarch64
|
2021-02-18 14:40:31 +01:00
|
|
|
%{slibdir}/libmvec.so.1
|
|
|
|
%endif
|
|
|
|
%{slibdir}/libnss_compat.so.2
|
|
|
|
%{slibdir}/libnss_db.so.2
|
|
|
|
%{slibdir}/libnss_dns.so.2
|
|
|
|
%{slibdir}/libnss_files.so.2
|
|
|
|
%{slibdir}/libnss_hesiod.so.2
|
|
|
|
%{slibdir}/libpthread.so.0
|
|
|
|
%{slibdir}/libresolv.so.2
|
|
|
|
%{slibdir}/librt.so.1
|
|
|
|
%{slibdir}/libthread_db.so.1
|
|
|
|
%{slibdir}/libutil.so.1
|
2009-02-20 08:46:43 +01:00
|
|
|
%dir %attr(0700,root,root) /var/cache/ldconfig
|
2021-02-18 14:40:31 +01:00
|
|
|
%{rootsbindir}/ldconfig
|
2011-06-15 14:55:16 +02:00
|
|
|
%{_bindir}/gencat
|
|
|
|
%{_bindir}/getconf
|
|
|
|
%{_bindir}/getent
|
|
|
|
%{_bindir}/iconv
|
|
|
|
%attr(755,root,root) %{_bindir}/ldd
|
|
|
|
%{_bindir}/locale
|
|
|
|
%{_bindir}/localedef
|
2012-09-04 20:58:49 +02:00
|
|
|
%dir %attr(0755,root,root) %{_libexecdir}/getconf
|
|
|
|
%{_libexecdir}/getconf/*
|
2011-06-15 14:55:16 +02:00
|
|
|
%{_sbindir}/iconvconfig
|
2009-02-20 08:46:43 +01:00
|
|
|
|
2019-09-23 16:57:27 +02:00
|
|
|
%files locale-base
|
2009-02-20 08:46:43 +01:00
|
|
|
%defattr(-,root,root)
|
2011-06-27 14:05:13 +02:00
|
|
|
%{_datadir}/locale/locale.alias
|
2009-02-20 08:46:43 +01:00
|
|
|
%if %{build_locales}
|
2018-09-12 09:22:12 +02:00
|
|
|
%dir %{_prefix}/lib/locale
|
|
|
|
%{_prefix}/lib/locale/C.utf8
|
|
|
|
%{_prefix}/lib/locale/en_US.utf8
|
2009-02-20 08:46:43 +01:00
|
|
|
%endif
|
2019-09-23 17:01:10 +02:00
|
|
|
%dir %{_libdir}/gconv
|
|
|
|
%{_libdir}/gconv/*.so
|
|
|
|
%{_libdir}/gconv/gconv-modules
|
Accepting request 909816 from home:Andreas_Schwab:Factory
- Update to glibc 2.34
Major new features:
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
PTHREAD_STACK_MIN is no longer constant and is redefined to
sysconf(_SC_THREAD_STACK_MIN)
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ
* The dynamic linker implements the --list-diagnostics option, printing
a dump of information related to IFUNC resolver operation and
glibc-hwcaps subdirectory selection
* On Linux, the function execveat has been added
* The ISO C2X function timespec_getres has been added
* The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
C2X, is supported to enable declarations of functions defined in Annex F
of C2X
* Add support for 64-bit time_t on configurations like x86 where time_t
is traditionally 32-bit
* The main gconv-modules file in glibc now contains only a small set of
essential converter modules and the rest have been moved into a supplementary
configuration file gconv-modules-extra.conf in the gconv-modules.d directory
in the same GCONV_PATH
* On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
to configure the size of the thread stack cache
* The function _Fork has been added as an async-signal-safe fork replacement
since Austin Group issue 62 droped the async-signal-safe requirement for
fork (and it will be included in the future POSIX standard)
* On Linux, the close_range function has been added
* The function closefrom has been added
* The posix_spawn_file_actions_closefrom_np function has been added, enabling
posix_spawn and posix_spawnp to close all file descriptors great than or
equal to a giver integer
OBS-URL: https://build.opensuse.org/request/show/909816
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=601
2021-08-02 16:53:08 +02:00
|
|
|
%{_libdir}/gconv/gconv-modules.d
|
2019-09-23 17:01:10 +02:00
|
|
|
%attr(0644,root,root) %verify(not md5 size mtime) %ghost %{_libdir}/gconv/gconv-modules.cache
|
2009-02-20 08:46:43 +01:00
|
|
|
|
2020-04-20 16:05:31 +02:00
|
|
|
%files locale
|
2018-09-12 09:22:12 +02:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%if %{build_locales}
|
|
|
|
%{_prefix}/lib/locale
|
|
|
|
%exclude %{_prefix}/lib/locale/C.utf8
|
|
|
|
%exclude %{_prefix}/lib/locale/en_US.utf8
|
|
|
|
%endif
|
|
|
|
|
2009-02-20 08:46:43 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2018-05-23 15:22:23 +02:00
|
|
|
%license COPYING COPYING.LIB
|
|
|
|
%doc NEWS README
|
2009-02-20 08:46:43 +01:00
|
|
|
%doc %{_mandir}/man3/*
|
2011-06-15 14:55:16 +02:00
|
|
|
%{_bindir}/sprof
|
2011-06-27 14:05:13 +02:00
|
|
|
%{_includedir}/*
|
2009-02-20 08:46:43 +01:00
|
|
|
%{_libdir}/*.o
|
2021-02-18 14:40:31 +01:00
|
|
|
%{_libdir}/libBrokenLocale.so
|
|
|
|
%{_libdir}/libanl.so
|
|
|
|
%{_libdir}/libc.so
|
Accepting request 909816 from home:Andreas_Schwab:Factory
- Update to glibc 2.34
Major new features:
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
PTHREAD_STACK_MIN is no longer constant and is redefined to
sysconf(_SC_THREAD_STACK_MIN)
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ
* The dynamic linker implements the --list-diagnostics option, printing
a dump of information related to IFUNC resolver operation and
glibc-hwcaps subdirectory selection
* On Linux, the function execveat has been added
* The ISO C2X function timespec_getres has been added
* The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
C2X, is supported to enable declarations of functions defined in Annex F
of C2X
* Add support for 64-bit time_t on configurations like x86 where time_t
is traditionally 32-bit
* The main gconv-modules file in glibc now contains only a small set of
essential converter modules and the rest have been moved into a supplementary
configuration file gconv-modules-extra.conf in the gconv-modules.d directory
in the same GCONV_PATH
* On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
to configure the size of the thread stack cache
* The function _Fork has been added as an async-signal-safe fork replacement
since Austin Group issue 62 droped the async-signal-safe requirement for
fork (and it will be included in the future POSIX standard)
* On Linux, the close_range function has been added
* The function closefrom has been added
* The posix_spawn_file_actions_closefrom_np function has been added, enabling
posix_spawn and posix_spawnp to close all file descriptors great than or
equal to a giver integer
OBS-URL: https://build.opensuse.org/request/show/909816
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=601
2021-08-02 16:53:08 +02:00
|
|
|
%{_libdir}/libc_malloc_debug.so
|
2021-02-18 14:40:31 +01:00
|
|
|
%{_libdir}/libm.so
|
Accepting request 1102127 from home:Andreas_Schwab:Factory
- Update to glibc 2.38
* When C2X features are enabled and the base argument is 0 or 2, the
following functions support binary integers prefixed by 0b or 0B as
input
* PRIb*, PRIB* and SCNb* macros from C2X have been added to
<inttypes.h>.
* printf-family functions now support the wN format length modifiers for
arguments of type intN_t, int_leastN_t, uintN_t or uint_leastN_t
and the wfN format
length modifiers for arguments of type int_fastN_t or uint_fastN_t, as
specified in draft ISO C2X
* A new tunable, glibc.pthread.stack_hugetlb, can be used to disable
Transparent Huge Pages (THP) in stack allocation at pthread_create
* Vector math library libmvec support has been added to AArch64
* The strlcpy and strlcat functions have been added
* CVE-2023-25139: When the printf family of functions is called with a
format specifier that uses an <apostrophe> (enable grouping) and a
minimum width specifier, the resulting output could be larger than
reasonably expected by a caller that computed a tight bound on the
buffer size
- Enable build with _FORTIFY_SOURCE
- glibc-2.3.90-langpackdir.diff: avoid reference to __strcpy_chk
- iconv-error-verbosity.patch: iconv: restore verbosity with unrecognized
encoding names (BZ #30694)
- printf-grouping.patch, strftime-time64.patch,
getlogin-no-loginuid.patch, fix-locking-in-_IO_cleanup.patch,
gshadow-erange-rhandling.patch, system-sigchld-block.patch,
gmon-buffer-alloc.patch, check-pf-cancel-handler.patch,
powerpc64-fcntl-lock.patch, realloc-limit-chunk-reuse.patch,
dl-find-object-return.patch; Removed
OBS-URL: https://build.opensuse.org/request/show/1102127
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=657
2023-08-03 10:05:05 +02:00
|
|
|
%ifarch x86_64 aarch64
|
2021-02-18 14:40:31 +01:00
|
|
|
%{_libdir}/libmvec.so
|
|
|
|
%endif
|
|
|
|
%{_libdir}/libnss_compat.so
|
|
|
|
%{_libdir}/libnss_db.so
|
|
|
|
%{_libdir}/libnss_hesiod.so
|
|
|
|
%{_libdir}/libresolv.so
|
|
|
|
%{_libdir}/libthread_db.so
|
2011-06-16 15:36:45 +02:00
|
|
|
# These static libraries are needed even for shared builds
|
2009-02-20 08:46:43 +01:00
|
|
|
%{_libdir}/libc_nonshared.a
|
Accepting request 909816 from home:Andreas_Schwab:Factory
- Update to glibc 2.34
Major new features:
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
PTHREAD_STACK_MIN is no longer constant and is redefined to
sysconf(_SC_THREAD_STACK_MIN)
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ
* The dynamic linker implements the --list-diagnostics option, printing
a dump of information related to IFUNC resolver operation and
glibc-hwcaps subdirectory selection
* On Linux, the function execveat has been added
* The ISO C2X function timespec_getres has been added
* The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
C2X, is supported to enable declarations of functions defined in Annex F
of C2X
* Add support for 64-bit time_t on configurations like x86 where time_t
is traditionally 32-bit
* The main gconv-modules file in glibc now contains only a small set of
essential converter modules and the rest have been moved into a supplementary
configuration file gconv-modules-extra.conf in the gconv-modules.d directory
in the same GCONV_PATH
* On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
to configure the size of the thread stack cache
* The function _Fork has been added as an async-signal-safe fork replacement
since Austin Group issue 62 droped the async-signal-safe requirement for
fork (and it will be included in the future POSIX standard)
* On Linux, the close_range function has been added
* The function closefrom has been added
* The posix_spawn_file_actions_closefrom_np function has been added, enabling
posix_spawn and posix_spawnp to close all file descriptors great than or
equal to a giver integer
OBS-URL: https://build.opensuse.org/request/show/909816
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=601
2021-08-02 16:53:08 +02:00
|
|
|
%{_libdir}/libdl.a
|
2009-02-20 08:46:43 +01:00
|
|
|
%{_libdir}/libg.a
|
2013-12-10 18:20:34 +01:00
|
|
|
%ifarch ppc ppc64 ppc64le s390 s390x sparc sparcv8 sparcv9 sparcv9v
|
2010-01-03 12:31:34 +01:00
|
|
|
# This is not built on sparc64.
|
|
|
|
%{_libdir}/libnldbl_nonshared.a
|
2009-02-20 08:46:43 +01:00
|
|
|
%endif
|
|
|
|
%{_libdir}/libmcheck.a
|
Accepting request 909816 from home:Andreas_Schwab:Factory
- Update to glibc 2.34
Major new features:
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
PTHREAD_STACK_MIN is no longer constant and is redefined to
sysconf(_SC_THREAD_STACK_MIN)
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ
* The dynamic linker implements the --list-diagnostics option, printing
a dump of information related to IFUNC resolver operation and
glibc-hwcaps subdirectory selection
* On Linux, the function execveat has been added
* The ISO C2X function timespec_getres has been added
* The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
C2X, is supported to enable declarations of functions defined in Annex F
of C2X
* Add support for 64-bit time_t on configurations like x86 where time_t
is traditionally 32-bit
* The main gconv-modules file in glibc now contains only a small set of
essential converter modules and the rest have been moved into a supplementary
configuration file gconv-modules-extra.conf in the gconv-modules.d directory
in the same GCONV_PATH
* On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
to configure the size of the thread stack cache
* The function _Fork has been added as an async-signal-safe fork replacement
since Austin Group issue 62 droped the async-signal-safe requirement for
fork (and it will be included in the future POSIX standard)
* On Linux, the close_range function has been added
* The function closefrom has been added
* The posix_spawn_file_actions_closefrom_np function has been added, enabling
posix_spawn and posix_spawnp to close all file descriptors great than or
equal to a giver integer
OBS-URL: https://build.opensuse.org/request/show/909816
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=601
2021-08-02 16:53:08 +02:00
|
|
|
%{_libdir}/libpthread.a
|
|
|
|
%{_libdir}/librt.a
|
|
|
|
%{_libdir}/libutil.a
|
2011-06-16 15:36:45 +02:00
|
|
|
|
|
|
|
%files devel-static
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libBrokenLocale.a
|
|
|
|
%{_libdir}/libanl.a
|
|
|
|
%{_libdir}/libc.a
|
|
|
|
%{_libdir}/libm.a
|
Accepting request 1102127 from home:Andreas_Schwab:Factory
- Update to glibc 2.38
* When C2X features are enabled and the base argument is 0 or 2, the
following functions support binary integers prefixed by 0b or 0B as
input
* PRIb*, PRIB* and SCNb* macros from C2X have been added to
<inttypes.h>.
* printf-family functions now support the wN format length modifiers for
arguments of type intN_t, int_leastN_t, uintN_t or uint_leastN_t
and the wfN format
length modifiers for arguments of type int_fastN_t or uint_fastN_t, as
specified in draft ISO C2X
* A new tunable, glibc.pthread.stack_hugetlb, can be used to disable
Transparent Huge Pages (THP) in stack allocation at pthread_create
* Vector math library libmvec support has been added to AArch64
* The strlcpy and strlcat functions have been added
* CVE-2023-25139: When the printf family of functions is called with a
format specifier that uses an <apostrophe> (enable grouping) and a
minimum width specifier, the resulting output could be larger than
reasonably expected by a caller that computed a tight bound on the
buffer size
- Enable build with _FORTIFY_SOURCE
- glibc-2.3.90-langpackdir.diff: avoid reference to __strcpy_chk
- iconv-error-verbosity.patch: iconv: restore verbosity with unrecognized
encoding names (BZ #30694)
- printf-grouping.patch, strftime-time64.patch,
getlogin-no-loginuid.patch, fix-locking-in-_IO_cleanup.patch,
gshadow-erange-rhandling.patch, system-sigchld-block.patch,
gmon-buffer-alloc.patch, check-pf-cancel-handler.patch,
powerpc64-fcntl-lock.patch, realloc-limit-chunk-reuse.patch,
dl-find-object-return.patch; Removed
OBS-URL: https://build.opensuse.org/request/show/1102127
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=657
2023-08-03 10:05:05 +02:00
|
|
|
%ifarch x86_64 aarch64
|
Accepting request 454919 from home:Andreas_Schwab:Factory
- Update to glibc 2.25
* The feature test macro __STDC_WANT_LIB_EXT2__, from ISO/IEC TR
24731-2:2010, is supported to enable declarations of functions from that
TR.
* The feature test macro __STDC_WANT_IEC_60559_BFP_EXT__, from ISO/IEC TS
18661-1:2014, is supported to enable declarations of functions and macros
from that TS.
* The feature test macro __STDC_WANT_IEC_60559_FUNCS_EXT__, from ISO/IEC TS
18661-4:2015, is supported to enable declarations of functions and macros
from that TS.
* The nonstandard feature selection macros _REENTRANT and _THREAD_SAFE are
now treated as compatibility synonyms for _POSIX_C_SOURCE=199506L.
* The inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
* New <fenv.h> features from TS 18661-1:2014 are added to libm: the
fesetexcept, fetestexceptflag, fegetmode and fesetmode functions, the
femode_t type and the FE_DFL_MODE and FE_SNANS_ALWAYS_SIGNAL macros.
* Integer width macros from TS 18661-1:2014 are added to <limits.h>:
CHAR_WIDTH, SCHAR_WIDTH, UCHAR_WIDTH, SHRT_WIDTH, USHRT_WIDTH, INT_WIDTH,
UINT_WIDTH, LONG_WIDTH, ULONG_WIDTH, LLONG_WIDTH, ULLONG_WIDTH; and to
<stdint.h>: INT8_WIDTH, UINT8_WIDTH, INT16_WIDTH, UINT16_WIDTH,
INT32_WIDTH, UINT32_WIDTH, INT64_WIDTH, UINT64_WIDTH, INT_LEAST8_WIDTH,
UINT_LEAST8_WIDTH, INT_LEAST16_WIDTH, UINT_LEAST16_WIDTH,
INT_LEAST32_WIDTH, UINT_LEAST32_WIDTH, INT_LEAST64_WIDTH,
UINT_LEAST64_WIDTH, INT_FAST8_WIDTH, UINT_FAST8_WIDTH, INT_FAST16_WIDTH,
UINT_FAST16_WIDTH, INT_FAST32_WIDTH, UINT_FAST32_WIDTH, INT_FAST64_WIDTH,
UINT_FAST64_WIDTH, INTPTR_WIDTH, UINTPTR_WIDTH, INTMAX_WIDTH,
UINTMAX_WIDTH, PTRDIFF_WIDTH, SIG_ATOMIC_WIDTH, SIZE_WIDTH, WCHAR_WIDTH,
WINT_WIDTH.
* New <math.h> features are added from TS 18661-1:2014:
- Signaling NaN macros: SNANF, SNAN, SNANL.
OBS-URL: https://build.opensuse.org/request/show/454919
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=451
2017-02-06 11:25:17 +01:00
|
|
|
%{_libdir}/libm-%{libversion}.a
|
2015-08-06 11:55:23 +02:00
|
|
|
%{_libdir}/libmvec.a
|
|
|
|
%endif
|
2009-02-20 08:46:43 +01:00
|
|
|
%{_libdir}/libresolv.a
|
|
|
|
|
2014-02-24 15:57:11 +01:00
|
|
|
%ifnarch i686
|
2009-02-20 08:46:43 +01:00
|
|
|
%files info
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_infodir}/libc.info.gz
|
|
|
|
%doc %{_infodir}/libc.info-?.gz
|
|
|
|
%doc %{_infodir}/libc.info-??.gz
|
|
|
|
|
2012-04-16 22:11:08 +02:00
|
|
|
%if %{build_html}
|
2009-02-20 08:46:43 +01:00
|
|
|
%files html
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_prefix}/share/doc/glibc
|
2012-04-16 22:11:08 +02:00
|
|
|
%endif
|
2009-02-20 08:46:43 +01:00
|
|
|
|
|
|
|
%files i18ndata
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_prefix}/share/i18n
|
|
|
|
|
|
|
|
%files -n nscd
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config(noreplace) /etc/nscd.conf
|
2011-06-15 14:55:16 +02:00
|
|
|
%{_sbindir}/nscd
|
|
|
|
%{_sbindir}/rcnscd
|
2012-11-28 21:52:39 +01:00
|
|
|
/usr/lib/systemd/system/nscd.service
|
2011-07-07 10:29:39 +02:00
|
|
|
%dir /usr/lib/tmpfiles.d
|
|
|
|
/usr/lib/tmpfiles.d/nscd.conf
|
2022-11-28 12:23:25 +01:00
|
|
|
%dir /usr/lib/sysusers.d
|
|
|
|
/usr/lib/sysusers.d/nscd.conf
|
2014-04-15 15:21:46 +02:00
|
|
|
%dir %attr(0755,root,root) %ghost /run/nscd
|
|
|
|
%attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /run/nscd/nscd.pid
|
|
|
|
%attr(0666,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /run/nscd/socket
|
2016-10-13 11:25:07 +02:00
|
|
|
%dir %attr(0755,root,root) /var/lib/nscd
|
|
|
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/lib/nscd/passwd
|
|
|
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/lib/nscd/group
|
|
|
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/lib/nscd/hosts
|
|
|
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/lib/nscd/services
|
|
|
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/lib/nscd/netgroup
|
Accepting request 824657 from home:Andreas_Schwab:Factory
- Update to glibc 2.32
* Unicode 13.0.0 Support
* New locale added: ckb_IQ
* The GNU C Library now loads audit modules listed in the DT_AUDIT and
DT_DEPAUDIT dynamic section entries of the main executable
* powerpc64le supports IEEE128 long double libm/libc redirects when
using the -mabi=ieeelongdouble to compile C code on supported GCC
toolchains
* To help detect buffer overflows and other out-of-bounds accesses
several APIs have been annotated with GCC 'access' attribute
* On Linux, functions the pthread_attr_setsigmask_np and
pthread_attr_getsigmask_np have been added
* The GNU C Library now provides the header file <sys/single_threaded.h>
which declares the variable __libc_single_threaded
* The functions sigabbrev_np and sigdescr_np have been added
* The functions strerrorname_np and strerrordesc_np have been added
* AArch64 now supports standard branch protection security hardening
in glibc when it is built with a GCC that is configured with
--enable-standard-branch-protection (or if -mbranch-protection=standard
flag is passed when building both GCC target libraries and glibc,
in either case a custom GCC is needed)
* The deprecated <sys/sysctl.h> header and the sysctl function have been
removed
* The sstk function is no longer available to newly linked binaries
* The legacy signal handling functions siginterrupt, sigpause, sighold,
sigrelse, sigignore and sigset, and the sigmask macro have been
deprecated
* ldconfig now defaults to the new format for ld.so.cache
* The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev
are no longer available to newly linked binaries, and their declarations
OBS-URL: https://build.opensuse.org/request/show/824657
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=567
2020-08-06 11:17:04 +02:00
|
|
|
%endif
|
2009-02-20 08:46:43 +01:00
|
|
|
|
2012-04-16 22:11:08 +02:00
|
|
|
%if %{build_profile}
|
2009-02-20 08:46:43 +01:00
|
|
|
%files profile
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libc_p.a
|
|
|
|
%{_libdir}/libBrokenLocale_p.a
|
|
|
|
%{_libdir}/libanl_p.a
|
|
|
|
%{_libdir}/libm_p.a
|
Accepting request 1102127 from home:Andreas_Schwab:Factory
- Update to glibc 2.38
* When C2X features are enabled and the base argument is 0 or 2, the
following functions support binary integers prefixed by 0b or 0B as
input
* PRIb*, PRIB* and SCNb* macros from C2X have been added to
<inttypes.h>.
* printf-family functions now support the wN format length modifiers for
arguments of type intN_t, int_leastN_t, uintN_t or uint_leastN_t
and the wfN format
length modifiers for arguments of type int_fastN_t or uint_fastN_t, as
specified in draft ISO C2X
* A new tunable, glibc.pthread.stack_hugetlb, can be used to disable
Transparent Huge Pages (THP) in stack allocation at pthread_create
* Vector math library libmvec support has been added to AArch64
* The strlcpy and strlcat functions have been added
* CVE-2023-25139: When the printf family of functions is called with a
format specifier that uses an <apostrophe> (enable grouping) and a
minimum width specifier, the resulting output could be larger than
reasonably expected by a caller that computed a tight bound on the
buffer size
- Enable build with _FORTIFY_SOURCE
- glibc-2.3.90-langpackdir.diff: avoid reference to __strcpy_chk
- iconv-error-verbosity.patch: iconv: restore verbosity with unrecognized
encoding names (BZ #30694)
- printf-grouping.patch, strftime-time64.patch,
getlogin-no-loginuid.patch, fix-locking-in-_IO_cleanup.patch,
gshadow-erange-rhandling.patch, system-sigchld-block.patch,
gmon-buffer-alloc.patch, check-pf-cancel-handler.patch,
powerpc64-fcntl-lock.patch, realloc-limit-chunk-reuse.patch,
dl-find-object-return.patch; Removed
OBS-URL: https://build.opensuse.org/request/show/1102127
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=657
2023-08-03 10:05:05 +02:00
|
|
|
%ifarch x86_64 aarch64
|
2015-08-06 11:55:23 +02:00
|
|
|
%{_libdir}/libmvec_p.a
|
|
|
|
%endif
|
2009-02-20 08:46:43 +01:00
|
|
|
%{_libdir}/libpthread_p.a
|
|
|
|
%{_libdir}/libresolv_p.a
|
|
|
|
%{_libdir}/librt_p.a
|
|
|
|
%{_libdir}/libutil_p.a
|
|
|
|
%{_libdir}/libdl_p.a
|
2012-04-16 22:11:08 +02:00
|
|
|
%endif
|
2009-02-20 08:46:43 +01:00
|
|
|
|
2014-02-24 15:57:11 +01:00
|
|
|
%ifnarch i686
|
2012-12-19 18:04:05 +01:00
|
|
|
%files extra
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/makedb
|
2019-07-17 15:37:54 +02:00
|
|
|
%{_prefix}/share/misc/Makefile.makedb
|
2012-12-19 18:04:05 +01:00
|
|
|
/var/lib/misc/Makefile
|
|
|
|
|
2020-04-20 16:05:31 +02:00
|
|
|
%files lang -f libc.lang
|
2024-02-08 09:40:08 +01:00
|
|
|
%endif
|
2024-01-24 13:12:32 +01:00
|
|
|
|
|
|
|
%ifarch %ix86 %alpha hppa m68k %mips32 %mips64 %sparc ppc ppc64 ppc64le x86_64 s390 s390x %arm aarch64 riscv64
|
|
|
|
%files -n libnsl1
|
|
|
|
%{slibdir}/libnsl.so.1
|
|
|
|
%endif
|
2020-04-20 16:05:31 +02:00
|
|
|
|
Accepting request 824657 from home:Andreas_Schwab:Factory
- Update to glibc 2.32
* Unicode 13.0.0 Support
* New locale added: ckb_IQ
* The GNU C Library now loads audit modules listed in the DT_AUDIT and
DT_DEPAUDIT dynamic section entries of the main executable
* powerpc64le supports IEEE128 long double libm/libc redirects when
using the -mabi=ieeelongdouble to compile C code on supported GCC
toolchains
* To help detect buffer overflows and other out-of-bounds accesses
several APIs have been annotated with GCC 'access' attribute
* On Linux, functions the pthread_attr_setsigmask_np and
pthread_attr_getsigmask_np have been added
* The GNU C Library now provides the header file <sys/single_threaded.h>
which declares the variable __libc_single_threaded
* The functions sigabbrev_np and sigdescr_np have been added
* The functions strerrorname_np and strerrordesc_np have been added
* AArch64 now supports standard branch protection security hardening
in glibc when it is built with a GCC that is configured with
--enable-standard-branch-protection (or if -mbranch-protection=standard
flag is passed when building both GCC target libraries and glibc,
in either case a custom GCC is needed)
* The deprecated <sys/sysctl.h> header and the sysctl function have been
removed
* The sstk function is no longer available to newly linked binaries
* The legacy signal handling functions siginterrupt, sigpause, sighold,
sigrelse, sigignore and sigset, and the sigmask macro have been
deprecated
* ldconfig now defaults to the new format for ld.so.cache
* The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev
are no longer available to newly linked binaries, and their declarations
OBS-URL: https://build.opensuse.org/request/show/824657
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=567
2020-08-06 11:17:04 +02:00
|
|
|
%endif
|
2012-12-19 18:04:05 +01:00
|
|
|
|
2021-08-11 14:09:30 +02:00
|
|
|
%if %{build_cross}
|
|
|
|
%files -n cross-%{cross_arch}-glibc-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%license COPYING COPYING.LIB
|
|
|
|
%{sysroot}
|
|
|
|
%endif
|
|
|
|
|
2017-07-12 15:21:16 +02:00
|
|
|
%if %{build_utils}
|
2018-01-30 16:17:29 +01:00
|
|
|
%files -n glibc-utils
|
2011-06-15 09:27:54 +02:00
|
|
|
%defattr(-,root,root)
|
2021-02-18 14:40:31 +01:00
|
|
|
%{slibdir}/libmemusage.so
|
|
|
|
%{slibdir}/libpcprofile.so
|
2012-12-19 18:04:05 +01:00
|
|
|
%dir %{_libdir}/audit
|
|
|
|
%{_libdir}/audit/sotruss-lib.so
|
|
|
|
%{_bindir}/memusage
|
|
|
|
%{_bindir}/memusagestat
|
2011-06-15 14:55:16 +02:00
|
|
|
%{_bindir}/mtrace
|
|
|
|
%{_bindir}/pcprofiledump
|
2011-08-17 21:42:24 +02:00
|
|
|
%{_bindir}/sotruss
|
2011-06-15 14:55:16 +02:00
|
|
|
%{_bindir}/xtrace
|
2011-12-27 09:19:44 +01:00
|
|
|
%{_bindir}/pldd
|
Accepting request 824657 from home:Andreas_Schwab:Factory
- Update to glibc 2.32
* Unicode 13.0.0 Support
* New locale added: ckb_IQ
* The GNU C Library now loads audit modules listed in the DT_AUDIT and
DT_DEPAUDIT dynamic section entries of the main executable
* powerpc64le supports IEEE128 long double libm/libc redirects when
using the -mabi=ieeelongdouble to compile C code on supported GCC
toolchains
* To help detect buffer overflows and other out-of-bounds accesses
several APIs have been annotated with GCC 'access' attribute
* On Linux, functions the pthread_attr_setsigmask_np and
pthread_attr_getsigmask_np have been added
* The GNU C Library now provides the header file <sys/single_threaded.h>
which declares the variable __libc_single_threaded
* The functions sigabbrev_np and sigdescr_np have been added
* The functions strerrorname_np and strerrordesc_np have been added
* AArch64 now supports standard branch protection security hardening
in glibc when it is built with a GCC that is configured with
--enable-standard-branch-protection (or if -mbranch-protection=standard
flag is passed when building both GCC target libraries and glibc,
in either case a custom GCC is needed)
* The deprecated <sys/sysctl.h> header and the sysctl function have been
removed
* The sstk function is no longer available to newly linked binaries
* The legacy signal handling functions siginterrupt, sigpause, sighold,
sigrelse, sigignore and sigset, and the sigmask macro have been
deprecated
* ldconfig now defaults to the new format for ld.so.cache
* The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev
are no longer available to newly linked binaries, and their declarations
OBS-URL: https://build.opensuse.org/request/show/824657
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=567
2020-08-06 11:17:04 +02:00
|
|
|
%endif
|
2012-12-17 14:15:06 +01:00
|
|
|
|
2009-02-20 08:46:43 +01:00
|
|
|
%changelog
|