Commit Graph

1171 Commits

Author SHA1 Message Date
Florian Weimer
3528d1b928 Auto-sync with upstream branch release/2.27/master
Upstream commit: 0cd4a5e87f6885a2f15fe8e7eb7378d010cdb606

- sunrpc: Remove stray exports (#1577210)
- gd_GB: Fix typo in abbreviated May (swbz#23152)
- realpath: Fix path length overflow (swbz#22786)
- elf: Fix stack overflow with huge PT_NOTE segment (swbz#20419)
- resolv: Fully initialize struct mmsghdr in send_dg (swbz#23037)
- manual: Various fixes to the mbstouwcs example, and mbrtowc update
- getlogin_r: return early when linux sentinel value is set
- resolv: Fix crash in resolver on memory allocation failure (swbz#23005)
- Fix signed integer overflow in random_r (swbz#17343)
- RISC-V: fix struct kernel_sigaction to match the kernel version (swbz#23069)
2018-05-15 09:41:41 +02:00
Florian Weimer
61dc9c8b9d Unconditionally build downstream with -mstackrealign for now 2018-05-11 16:25:42 +02:00
Florian Weimer
fb93b16951 Inherit compiler flags in the original order 2018-05-11 16:23:59 +02:00
Florian Weimer
512e08766b Inherit the -mstackrealign flag if it is set 2018-05-11 16:23:11 +02:00
Florian Weimer
9512708e42 Use /usr/bin/python3 for benchmarks scripts (#1577223) 2018-05-11 16:20:01 +02:00
Florian Weimer
19400997dd Revert "Add annobin annotations to assembler code (downstream only)"
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 d43610c362.
2018-05-09 12:01:43 +02:00
Florian Weimer
d43610c362 Add annobin annotations to assembler code (downstream only) 2018-05-04 14:26:17 +02:00
Florian Weimer
cb37f54dd5 Auto-sync with upstream branch release/2.27/master
Upstream commit: 39071a55392d2d2e0b75fb19f2b48d661c4cc682
2018-03-29 13:03:16 +02:00
Florian Weimer
157a6383c2 Enable annobin on Red Hat Enterprise Linux 2018-03-29 12:53:46 +02:00
Florian Weimer
9dc918bfda Auto-sync with upstream branch release/2.27/master
Upstream commit: 55ad82e45c313454de657931898e974a7a036cad

- i386: Fix memmove issue (swbz#22644)
- RISC-V: fmax/fmin: Handle signalling NaNs correctly (swbz#22884)
- RISC-V: Do not initialize $gp in TLS macros
- cs_CZ locale: Add alternative month names (swbz#22963)
- Greek (el_CY, el_GR) locales: Introduce ab_alt_mon (swbz#22937)
- lt_LT locale: Update abbreviated month names (swbz#22932)
- ca_ES locale: Update LC_TIME (swbz#22848)
- i386: Fix i386 sigaction sa_restorer initialization (swbz#21269)
- Fix multiple definitions of __nss_*_database (swbz#22918)
- Fix netgroup cache keys (swbz#22342)
- linux/powerpc: sync sys/ptrace.h with Linux 4.15 (swbz#22433, swbz#22807)
- powerpc: Undefine Linux ptrace macros that conflict with __ptrace_request
- Add missing “reorder-end” in LC_COLLATE of et_EE (swbz#22517)
- linux/aarch64: sync sys/ptrace.h with Linux 4.15 (swbz#22433)
- [RISC-V] Fix parsing flags in ELF64 files (swbz#22827)
2018-03-29 12:53:37 +02:00
Florian Weimer
8ce0b90ecb Collation update and sync with CLDR (#1551009) 2018-03-02 15:52:13 +01:00
Florian Weimer
b8a2275781 Add reference to #1550914 2018-03-02 10:39:48 +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