Commit Graph

1252 Commits

Author SHA1 Message Date
Florian Weimer
8a71833984 Add annobin annotations to assembler code (#1548438) 2018-07-04 16:35:00 +02:00
Florian Weimer
43a21403fe Update License tag 2018-07-04 13:02:15 +02:00
Florian Weimer
a50cd9a587 Enable -D_FORTIFY_SOURCE=2 for nonshared code 2018-07-04 11:56:29 +02:00
Florian Weimer
2074a352da Add changelog reference to bug #1566464 2018-07-04 11:50:24 +02:00
Florian Weimer
4adfefae5a Inherit additional build flags 2018-07-04 10:48:07 +02:00
Florian Weimer
145da19e2e Auto-sync with upstream branch master
Upstream commit: b7b88cea4151d85eafd7ababc2e4b7ae1daeedf5
2018-07-02 22:56:52 +02:00
Florian Weimer
58f5912619 Auto-sync with upstream branch master
Upstream commit: e69d994a63afc2d367f286a2a7df28cbf710f0fe
2018-07-02 22:56:52 +02:00
Florian Weimer
c8098b86f8 Auto-sync with upstream branch master
Upstream commit: c49e18222e4c40f21586dabced8a49732d946917
2018-06-28 10:28:29 +02:00
Florian Weimer
a6144b701a Compatibility fix for <sys/stat.h> and <linux/time.h> 2018-06-21 08:25:16 +02:00
Florian Weimer
4343a2408a Auto-sync with upstream branch master
Upstream commit: f496b28e61d0342f579bf794c71b80e9c7d0b1b5
2018-06-21 08:23:20 +02:00
Florian Weimer
2b743b9fd1 Auto-sync with upstream branch master
Upstream commit: f2857da7cdb65bfad75ee30981f5b2fde5bbb1dc
2018-06-18 21:25:46 +02:00
Florian Weimer
9007def666 Add CVE-2018-11236 reference 2018-06-18 14:58:14 +02:00
Florian Weimer
4283de10b6 Auto-sync with upstream branch master
Upstream commit: 14beef7575099f6373f9a45b4656f1e3675f7372

- iconv: Make IBM273 equivalent to ISO-8859-1 (#1592270)
2018-06-18 13:02:53 +02:00
Florian Weimer
84981f566e Inherit the -msse2 build flag as well (#1592212) 2018-06-18 11:51:52 +02:00
Florian Weimer
94a7268e0b Auto-sync with upstream branch master
Upstream commit:104502102c6fa322515ba0bb3c95c05c3185da7a
2018-06-01 14:07:34 +02:00
Florian Weimer
9f8b04ee49 Adjust build flags inheritence from redhat-rpm-config 2018-06-01 12:10:16 +02:00
Florian Weimer
f21f7f7c7f Auto-sync with upstream branch master
Upstream commit: c1dc1e1b34873db79dfbfa8f2f0a2abbe28c0514
2018-05-25 11:40:12 +02:00
Florian Weimer
13e87ddfb5 Add CVE-2018-11237 reference 2018-05-23 21:38:06 +02:00
Florian Weimer
bfa9f404d2 Auto-sync with upstream branch master
Upstream commit: 7f9f1ecb710eac4d65bb02785ddf288cac098323

- Drop glibc-rh1452750-allocate_once.patch,
  glibc-rh1452750-libidn2.patch.  Applied upstream.
2018-05-23 15:37:05 +02:00
Florian Weimer
7e87eb005e Auto-sync with upstream branch master
Upstream commit: 8f145c77123a565b816f918969e0e35ee5b89153
2018-05-23 09:21:21 +02:00
Florian Weimer
57b8f5c277 Add CVE-2017-18269 reference 2018-05-23 09:15:03 +02:00
Carlos O'Donell
c9ce3549e4 Add notes about nss_db and past F16 transition. 2018-05-22 12:30:32 -04:00
Florian Weimer
0e59699b4c Auto-sync with upstream branch master
Upstream commit: 632a6cbe44cdd41dba7242887992cdca7b42922a
2018-05-17 10:35:47 +02:00
Florian Weimer
890019ecf2 Inherit compiler flags in the original order 2018-05-11 16:12:33 +02:00
Florian Weimer
2fcfa6890c Inherit the -mstackrealign flag if it is set 2018-05-11 16:04:30 +02:00
Florian Weimer
d591927700 Auto-sync with upstream branch master
Upstream commit: 89aacb513eb77549a29df2638913a0f8178cf3f5

- Avoid exporting some Sun RPC symbols with default versions (#1577210)
2018-05-11 16:02:06 +02:00
Florian Weimer
71cb283b66 Use /usr/bin/python3 for benchmarks scripts (#1577223) 2018-05-11 15:56:01 +02:00
Florian Weimer
c491e21bc7 Revert "Add annobin annotations to assembler code (#1548438)"
CFLAGS is not generally used when calling assembler, and this eventually
exposes a design issue in the annobin notes handling; see bug 1576362.

This reverts commit 7c1047805b.
2018-05-09 11:26:57 +02:00
Florian Weimer
7c1047805b Add annobin annotations to assembler code (#1548438) 2018-05-04 14:23:09 +02:00
Florian Weimer
098d568ec0 Auto-sync with upstream branch master
Upstream commit: 0085be1415a38b40a5a1a12e49368498f1687380
2018-04-19 13:53:29 +02:00
Florian Weimer
5603627552 Switch to %autosetup 2018-04-19 13:49:39 +02:00
Carlos O'Donell
0e17ea22c1 glibc.spec: Apply patches in logical order.
The following commit removes the requirement for patches to be
placed in 1000, 2000, or 3000 ID blocks depending on their
upstream status. Instead upstream status is documented in the
header of the patch with some semi-standard notation as described
in template.patch. The patches are re-numbered and defined and
applied in the same order. Verified that before and after the
patch that the source tree does not change. The patch definition
is resorted to match the patch application order.
2018-04-17 15:00:23 -05:00
Florian Weimer
7e28f1b6ad Auto-sync with upstream branch master
Upstream commit: 583a27d525ae189bdfaa6784021b92a9a1dae12e
2018-04-09 12:01:14 +02:00
Florian Weimer
ec52db3a46 Auto-sync with upstream branch master
Upstream commit: d39c0a459ef32a41daac4840859bf304d931adab
2018-03-29 11:44:12 +02:00
Florian Weimer
52fc655c6c Auto-sync with upstream branch master
Upstream commit: fbce6f7260c3847f14dfa38f60c9111978fb33a5
2018-03-19 20:37:00 +01:00
Florian Weimer
e0b0cbbd50 Auto-sync with upstream branch master
Upstream commit: 700593fdd7aef1e36cfa8bad969faab76a6facda
2018-03-16 12:33:09 +01:00
Florian Weimer
cee352f95d Auto-sync with upstream branch master
Upstream commit: 7108f1f944792ac68332967015d5e6418c5ccc88
2018-03-14 11:02:55 +01:00
Florian Weimer
a928b2e6c1 Auto-sync with upstream branch master
Upstream commit: da6d4404ecfd7eacba8c096b0761a5758a59da4b
2018-03-12 11:44:45 +01:00
Florian Weimer
9be86f04b3 Enable annobin annotations (#1548438) 2018-03-06 14:37:32 +01:00
Florian Weimer
90b56a7d0c Add reference to #1550914 2018-03-02 10:39:29 +01:00
Florian Weimer
af386eee0d Auto-sync with upstream branch master
Upstream commit: 1a2f44a848663036c8a14671fe0faa3fed0b2a25

- Remove spurios reference to libpthread_nonshared.a
2018-03-01 12:57:19 +01:00
Florian Weimer
890cc4ed1d Auto-sync with upstream branch master
Upstream commit: bd60ce86520b781ca24b99b2555e2ad389bbfeaa
2018-03-01 08:34:12 +01:00
Florian Weimer
0e84fd763d Drop glibc-fedora-nptl-linklibc.patch
We do not reference any compatibility symbols from libpthread, so
this patch appears unnecessary.
2018-03-01 08:27:57 +01:00
Florian Weimer
d92633e7a9 Update release and changelog 2018-02-28 12:40:44 +01:00
Florian Weimer
081ef32d63 Inherit as many flags as possible from redhat-rpm-config 2018-02-28 12:40:17 +01:00
Richard W.M. Jones
ee109af432 riscv64: Disable valgrind smoke test on this architecture. 2018-02-19 19:47:31 +00:00
Richard W.M. Jones
16398fcbfd riscv64: Add symlink from /usr/lib64/lp64d -> /usr/lib64 for ABI compat. 2018-02-19 19:47:30 +00:00
Florian Weimer
4c06a879a9 Update changelog 2018-02-14 17:07:46 +01:00
Florian Weimer
29d10047e2 Include ChangeLog.old in the source RPM 2018-02-14 17:07:14 +01:00
Florian Weimer
5a04553bf2 Remove stale reference to the language_list macro 2018-02-14 17:07:14 +01:00
Florian Weimer
7f4ea1188a Trim changelog 2018-02-14 17:02:48 +01:00
Florian Weimer
1dbdd9fef3 Remove %defattr(-,root,root) 2018-02-14 16:58:24 +01:00
Igor Gnatenko
c57221cc4f
fix typo in spec
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-11 10:13:47 +01:00
Igor Gnatenko
28e47feb91 use shell to run ldconfig %transfiletrigger
glibc-common already depends on /bin/sh, so it would be installed at a
time when trigger runs.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-07 17:05:29 +01:00
Igor Gnatenko
c09c66271e move %transfiletrigger* in common subpackage
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-07 17:04:59 +01:00
Florian Weimer
55adfecd0c Linux: use reserved name __key in pkey_get (#1542643)
Auto-sync with upstream branch release/2.27/master,
commit 56170e064e2b21ce204f0817733e92f1730541ea.
2018-02-07 14:09:49 +01:00
Florian Weimer
eff52e3518 Fix typo in comment 2018-02-07 14:03:08 +01:00
Fedora Release Engineering
cefed5d027 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 12:49:46 +00:00
Carlos O'Donell
587bed9b2f glibc-2.27-1
Auto-sync with upstream masger.

Upstream commit: 23158b08a0908f381459f273a984c6fd328363cb.
2018-02-05 07:32:08 -08:00
Richard W.M. Jones
72c4f88cc6 Fix cut and paste error in %changelog message of previous commit. 2018-01-30 19:33:56 +00:00
Richard W.M. Jones
f80578dc89 Disable -fstack-clash-protection on riscv64:
not supported even by GCC 7.3.1 on this architecture.

Apparently it requires architecture-specific support.  In any case it
does not work with GCC 7.3.1 on riscv64:

stage3:/# gcc --version
gcc (GCC) 7.3.1 20180129
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
stage3:/# gcc -fstack-clash-protection
gcc: error: unrecognized command line option '-fstack-clash-protection'; did you mean '-fstack-protector'?
gcc: fatal error: no input files
compilation terminated.
2018-01-30 18:31:15 +00:00
Florian Weimer
6ff958f2aa Explicitly run ldconfig in the buildroot 2018-01-29 20:42:52 +01:00
Florian Weimer
48a71633e6 Auto-sync with upstream branch master
Upstream commit: cdd14619a713ab41e26ba700add4880604324dbb

- libnsl: Turn remaining symbols into compat symbols (swbz#22701)
- be_BY, be_BY@latin, lt_LT, el_CY, el_GR, ru_RU, ru_UA, uk_UA:
  Add alternative month names (swbz#10871)
- x86: Revert Intel CET changes to __jmp_buf_tag (swbz#22743)
- aarch64: Revert the change of the __reserved member of mcontext_t
2018-01-29 18:06:23 +01:00
Igor Gnatenko
1f24fb0da2
Add file triggers to do ldconfig calls automatically
Since time immemorial, Red Hat/Fedora packagers have been required
to add a stanza to spec files for packages containing libraries to
update the ldconfig cache.

```
%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig
```

To say this is annoying is to put it mildly. However, there was no
standard mechanism to make this boilerplate go away. Now with RPM 4.13+,
we should change this to file triggers and make all of that go away.

In the case of the transaction file triggers that run on the regular
link library paths, the performance benefit is minimal, and being greedy
does not hurt in this case. It's still an improvement over running
ldconfig every time anyway.

With the introduction of these triggers, we can start removing the
ldconfig boilerplate from Fedora package specs, and new packages will
not need to add it.

Pirority (-P) is not strictly needed, but we want to run our ldconfig
"first" before rest of scriptlets so it would speed up them (we would
build ldconfig cache beforehand).

References: https://bugzilla.redhat.com/1380878
Originally-proposed-by: Neal Gompa <ngompa13@gmail.com>
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-29 17:52:15 +01:00
Florian Weimer
6777c3ed80 Auto-sync with upstream branch master
Upstream commit: 21c0696cdef617517de6e25711958c40455c554f

- locale: Implement alternative month names (swbz#10871)
- locale: Change month names for pl_PL (swbz#10871)
2018-01-22 16:19:24 +01:00
Florian Weimer
a4166cd2cf aarch64 static PIE is still broken, disable again
Also apply minor related changelog fixes.
2018-01-22 16:15:37 +01:00
Florian Weimer
58e6c2560b Fix BuildRequires: binutils 2018-01-22 15:36:05 +01:00
Florian Weimer
92867018b5 Update changelog for glibc-2.26.9000-47.fc28 2018-01-22 15:33:29 +01:00
Florian Weimer
cd5e5a1117 Reenable static PIE on aarch64 after binutils fix (#1247050) 2018-01-22 15:33:29 +01:00
Florian Weimer
6815071d4a Unconditionally build without libcrypt 2018-01-22 15:33:25 +01:00
Florian Weimer
b8b7388beb Fix release number in changelog entry 2018-01-22 11:09:06 +01:00
Björn Esser
2687b3c78b
Remove deprecated libcrypt, gets replaced by libxcrypt
Add applicable Requires on libxcrypt

Back in June, Björn Esser proposed to add OpenBSD-compatible bcrypt
support to our implementation of crypt(3), and Zack Weinberg replied
that it might actually make more sense to _remove_ libcrypt from
glibc, freeing up libcrypt.so.1 and crypt.h to be provided by a
separate project that could move faster.  (For instance, libxcrypt:
https://github.com/besser82/libxcrypt)

This commit is the glibc part of:
https://fedoraproject.org/wiki/Changes/Replace_glibc_libcrypt_with_libxcrypt
2018-01-19 23:49:50 +01:00
Florian Weimer
6a5972a529 Remove the glibc-rpcgen subpackage
An rpcgen subpackage is now built by rpcsvc-proto.
2018-01-19 18:32:12 +01:00
Florian Weimer
36e8658036 Drop static PIE support on aarch64
It leads to crashes at run time.  Probably needs binutils fixes not
yet in rawhide.
2018-01-19 18:04:40 +01:00
Florian Weimer
fac98a7443 Auto-sync with upstream branch master
Upstream commit: 4612268a0ad8e3409d8ce2314dd2dd8ee0af5269

- Correct the list of static PIE architectures
- glibc_post_upgrade: Remove process restart logic
- glibc_post_upgrade: Integrate into the build process
- glibc_post_upgrade: Do not clean up tls subdirectories
- glibc_post_upgrade: Drop ia64 support
- Remove architecture-specific symbolic link for iconvconfig
- powerpc: Fix syscalls during early process initialization (swbz#22685)
2018-01-19 17:02:46 +01:00
Florian Weimer
cc5db6cdfd Correct the list of static PIE architectures
x86_64 was missing before.
2018-01-19 17:02:40 +01:00
Florian Weimer
737f7e8513 glibc_post_upgrade: Integrate into the build process
This gives us access to the relevant definitions and also enables
us to perform a static PIE build without replicate the entire
compiler invocation.

Due to the move into the glibc build process, the program had to
be cleaned up to compile without warnings.
2018-01-19 16:32:18 +01:00
Florian Weimer
34f077631c Move glibc-fedora-nscd.patch comment into file 2018-01-19 16:05:04 +01:00
Florian Weimer
707a1e8f87 Remove architecture-specific symbolic link for iconvconfig
Its purpose is not entirely clear.  glibc_post_upgrade invokes
iconvconfig with explicit paths, so it does not matter for which
multilib variant the binary was built.
2018-01-19 15:30:50 +01:00
Florian Weimer
e33b0e3197 glibc_post_upgrade: Move LD_SO_CONF definition into source file 2018-01-19 15:11:38 +01:00
Florian Weimer
365663e72b glibc_post_upgrade: Do not clean up tls subdirectories
These were removed a long time ago.
2018-01-19 15:07:33 +01:00
Florian Weimer
0f4d3ed14d Auto-sync with upstream branch master
Upstream commit: 64f63cb4583ecc1ba16c7253aacc192b6d088511

- Enable static PIE support
- Remove add-on support (already gone upstream)
- Rework test suite status reporting
- malloc: Fix integer overflows in memalign and malloc functions (swbz#22343)
- x86-64: Properly align La_x86_64_retval to VEC_SIZE (swbz#22715)
- aarch64: Update bits/hwcap.h for Linux 4.15
- Add NT_ARM_SVE to elf.h
2018-01-19 12:58:39 +01:00
Florian Weimer
5c2fe5cfb3 Rework test suite status reporting
Remove the timeout and the parallel tail call.  Always output to
standard error, for synchronization with the rest of the reporting.
2018-01-19 12:02:32 +01:00
Florian Weimer
5163dbee45 Enable static PIE on aarch64, i686, x86-64 2018-01-19 08:36:02 +01:00
Florian Weimer
dc905411d5 Remove add-on support (already gone upstream) 2018-01-19 08:35:09 +01:00
Florian Weimer
90612b2709 Use libidn2 for IDNA support (#1452750) 2018-01-17 18:42:37 +01:00
Florian Weimer
d7ce5d4634 Auto-sync with upstream branch master
Upstream commit: 860b0240a5645edd6490161de3f8d1d1f2786025

- CVE-2018-1000001: Make getcwd fail if it cannot obtain an absolute path
  (#1533837)
- elf: Synchronize DF_1_* flags with binutils (#1439328)
- aarch64: fix static pie enabled libc when main is in a shared library
- malloc: Ensure that the consolidated fast chunk has a sane size
2018-01-15 18:02:57 +01:00
Florian Weimer
d84b03df97 Auto-sync with upstream branch master
Upstream commit: 9a08a366a7e7ddffe62113a9ffe5e50605ea0924

- libnsl: Do not install libnsl.so, libnsl.a (#1531540)
- Use unversioned Supplements: for langpacks (#1490725)
- hu_HU locale: Avoid double space (swbz#22657)
- math: Make default libc_feholdsetround_noex_ctx use __feholdexcept
  (swbz#22702)
2018-01-12 11:43:05 +01:00
Florian Weimer
684ac6eb78 Use unversioned Supplements: for langpacks (#1490725) 2018-01-12 11:13:18 +01:00
Florian Weimer
538e3ea7c8 Auto-sync with upstream branch master
Upstream commit: 08c6e95234c60a5c2f37532d1111acf084f39345

- nptl: Open libgcc.so with RTLD_NOW during pthread_cancel (#1527887)
- Introduce libnsl subpackage and remove NIS headers (#1531540)
- Use versioned Obsoletes: for libcrypt-nss.
- nptl: Add tst-minstack-cancel, tst-minstack-exit (swbz#22636)
- math: ldbl-128ibm log1pl (-qNaN) spurious "invalid" exception (swbz#22693)
2018-01-11 14:30:08 +01:00
Florian Weimer
b8bc11a834 Put libnsl into a subpackage and do not install NIS headers 2018-01-11 13:21:53 +01:00
Florian Weimer
6e8a4e351b Use versioned Obsoletes: for libcrypt-nss 2018-01-11 11:57:20 +01:00
Carlos O'Donell
8544d3ab89 Update comments on python3 selection. 2018-01-10 11:13:08 -08:00
Florian Weimer
9e28c4292e Auto-sync with upstream branch master
Upstream commit: 09085ede12fb9650f286bdcd805609ae69f80618

- nptl: Fix stack guard size accounting (#1527887)
- Remove invalid Obsoletes: on glibc-header provides
- Require python3 instead of python during builds
- math: ldbl-128ibm lrintl/lroundl missing "invalid" exceptions (swbz#22690)
- x86-64: Add sincosf with vector FMA
2018-01-10 08:59:17 +01:00
Florian Weimer
e15a68193c Use python3 instead of python during builds 2018-01-10 08:09:01 +01:00
Florian Weimer
cad9c65e11 Remove Obsoletes: on capabilities which are not package names 2018-01-09 15:14:20 +01:00
Florian Weimer
a281128660 Add glibc-rpcgen subpackage, until the replacement is packaged (#1531540) 2018-01-08 16:46:16 +01:00
Florian Weimer
1042b5d52a Auto-sync with upstream branch master
Upstream commit: 579396ee082565ab5f42ff166a264891223b7b82

- nptl: Add test for callee-saved register restore in pthread_exit
- getrlimit64: fix for 32-bit configurations with default version >= 2.2
- elf: Add linux-4.15 VDSO hash for RISC-V
- elf: Add RISC-V dynamic relocations to elf.h
- powerpc: Fix error message during relocation overflow
- prlimit: Replace old_rlimit RLIM64_INFINITY with RLIM_INFINITY (swbz#22678)
2018-01-08 15:15:05 +01:00
Florian Weimer
cf072ec21a Auto-sync with upstream branch master
Upstream commit: f1a844ac6389ea4e111afc019323ca982b5b027d

- CVE-2017-16997: elf: Check for empty tokens before DST expansion (#1526866)
- Remove sln (#1531546)
- Remove Sun RPC interfaces (#1531540)
- Rebuild with newer GCC to fix pthread_exit stack unwinding issue (#1529549)
- i386: In makecontext, align the stack before calling exit (swbz#22667)
- x86, armhfp: sync sys/ptrace.h with Linux 4.15 (swbz#22433)
- elf: check for rpath emptiness before making a copy of it
- elf: remove redundant is_path argument
- elf: remove redundant code from is_dst
- elf: remove redundant code from _dl_dst_substitute
- scandir: fix wrong assumption about errno (swbz#17804)
- Deprecate external use of libio.h and _G_config.h
2018-01-05 14:36:28 +01:00
Florian Weimer
bf6952b9c9 Drop glibc-fedora-elf-ORIGIN.patch
Fixed upstream in a different way (our patch was buggy, see CVE-2017-16997).
2018-01-05 14:23:04 +01:00