Commit Graph

1598 Commits

Author SHA1 Message Date
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
Florian Weimer
d62730de90 Disable Sun RPC interfaces (#1531540) 2018-01-05 14:07:05 +01:00
Colin Walters
d8e1573f9c Stop shipping /usr/sbin/sln
A whole lot has changed since `sln` was introduced into glibc upstream with
this comment:

```
    1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>

            * elf/sln.c: New file.
```
Upstream glibc commit 9d141cae00c957096045d08fe504b4a2be66ab75
```
 Author:     Ulrich Drepper <drepper@redhat.com>
 AuthorDate: Thu Aug 13 19:44:05 1998 +0000
```

Among other things for example, dynamic linking has been in use for the nearly
20 years that have passed and is now quite reliable. Further, many Fedora
systems now use an initramfs (dracut) which is basically a large filesystem of
utilities as a single blob; while it would require rebooting, one can easily
make hardlinks there.

Futher of course there's the increasing use of ostree in Fedora which which
consistently captures *all* of userspace and supports rollback, and additionaly
its presents a "read only" nature to admin tools and other processes that adds
significantly to system resilience.

The failure scenarios that could be recovered via `sln` seem to me to be very
small.

Applying this patch allows dropping a downstream Fedora patch to hardlink `sln` to `ldconfig`,
which was the source of a tricky bug:
https://github.com/projectatomic/rpm-ostree/pull/1173#issuecomment-355014583
that also impacts rpm-ostree.  In practice today SELinux policy is fixed
in updates, but given there's no real reason for this binary to exist
anymore, let's drop it.
2018-01-03 16:30:03 -05:00
Florian Weimer
39b4cfbcf1 Auto-sync with upstream branch master
Upstream commit bad7a0c81f501fbbcc79af9eaa4b8254441c4a1f

- copy_file_range: New function to copy file data
- nptl: Consolidate pthread_{timed,try}join{_np}
- nptl: Implement pthread_self in libc.so (swbz#22635)
- math: Provide a C++ version of iseqsig (swbz#22377)
- elf: remove redundant __libc_enable_secure check from fillin_rpath
- math: Avoid signed shift overflow in pow (swbz#21309)
- x86: Add feature_1 to tcbhead_t (swbz#22563)
- x86: Update cancel_jmp_buf to match __jmp_buf_tag (swbz#22563)
- ld.so: Examine GLRO to detect inactive loader (swbz#20204)
- nscd: Fix nscd readlink argument aliasing (swbz#22446)
- elf: do not substitute dst in $LD_LIBRARY_PATH twice (swbz#22627)
- ldconfig: set LC_COLLATE to C (swbz#22505)
- math: New generic sincosf
- powerpc: st{r,p}cpy optimization for aligned strings
- CVE-2017-1000409: Count in expanded path in _dl_init_path (#1524867)
- CVE-2017-1000408: Compute correct array size in _dl_init_paths (#1524867)
- x86-64: Remove sysdeps/x86_64/fpu/s_cosf.S
- aarch64: Improve strcmp unaligned performance
2017-12-22 16:13:39 +01:00
Florian Weimer
a5a7506242 Remove power6 platform directory (#1522675) 2017-12-13 16:26:51 +01:00
Florian Weimer
08930d16b5 Obsolete the libcrypt-nss subpackage (#1525396) 2017-12-13 12:49:24 +01:00
Florian Weimer
29bd4db4f5 armhfp: Disable -fstack-clash-protection due to GCC bug (#1522678) 2017-12-13 12:03:19 +01:00
Florian Weimer
ac67247def ppc64: Disable power6 multilib due to GCC bug (#1522675) 2017-12-13 12:00:28 +01:00
Florian Weimer
94e38e4e87 Auto-sync with upstream branch master
Upstream commit: 243b63337c2c02f30ec3a988ecc44bc0f6ffa0ad

- libio: Free backup area when it not required (swbz#22415)
- math: Fix nextafter and nexttoward declaration (swbz#22593)
- math: New generic cosf
- powerpc: POWER8 memcpy optimization for cached memory
- x86-64: Add sinf with FMA
- x86-64: Remove sysdeps/x86_64/fpu/s_sinf.S
- math: Fix ctanh (0 + i NaN), ctanh (0 + i Inf) (swbz#22568)
- lt_LT locale: Base collation on copy "iso14651_t1" (swbz#22524)
- math: Add _Float32 function aliases
- math: Make cacosh (0 + iNaN) return NaN + i pi/2 (swbz#22561)
- hsb_DE locale: Base collation on copy "iso14651_t1" (swbz#22515)
2017-12-13 11:58:20 +01:00
Florian Weimer
9d8de720dd Add reference to #1383986 2017-12-06 11:16:02 +01:00
Florian Weimer
3c78a51385 Auto-sync with upstream branch master
Upstream commit: 37ac8e635a29810318f6d79902102e2e96b2b5bf

- Add elision tunables.  Drop related configure flag.
- Linux: Implement interfaces for memory protection keys
- math: Add _Float64, _Float32x function aliases
- math: Use sign as double for reduced case in sinf
- math: fix sinf(NAN)
- math: s_sinf.c: Replace floor with simple casts
- et_EE locale: Base collation on iso14651_t1 (swbz#22517)
- tr_TR locale: Base collation on iso14651_t1 (swbz#22527)
- hr_HR locale: Avoid single code points for digraphs in LC_TIME (swbz#10580)
- S390: Fix backtrace in vdso functions
2017-12-06 07:55:19 +01:00
Florian Weimer
d19bd27c2f Add reference to CVE-2017-17426 2017-12-06 07:49:51 +01:00
Florian Weimer
bb83f920be Auto-sync with upstream branch master
Upstream commit: 7863a7118112fe502e8020a0db0fa74fef281f29

- math: New generic sinf (swbz#5997)
- is_IS locale: Base collation on iso14651_t1 (swbz#22519)
- intl: Improve reproducibility by using bison (swbz#22432)
- sr_RS, bs_BA locales: make collation rules the same as for hr_HR (wbz#22534)
- hr_HR locale: various updates (swbz#10580)
- x86: Make a space in jmpbuf for shadow stack pointer
- malloc: Fix integer overflow when tcache is enabled (swbz#22375)
- locale: make forward accent sorting the default in collating (swbz#17750)
2017-12-04 13:59:23 +01:00
Florian Weimer
00b734f530 Enable -fstack-clash-protection (#1512531) 2017-11-29 12:59:25 +01:00
Florian Weimer
776ca08599 Auto-sync with upstream branch master
Upstream commit: a55430cb0e261834ce7a4e118dd9e0f2b7fb14bc

- elf: Properly compute offsets of note descriptor and next note (swbz#22370)
- cs_CZ locale: Base collation on iso14651_t1 (swbz#22336)
- Implement the mlock2 function
- Add _Float64x function aliases
- elf: Consolidate link map sorting
- pl_PL locale: Base collation on iso14651_t1 (swbz#22469)
- nss: Export nscd hash function as __nss_hash (swbz#22459)
2017-11-29 11:58:53 +01:00
Andreas Krebbel
71d4a02e14 Typo fixes and improved s390 (31-bit) build support 2017-11-28 18:40:52 +01:00
Florian Weimer
10c1baf354 Auto-sync with upstream branch master
Upstream commit: cccb6d4e87053ed63c74aee063fa84eb63ebf7b8

- sigwait can fail with EINTR (#1516394)
- Add memfd_create function
- resolv: Fix p_secstodate overflow handling (swbz#22463)
- resolv: Obsolete p_secstodate
- Avoid use of strlen in getlogin_r (swbz#22447)
- lv_LV locale: fix collation (swbz#15537)
- S390: Add cfi information for start routines in order to stop unwinding
- aarch64: Optimized memset for falkor
2017-11-23 11:28:28 +01:00
Florian Weimer
df547679fd Auto-sync with upstream branch master
Upstream commit: f6e965ee94b37289f64ecd3253021541f7c214c3

- powerpc: AT_HWCAP2 bit PPC_FEATURE2_HTM_NO_SUSPEND
- aarch64: Add HWCAP_DCPOP bit
- ttyname, ttyname_r: Don't bail prematurely (swbz#22145)
- signal: Optimize sigrelse implementation
- inet: Check length of ifname in if_nametoindex (swbz#22442)
- malloc: Account for all heaps in an arena in malloc_info (swbz#22439)
- malloc: Add missing arena lock in malloc_info (swbz#22408)
- malloc: Use __builtin_tgmath in tgmath.h with GCC 8 (swbz#21660)
- locale: Replaced unicode sequences in the ASCII printable range
- resolv: More precise checks in res_hnok, res_dnok (swbz#22409, swbz#22412)
- resolv: ns_name_pton should report trailing \ as error (swbz#22413)
- locale: mfe_MU, miq_NI, an_ES, kab_DZ, om_ET: Escape / in d_fmt (swbz#22403)
2017-11-19 10:56:29 +01:00
Florian Weimer
35726c325a Link build-locale-archive against record-status.o 2017-11-07 12:21:16 +01:00
Florian Weimer
0980ba190b Auto-sync with upstream branch origin/master
Upstream commit: 6b86036452b9ac47b4ee7789a50f2f37df7ecc4f

- CVE-2017-15804: glob: Fix buffer overflow during GLOB_TILDE unescaping
- powerpc: Use latest string function optimization for internal function calls
- math: No _Float128 support for ppc64le -mlong-double-64 (swbz#22402)
- tpi_PG locale: Fix wrong d_fmt
- aarch64: Disable lazy symbol binding of TLSDESC
- tpi_PG locale: fix syntax error (swbz#22382)
- i586: Use conditional branches in strcpy.S (swbz#22353)
- ffsl, ffsll: Declare under __USE_MISC, not just __USE_GNU
- csb_PL locale: Fix abmon/mon for March (swbz#19485)
- locale: Various yesstr/nostr/yesexpr/noexpr fixes (swbz#15260, swbz#15261)
- localedef: Add --no-warnings/--warnings option
- powerpc: Replace lxvd2x/stxvd2x with lvx/stvx in P7's memcpy/memmove
- locale: Use ASCII as much as possible in LC_MESSAGES
- Add new locale yuw_PG (swbz#20952)
- malloc: Add single-threaded path to malloc/realloc/calloc/memalloc
- i386: Replace assembly versions of e_powf with generic e_powf.c
- i386: Replace assembly versions of e_log2f with generic e_log2f.c
- x86-64: Add powf with FMA
- x86-64: Add logf with FMA
- i386: Replace assembly versions of e_logf with generic e_logf.c
- i386: Replace assembly versions of e_exp2f with generic e_exp2f.c
- x86-64: Add exp2f with FMA
- i386: Replace assembly versions of e_expf with generic e_expf.c
2017-11-07 12:05:14 +01:00
Florian Weimer
e74f2b3bdb Auto-sync with upstream branch master
Upstream commit: 797ba44ba27521261f94cc521f1c2ca74f650147

- CVE-2017-15670: glob: Fix one-byte overflow (#1504807)
- math: Add bits/floatn.h defines for more _FloatN / _FloatNx types
- posix: Fix improper assert in Linux posix_spawn (swbz#22273)
- x86-64: Use fxsave/xsave/xsavec in _dl_runtime_resolve (swbz#21265)
- malloc: Add single-threaded path to _int_free
- locale: Add new locale kab_DZ (swbz#18812)
- locale: Add new locale shn_MM (swbz#13605)
2017-10-21 14:17:32 +02:00
Florian Weimer
5188e8569e Auto-sync with upstream branch master
Upstream commit: 63b4baa44e8d22501c433c4093aa3310f91b6aa2

- Use make -O to serialize make output
- sysconf: Fix missing definition of UIO_MAXIOV on Linux (#1504165)
- Install correct bits/long-double.h for MIPS64 (swbz#22322)
- malloc: Fix deadlock in _int_free consistency check
- x86-64: Don't set GLRO(dl_platform) to NULL (swbz#22299)
- math: Add _Float128 function aliases
- locale: Add new locale mjw_IN (swbz#13994)
- aarch64: Rewrite elf_machine_load_address using _DYNAMIC symbol
- powerpc: fix check-before-set in SET_RESTORE_ROUND
- locale: Use U+202F as thousands separators in pl_PL locale (swbz#16777)
- math: Use __f128 to define FLT128_* constants in include/float.h for old GCC
- malloc: Improve malloc initialization sequence (swbz#22159)
- malloc: Use relaxed atomics for malloc have_fastchunks
- locale: New locale ca_ES@valencia (swbz#2522)
- math: Let signbit use the builtin in C++ mode with gcc < 6.x (swbz#22296)
- locale: Place monetary symbol in el_GR, el_CY after the amount (swbz#22019)
2017-10-20 04:33:52 +02:00
Florian Weimer
e098446236 Use the -O flag to serialize make output 2017-10-17 13:52:43 +02:00
Florian Weimer
277dd05ebd Fix _smp_mflags reference in the libcrypt build 2017-10-17 13:50:23 +02:00
Florian Weimer
7bdfe15464 Remove silentrules macro 2017-10-17 13:47:32 +02:00
Florian Weimer
adefe4d265 Compile s390, s390x with -Werror
This is now supported upstream.
2017-10-17 13:43:47 +02:00
Florian Weimer
3bd5cf3d29 Define glibc_release_url based on glibcsrcdir, not glibcversion
The former is more reliable because glibcsrcdir changes in case of a
release off the release/*/master branch (which does not have a
tarball), but glibcversion remains the same.
2017-10-17 12:55:38 +02:00
Florian Weimer
d4b46d7258 Switch to .9000 version numbers during development (this time for real) 2017-10-17 12:47:02 +02:00
Florian Weimer
7fbb58cf62 Auto-sync with upstream branch master
Upstream commit: c38a4bfd596db2be2b9c1f96715bdc833eab760a

- Switch to .9000 version numbers during development
- malloc: Use compat_symbol_reference in libmcheck (swbz#22050)
2017-10-17 12:12:39 +02:00
Florian Weimer
6c2a58dc61 Auto-sync with upstream branch master
Upstream commit: 596f70134a8f11967c65c1d55a94a3a2718c731d

- Silence -O3 -Wall warning in malloc/hooks.c with GCC 7 (swbz#22052)
- locale: No warning for non-symbolic character (swbz#22295)
- locale: Allow "" int_curr_Symbol (swbz#22294)
- locale: Fix localedef exit code (swbz#22292)
- nptl: Preserve error in setxid thread broadcast in coredumps (swbz#22153)
- powerpc: Avoid putting floating point values in memory (swbz#22189)
- powerpc: Fix the carry bit on mpn_[add|sub]_n on POWER7 (swbz#22142)
- Support profiling PIE (swbz#22284)
2017-10-16 19:27:17 +02:00
Florian Weimer
b1ee1018fc Auto-sync with upstream branch master
Upstream commit: d8425e116cdd954fea0c04c0f406179b5daebbb3
2017-10-11 07:19:54 +02:00
Florian Weimer
d3da0e913a Move /var/db/Makefile to nss_db (#1498900) 2017-10-09 12:24:43 +02:00
Florian Weimer
988ba6d3d1 Auto-sync with upstream branch master
Upstream commit: 645ac9aaf89e3311949828546df6334322f48933
2017-10-09 12:07:51 +02:00
Florian Weimer
746617ce7d Rewrite langpack generation Lua
The existing shell-based approach required super-linear processing
time for the SUPPORTED file.
2017-10-07 12:40:46 +02:00
Carlos O'Donell
b586203c24 Auto-sync with upstream master
Upstream commit: 1e26d35193efbb29239c710a4c46a64708643320

- malloc: Fix tcache leak after thread destruction (swbz#22111)
- powerpc:  Fix IFUNC for memrchr.
- aarch64: Optimized implementation of memmove for Qualcomm Falkor
- Always do locking when iterating over list of streams (swbz#15142)
- abort: Do not flush stdio streams (swbz#15436)
2017-10-06 15:55:09 -07:00
Florian Weimer
2235ae530d Move nss_compat to the main glibc package (#1400538) 2017-10-04 18:53:59 +02:00
Florian Weimer
67108a5592 Auto-sync with upstream master
Upstream commit: 11c4f5010c58029e73e656d5df4f8f42c9b8e877

- crypt: Use NSPR header files in addition to NSS header files (#1489339)
- math: Fix yn(n,0) without SVID wrapper (swbz#22244)
- math: Fix log2(0) and log(10) in downward rounding (swbz#22243)
- math: Add C++ versions of iscanonical for ldbl-96, ldbl-128ibm (swbz#22235)
- powerpc: Optimize memrchr for power8
- Hide various internal functions (swbz#18822)
2017-10-04 16:01:19 +02:00
Florian Weimer
edbe539deb Rotate RPM changelog 2017-10-01 17:52:54 +02:00
Florian Weimer
f7f03039dd Fix typo in changelog 2017-10-01 17:52:10 +02:00
Florian Weimer
d61c107a04 Auto-sync with upstream master
Upstream commit: 1e2bffd05c36a9be30d7092d6593a9e9aa009ada

- Add IBM858 charset (#1416405)
- Update kernel version in syscall-names.list to 4.13
- Add Linux 4.13 constants to bits/fcntl-linux.h
- Add fcntl sealing interfaces from Linux 3.17 to bits/fcntl-linux.h
- math: New generic powf, log2f, logf
- Fix nearbyint arithmetic moved before feholdexcept (swbz#22225)
- Mark __dso_handle as hidden (swbz#18822)
- Skip PT_DYNAMIC segment with p_filesz == 0 (swbz#22101)
- glob now matches dangling symbolic links (swbz#866, swbz#22183)
- nscd: Release read lock after resetting timeout (swbz#22161)
- Avoid __MATH_TG in C++ mode with -Os for pfcl (swbz#22146)
- Fix dlclose/exit race (swbz#22180)
- x86: Add SSE4.1 trunc, truncf (swbz#20142)
- Fix atexit/exit race (swbz#14333)
- Use execveat syscall in fexecve (swbz#22134)
- Enable unwind info in libc-start.c and backtrace.c
- powerpc: Avoid misaligned stores in memset
- powerpc: build some IFUNC math functions for libc and libm (swbz#21745)
- Removed redundant data (LC_TIME and LC_MESSAGES) for niu_NZ (swbz#22023)
- Fix LC_TELEPHONE for az_AZ (swbz#22112)
- x86: Add MathVec_Prefer_No_AVX512 to cpu-features (swbz#21967)
- x86: Add x86_64 to x86-64 HWCAP (swbz#22093)
- Finish change from “Bengali” to “Bangla” (swbz#14925)
- posix: fix glob bugs with long login names (swbz#1062)
- posix: Fix getpwnam_r usage (swbz#1062)
- posix: accept inode 0 is a valid inode number (swbz#19971)
- Remove redundant LC_TIME data in om_KE (swbz#22100)
- Remove remaining _HAVE_STRING_ARCH_* definitions (swbz#18858)
- resolv: Fix memory leak with OOM during resolv.conf parsing (swbz#22095)
- Add miq_NI locale for Miskito (swbz#20498)
- Fix bits/math-finite.h exp10 condition (swbz#22082)
2017-09-30 09:04:21 +02:00
Florian Weimer
253d1d9c66 Fix accidentially inserted typo 2017-09-14 17:41:57 +02:00
Florian Weimer
8ca6f66f20 Upstream removed BUGS and CONFORMANCE files 2017-09-04 20:53:35 +02:00
Florian Weimer
0e45e4de58 Auto-sync with upstream master
Upstream commit: b38042f51430974642616a60afbbf96fd0b98659

- Implement tmpfile with O_TMPFILE (swbz#21530)
- Obsolete pow10 functions
- math.h: Warn about an already-defined log macro
2017-09-04 19:49:35 +02:00
Florian Weimer
21cf167acc Build glibc with -O2 2017-09-01 14:07:30 +02:00
Florian Weimer
284746122d Auto-sync with upstream master
Upstream commit: f4a6be2582b8dfe8adfa68da3dd8decf566b3983

- malloc: Abort on heap corruption, without a backtrace (swbz#21754)
- getaddrinfo: Return EAI_NODATA for gethostbyname2_r with NO_DATA (swbz#21922)
- getaddrinfo: Fix error handling in gethosts (swbz#21915) (swbz#21922)
- Place $(elf-objpfx)sofini.os last (swbz#22051)
- Various locale fixes (swbz#15332, swbz#22044)
2017-09-01 10:30:18 +02:00
Florian Weimer
b45bb05263 Auto-sync with upstream master
Upstream commit: 5f9409b787c5758fc277f8d1baf7478b752b775d

- Drop glibc-rh952799.patch, applied upstream (#952799, swbz#22025)
- Various locale fixes (swbz#22022, swbz#22038, swbz#21951, swbz#13805,
  swbz#21971, swbz#21959)
- MIPS/o32: Fix internal_syscall5/6/7 (swbz#21956)
- AArch64: Fix procfs.h not to expose stdint.h types
- iconv_open: Fix heap corruption on gconv_init failure (swbz#22026)
- iconv: Mangle __btowc_fct even without __init_fct (swbz#22025)
- Fix bits/math-finite.h _MSUF_ expansion namespace (swbz#22028)
- Provide a C++ version of iszero that does not use __MATH_TG (swbz#21930)
2017-08-30 14:12:45 +02:00
Mark Wielaard
05146e37a4 Run valgrind check with --error-exitcode=1. Fix valgrind BuildRequires. 2017-08-30 14:02:18 +02:00
Florian Weimer
76dd91f117 Drop glibc-rh1009145.patch
It has since been obsoleted by multiple mass rebuilds.
2017-08-29 12:48:36 +02:00
Florian Weimer
7df3e02388 Include misc/tst-syscall-list.out in the build log 2017-08-28 13:15:27 +02:00
Florian Weimer
d0c57f678a Auto-sync with upstream master
Upstream commit: 2dba5ce7b8115d6a2789bf279892263621088e74
2017-08-28 12:12:15 +02:00
Florian Weimer
a6b9bec157 Drop glibc-rh1470060.patch
Addressed by this upstream commit in a different way:

commit eac43cbb8d808a40004aa0a4a286f5c5155beccb
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Aug 10 15:58:28 2017 +0200

    malloc: Avoid optimizer warning with GCC 7 and -O3
2017-08-28 12:07:38 +02:00
Florian Weimer
beff5c2326 Drop glibc-rh1484729.patch, glibc-rh1484729-syscall-names.patch
Applied upstream.
2017-08-28 12:05:33 +02:00
Florian Weimer
238627a99e Drop glibc-rh825061.patch
The Perl Info generator in Texinfo 5.0 uses the input basename in the
output file, so the multi-arch conflict no longer happens, and the
Makefile tweak is not needed anymore.
2017-08-28 12:05:08 +02:00
Florian Weimer
6a6f54375a Auto-sync with upstream master
Upstream commit: 3d7b66f66cb223e899a7ebc0f4c20f13e711c9e0

- string/stratcliff.c: Replace int with size_t (swbz#21982)
- Fix tgmath.h handling of complex integers (swbz#21684)
2017-08-25 11:39:53 +02:00
Florian Weimer
a60d22cda6 Drop glibc-gcc-strict-overflow.patch
This is no longer necessary because we do not build with -O3 anymore.
Upstream has a proper fix now, too.
2017-08-25 11:36:23 +02:00
Florian Weimer
2f246edc9d Drop glibc-fedora-include-bits-ldbl.patch (#1482105) 2017-08-24 16:51:08 +02:00
Florian Weimer
5bc208c4f5 Use an architecture-independent system call list (#1484729) 2017-08-24 16:49:18 +02:00
Florian Weimer
a4f378196e Rework handling of asynchronous unwind tables compiler flag
This commit drops an overridden -fasynchronous-unwind-tables flag, which
had no effect.

We compile all of glibc with -fno-asynchronous-unwind-tables, so we can
drop glibc-fedora-ppc-unwind.patch.
2017-08-24 11:17:17 +02:00
Florian Weimer
eb3d3880c8 Auto-sync with upstream master
Upstream commit: 80f91666fed71fa3dd5eb5618739147cc731bc89
2017-08-22 08:19:09 +02:00
Florian Weimer
c6d0720817 Auto-sync with upstream master
Upstream commit: a8410a5fc9305c316633a5a3033f3927b759be35

- Obsolete matherr, _LIB_VERSION, libieee.a.
2017-08-21 22:31:26 +02:00
Florian Weimer
976a6ca3e4 Auto-sync with upstream master
Upstream commit: 4504783c0f65b7074204c6126c6255ed89d6594e
2017-08-21 19:54:40 +02:00
Florian Weimer
8c898cdc11 Auto-sync with upstream master
Upstream commit: 2585d7b839559e665d5723734862fbe62264b25d

- assert: Support types without operator== (int) (#1483005)
2017-08-21 16:44:07 +02:00
Florian Weimer
051a34bb83 Auto-sync with upstream master
Upstream commit: 2585d7b839559e665d5723734862fbe62264b25d

- Do not use generic selection in C++ mode
- Do not use __builtin_types_compatible_p in C++ mode (#1481205)
- x86-64: Check FMA_Usable in ifunc-mathvec-avx2.h (swbz#21966)
- Various locale fixes (swbz#21750, swbz#21960, swbz#21959, swbz#19852)
- Fix sigval namespace (swbz#21944)
- x86-64: Optimize e_expf with FMA (swbz#21912)
- Adjust glibc-rh827510.patch.
2017-08-21 14:17:58 +02:00
Carlos O'Donell
08d81d7330 Fix glibc.spec file comment with %%install. 2017-08-17 14:17:47 -04:00
Tomasz Kłoczko
c6e992763d Resolves: #1476939
- Remove 'Buildroot' tag, 'Group' tag, and '%clean' section, and don't
  remove the buildroot in %install, all per Fedora Packaging Guidelines
  (#1476839)
2017-08-17 14:16:03 -04:00
Florian Weimer
66a1c9c9cb Auto-sync with upstream master
Upstream commit: 403143e1df85dadd374f304bd891be0cd7573e3b

- x86-64: Align L(SP_RANGE)/L(SP_INF_0) to 8 bytes (swbz#21955)
- powerpc: Add values from Linux 4.8 to <elf.h>
- S390: Add new s390 platform z14.
- Various locale fixes (swbz#14925, swbz#20008, swbz#20482, swbz#12349
  swbz#19982, swbz#20756, swbz#20756, swbz#21836, swbz#17563, swbz#16905,
  swbz#21920, swbz#21854)
- NSS: Replace exported NSS lookup functions with stubs (swbz#21962)
- i386: Do not set internal_function
- assert: Suppress pedantic warning caused by statement expression (swbz#21242)
- powerpc: Restrict xssqrtqp operands to Vector Registers (swbz#21941)
- sys/ptrace.h: remove obsolete PTRACE_SEIZE_DEVEL constant (swbz#21928)
- Remove __qaddr_t, __long_double_t
- Fix uc_* namespace (swbz#21457)
- nss: Call __resolv_context_put before early return in get*_r (swbz#21932)
- aarch64: Optimized memcpy for Qualcomm Falkor processor
- manual: Document getcontext uc_stack value on Linux (swbz#759)
- i386: Add <startup.h> (swbz#21913)
- Don't use IFUNC resolver for longjmp or system in libpthread (swbz#21041)
- Fix XPG4.2 bits/sigaction.h namespace (swbz#21899)
- x86-64: Add FMA multiarch functions to libm
- i386: Support static PIE in start.S
- Compile tst-prelink.c without PIE (swbz#21815)
- x86-64: Use _dl_runtime_resolve_opt only with AVX512F (swbz#21871)
- x86: Remove __memset_zero_constant_len_parameter (swbz#21790)
2017-08-16 17:18:35 +02:00
Florian Weimer
27727bd4a9 Drop glibc-arm-hardfloat-3.patch and associated hack 2017-08-16 16:12:31 +02:00
Florian Weimer
5ca19238f5 Drop glibc-fedora-ldd.patch (applied to upstream master) 2017-08-16 16:01:49 +02:00
Florian Weimer
6cb5e06b89 Drop glibc-fedora-i386-tls-direct-seg-refs.patch 2017-08-16 15:50:45 +02:00
Florian Weimer
2620469c94 glibc-2.26-2.fc28: Packaging adjustments 2017-08-16 13:45:31 +02:00
Florian Weimer
fce95492bd Change invocation style for find-debuginfo.sh
Using eval affects command line parsing in the shell script.  Call the
script directly, but do not quote $find_debuginfo_args, to splice its
contents into the argument list.
2017-08-16 13:30:01 +02:00
Florian Weimer
9df65054b7 Replace create_lang_packages macro with its Lua code
This works around an RPM change in the processing of macro argument lists.
Newer RPM versions split the argument list, so that %1 contains just eo,
and not the whole language list.

Instead, use %language_list directly.  This is compatible with earlier
RPM versions, too.
2017-08-16 13:17:21 +02:00
Florian Weimer
d8b4ab633b Remove unused require_langpacks macro 2017-08-16 12:57:22 +02:00
Florian Weimer
6e6bd41f5e Remove nosegneg 32-bit Xen PV support libraries (#1482027) 2017-08-16 12:03:03 +02:00
Florian Weimer
ad9d2e17df Disable multi-arch (IFUNC string functions) on i686 (#1471427) 2017-08-16 11:14:53 +02:00
Florian Weimer
fdd439f8b7 Use upstream default for multi-arch support
Drop binutils run-time conflict.  If we still want those, they should
be on glibc-devel, not the main package.
2017-08-16 11:12:36 +02:00
Carlos O'Donell
8742b0f949 glibc-2.26-1
Auto-sync with upstream release/2.26/master

Upstream commit: 2aad4b04ad7b17a2e6b0e66d2cb4bc559376617b

- Update to released 2.26 branch.
- getaddrinfo: Release resolver context on error in gethosts (swbz#21885)
2017-08-03 09:47:24 -04:00
Fedora Release Engineering
4786e3be95 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 21:45:53 +00:00
Florian Weimer
8b0d66e92b Auto-sync with upstream master
Upstream commit: 5920a4a624b1f4db310d1c44997b640e2a4653e5
2017-07-29 08:18:06 +02:00
Florian Weimer
7e4694d522 Auto-sync with upstream master
Upstream commit: d95fcb2df478efbf4f8537ba898374043ac4561f
2017-07-28 21:00:29 +02:00
Carlos O'Donell
d04b9b7840 Fix NEVRA changes caused by mass rebuild scripts. 2017-07-27 12:41:04 -04:00
Carlos O'Donell
887799236c Resolves: #1475009
- Adjust to new rpm debuginfo generation (#1475009).
2017-07-27 12:35:22 -04:00
Fedora Release Engineering
f271045ada - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 10:20:27 +00:00
Florian Weimer
37c3363a24 Auto-sync with upstream master
Upstream commit: 00d7a3777369bac3d8d44152dde2bb7381984ef6

- aarch64: Fix out of bound array access in _dl_hwcap_string
2017-07-19 09:05:38 +02:00
Florian Weimer
e0954fe0fe Revert "Rebuild with new NVR"
This reverts commit c5379cd829.
2017-07-19 09:01:48 +02:00
Florian Weimer
c5379cd829 Rebuild with new NVR 2017-07-18 08:22:30 +02:00
Florian Weimer
6702ca3c64 Auto-sync with upstream master
Upstream commit: 91ac3a7d8474480685632cd25f844d3154c69fdf

- Drop glibc-rh1467518.patch in favor of upstream patch (#1467518)
- Fix pointer alignment in NSS group merge result construction (#1471985)
- Various locale fixes
2017-07-17 23:07:00 +02:00
Carlos O'Donell
705ca30d3e Auto-sync with upstream master
Upstream commit: de895ddcd7fc45caeeeb0ae312311b8bd31d82c5:

- Added Fiji Hindi language locale for Fiji (swbz#21694).
- Added yesstr/nostr for nds_DE and nds_NL (swbz#21756).
- Added yesstr and nostr for Tigrinya (swbz#21759).
- Fix LC_MESSAGES and LC_ADDRESS for anp_IN (swbz#21760).
- Added yesstr/nostr and fix yesexpr for pap_AW and pap_CW (swbz#21757).
- Added Tongan language locale for Tonga (swbz#21728).
- [ARM] Fix ld.so crash when built using Binutils 2.29.
- Added yesstr and nostr for aa_ET (swbz#21768).
- New locale for bi_VU (swbz#21767).
- Disable single thread optimization for open_memstream

Dropped patches:

- armv7hl: Drop 32-bit ARM build fix, already in upstream master.
- s390x: Apply glibc fix again, removing PTRACE_GETREGS etc. (#1469536).
2017-07-14 21:36:54 -04:00
Carlos O'Donell
44f4cf77e9 Fix 32-bit ARM builds in presence of new binutils. 2017-07-12 19:51:11 -04:00
Carlos O'Donell
32049f182f Add temporary workaround for Bug 1467518.
Fix IFUNC crash in early startup for ppc64le static binaries (#1467518).
Enable building with BIND_NOW on ppc64le (#1467518).
2017-07-12 19:40:05 -04:00
Florian Weimer
4e3d1d3a47 malloc: Tell GCC optimizers about MAX_FAST_SIZE in _int_malloc (#1470060) 2017-07-12 14:00:58 +02:00
Florian Weimer
419878ed02 Auto-sync with upstream master
Upstream commit: 30200427a99e5ddac9bad08599418d44d54aa9aa

- Add per-thread cache to malloc
- Add Samoan language locale for Samoa
- Add Awajún / Aguaruna locale for Peru
- CVE-2010-3192: Avoid backtrace from __stack_chk_fail (swbz#12189)
- Add preadv2, writev2 RWF_NOWAIT flag (swbz#21738)
- Fix abday strings for ar_JO/ar_LB/ar_SY locales (swbz#21749)
- Fix abday strings for ar_SA locale (swbz#21748, swbz#19066)
- Set data_fmt for da_DK locale (swbz#17297)
- Add yesstr and nostr for the zh_HK locale (swbz#21733)
- Fix abday strings for the ksIN@devanagari locale (swbz#21743)
- Do not include _dl_resolv_conflicts in libc.a (swbz#21742)
- Test __memmove_chk, __memset_chk only in libc.so (swbz#21741)
- Add iI and eE to  yesexpr and noexpr respectively for ts_ZA locale
- Add yesstr/nostr for kw_GB locale (swbz#21734)
- Add yesstr and nostr for the ts_ZA locale (swbz#21727)
- Fix LC_NAME for hi_IN locale (swbz#21729)
- Add yesstr and nostr for the xh_ZA locale (swbz#21724)
- Add yesstr and nostr for the zh_CN locale (swbz#21723)
- Fix full weekday names for the ks_IN@devanagari locale (swbz#21721)
- Various fixes to Arabic locales after CLDR import
2017-07-12 14:00:32 +02:00
Florian Weimer
d40c9fdc13 s390x: Restore PTRACE_GETREGS etc. to get GCC to build (#1469536) 2017-07-11 15:03:54 +02:00
Florian Weimer
d538c7cc53 Reinstantiate stack_t cleanup (#1468904) 2017-07-11 14:52:35 +02:00
Florian Weimer
4597e723d0 Back out stack_t cleanup (#1468904) 2017-07-09 19:03:50 +02:00
Florian Weimer
667333c331 Auto-sync with upstream master
Upstream commit: 031e519c95c069abe4e4c7c59e2b4b67efccdee5

- x86-64: Align the stack in __tls_get_addr (#1440287)
- Add Tok-Pisin (tpi_PG) locale.
- Add missing yesstr/nostr for Pashto locale (swbz#21711)
- Add missing yesstr/nostr for Breton locale (swbz#21706)
- Single threaded stdio optimization
- sysconf: Use conservative default for _SC_NPROCESSORS_ONLN (swbz#21542)
2017-07-06 14:29:12 +02:00
Florian Weimer
84baf402f0 Auto-sync with upstream master
Upstream commit: 4446a885f3aeb3a33b95c72bae1f115bed77f0cb
2017-07-04 15:31:23 +02:00
Florian Weimer
44e7da869e Auto-sync with upstream master
Upstream commit: 89f6307c5d270ed4f11cee373031fa9f2222f2b9
2017-07-04 11:36:06 +02:00
Florian Weimer
8ed8731099 Disable building with BIND_NOW on ppc64le (#1467518) 2017-07-04 08:23:12 +02:00
Florian Weimer
dcf3eeb5c0 Auto-sync with upstream master
Upstream commit: e237357a5a0559dee92261f1914d1fa2cd43a1a8

- Support an arbitrary number of search domains in the stub resolver (#168253)
- Detect and apply /etc/resolv.conf changes in libresolv (#1374239)
- Increase malloc alignment on i386 to 16 (swbz#21120)
- Make RES_ROTATE start with a random name server (swbz#19570)
- Fix tgmath.h totalorder, totalordermag return type (swbz#21687)
- Miscellaneous sys/ucontext.h namespace fixes (swbz#21457)
- Rename struct ucontext tag (swbz#21457)
- Call exit system call directly in clone (swbz#21512)
- powerpc64le: Enable float128
- getaddrinfo: Merge IPv6 addresses and IPv4 addresses (swbz#21295)
- Avoid .symver on common symbols (swbz#21666)
- inet_pton: Reject IPv6 addresses with many leading zeros (swbz#16637)
2017-07-03 21:49:42 +02:00
Florian Weimer
093184feca Auto-sync with upstream master
Upstream commit: 3ec7c02cc3e922b9364dc8cfd1d4546671b91003
2017-06-23 17:43:54 +02:00
Florian Weimer
9a4cee58e4 Auto-sync with upstream master
Upstream commit: 12f50337ae80672c393c2317d471d097ad92c492
2017-06-23 13:25:59 +02:00
Florian Weimer
2660abb9bb Reenable valgrind on aarch64 2017-06-23 13:10:13 +02:00
Florian Weimer
9d8ea8c478 Log auxiliary vector during build 2017-06-22 14:48:21 +02:00
Florian Weimer
aae7c7249a Auto-sync with upstream master
Upstream commit: 0a47d031e44f15236bcef8aeba80e737bd013c6f
2017-06-22 13:34:40 +02:00
Florian Weimer
10e4623a27 Disable valgrind on aarch64 2017-06-22 13:28:12 +02:00
Florian Weimer
6e985d0a59 Drop workaround for GCC PR69537 2017-06-21 20:50:35 +02:00
Florian Weimer
8a569a02e8 Auto-sync with upstream master
Upstream commit: 9649350d2ee47fae00794d57e2526aa5d67d900e
2017-06-21 20:49:15 +02:00
Florian Weimer
6a3a1d1575 Drop historic aarch64 TLS patches 2017-06-21 20:38:36 +02:00
Florian Weimer
fda3e070a7 Auto-sync with upstream master
Upstream commit: 43e0ac24c836eed627a75ca932eb7e64698407c6
2017-06-21 11:08:15 +02:00
Florian Weimer
87bc7c9489 Resolves: #1462820
- Drop glibc-Disable-buf-NULL-in-login-tst-ptsname.c, applied upstream.
- Auto-sync with upstream master,
  commit 37e9dc814636915afb88d0779e5e897e90e7b8c0, fixing:
- CVE-2017-1000366: Avoid large allocas in the dynamic linker (#1462820)
- wait3 namespace (swbz#21625)
- S390: Sync ptrace.h with kernel (swbz#21539)
- Another x86 sys/ucontext.h namespace issue (swbz#21457)
- siginterrupt namespace (swbz#21597)
- Signal stack namespace (swbz#21584)
- Define struct rusage in sys/wait.h when required (swbz#21575)
- S390: Fix build with gcc configured with --enable-default-pie (swbz#21537)
- Update timezone code from tzcode 2017b
- nptl: Invert the mmap/mprotect logic on allocated stacks (swbz#18988)
- PowerPC64 ELFv2 PPC64_OPT_LOCALENTRY
- Make copy of <bits/std_abs.h> from GCC (swbz#21573)
- localedata: ce_RU: update weekdays from CLDR (swbz#21207)
- localedata: Remove trailing spaces (swbz#20275)
- XPG4 bsd_signal namespace (swbz#21552)
- Correct collation rules for Malayalam (swbz#19922, swbz#19919)
- waitid namespace (swbz#21561)
- Condition signal.h inclusion in sys/wait.h (swbz#21560)
- ld.so: Consolidate 2 strtouls into _dl_strtoul (swbz#21528)
- tst-timezone race (swbz#14096)
- Define SIG_HOLD for XPG4 (swbz#21538)
- struct sigaltstack namespace (swbz#21517)
- sigevent namespace (swbz#21543)
- Add shim header for bits/syscall.h (swbz#21514)
- namespace issues in sys/ucontext.h (swbz#21457)
- posix: Implement preadv2 and pwritev2
- Various float128 and tunables improvements
2017-06-20 00:18:02 +02:00
Stephen Gallagher
f35d7503ab Reduce libcrypt-nss dependency to 'Suggests:' 2017-06-06 14:42:47 +02:00
Arjun Shankar
7f4621301d Auto-sync with upstream master
Upstream commit: cfa9bb61cd09c40def96f042a3123ec0093c4ad0
2017-05-31 16:22:21 +02:00
Arjun Shankar
c769a3ef7a Disable the NULL buffer test in login/tst-ptsname.c.
It leads to a build failure during 'make check'.
2017-05-31 14:37:21 +02:00
Arjun Shankar
4014d6f877 Auto-sync with upstream master
Upstream commit: 231a59ce2c5719d2d77752c21092960e28837b4a
2017-05-23 14:37:59 +02:00
Carlos O'Donell
c2f6995570 Fix build with --enable-obsolete-nsl. 2017-05-02 13:45:38 -04:00
Carlos O'Donell
056f48952a Auto-sync with upstream master
Upstream commit: 25e39b4229fb365a605dc4c8f5d6426a77bc08a6
2017-05-01 13:23:28 -04:00
Florian Weimer
2999128764 Automatically set glibc_release_url based on glibcrelease 2017-03-08 10:09:29 +01:00
Florian Weimer
04b4101e8f Auto-sync with upstream master
Upstream commit: a10e9c4e53fc652b79abf838f7f837589d2c84db
2017-03-02 20:09:14 +01:00
Jakub Hrozek
305fa9fb57 Resolves: #1427646
Reverse the order of sss and files modules for passwd and group maps
2017-03-01 14:03:09 +01:00
Florian Weimer
5bc3170c40 Auto-sync with upstream release/2.25/master
Upstream commit: 93cf93e06ce123439e41d3d62790601c313134cb
2017-02-28 17:43:41 +01:00
Carlos O'Donell
aa4db12ee0 glibc-2.25-1
- Update to final released glibc 2.25.

The glibc rawhide builds must stay on 2.25 branch until
F26 branches from rawhide. This assures that we have ABI/API
guarantees provided by upstream. Please do not rebase rawhide
against glibc master.
2017-02-08 21:22:46 -05:00
Carlos O'Donell
ad7685d113 glibc-2.24.90-31
- Fix builds with GCC 7.0.
2017-02-08 16:17:57 -05:00
Carlos O'Donell
7061f72715 glibc-2.24.90-30
- Optimize IBM z System builds for zEC12.
2017-02-02 09:53:07 -05:00
Florian Weimer
7463f6a220 Use vpath in crypt-glibc/Makefile to obtain the test input file
Reported by Stefan Liebler.
2017-01-25 16:46:01 +01:00
Florian Weimer
574cbae985 Auto-sync with upstream master
Upstream commit: 5653ab12b4ae15b32d41de7c56b2a4626cd0437a
2017-01-25 16:39:15 +01:00
Carlos O'Donell
edb6156880 Auto-sync with upstream master
Upstream commit: 468e525c81a4af10f2e613289b6ff7c950773a9e
2017-01-12 22:17:58 -05:00
Florian Weimer
c659285752 Auto-sync with upstream master
Upstream commit: 73dfd088936b9237599e4ab737c7ae2ea7d710e1
2017-01-02 13:32:25 +01:00
Florian Weimer
e9dcd51d77 Remove patches which were workarounds for GCC 5 bugs 2017-01-02 12:26:05 +01:00
Florian Weimer
4570c40835 Auto-sync with upstream master
Upstream commit: cecbc7967f0bcac718b6f8f8942b58403c0e917c
2016-12-26 11:22:24 +01:00
Carlos O'Donell
a681b7b4e2 Auto-sync with upstream master
Upstream commit: 81e0662e5f2c342ffa413826b7b100d56677b613
2016-12-23 18:31:06 -05:00
Florian Weimer
ace066ccd1 Auto-sync with upstream master
Upstream commit: e077349ce589466eecd47213db4fae6b80ec18c4
2016-12-18 15:43:05 +01:00
Florian Weimer
5617e2c469 Auto-sync with upstream master
Upstream commit: 92dcaa3e2f7bf0f7f1c04cd2fb6a317df1a4e225
2016-12-12 19:26:23 +01:00
Florian Weimer
8076ad58d9 Auto-sync with upstream master
Upstream commit: 0abbe7cd700951082b314182a0958d65238297ef

GDB pretty-printers for NPTL types are temporarily disabled
due to bug 1403329.
2016-12-09 18:38:16 +01:00
Florian Weimer
b766add297 Auto-sync with upstream master
Upstream commit: 01b23a30b42a90b1ebd882a0d81110a1542e504a
2016-12-02 17:13:31 +01:00
Florian Weimer
fbd985bf72 Do not install the PROJECTS file
It was removed upstream.
2016-11-30 17:18:55 +01:00
Florian Weimer
eaa5674199 Auto-sync with upstream master
Upstream commit: 9e78f6f6e7134a5f299cc8de77370218f8019237
2016-11-30 16:12:57 +01:00
Florian Weimer
93ddbf99ee Auto-sync with upstream master
Upstream commit: 7a5e3d9d633c828d84a9535f26b202a6179978e7
2016-11-23 13:38:43 +01:00
Florian Weimer
434cf9e2e2 Auto-sync with upstream master
Upstream commit: 5ee1a4443a3eb0868cef1fe506ae6fb6af33d4ad
2016-11-22 11:10:50 +01:00
Carlos O'Donell
b587bccfe7 glibc-2.24.90-17
* Add new scalable implementation of POSIX read-write locks.
2016-11-17 12:46:05 -05:00
Florian Weimer
c9a1e5c935 Do not try to link libcrypt statically during tests 2016-11-16 15:25:20 +01:00
Florian Weimer
835049c53c Auto-sync with upstream master
Upstream commit: 530862a63e0929128dc98fbbd463b120934434fb
2016-11-16 14:43:20 +01:00
Florian Weimer
573bcacc8f Auto-sync with upstream master
Upstream commit: 9032070deaa03431921315f973c548c2c403fecc
2016-11-02 12:06:16 +01:00
Florian Weimer
55bd1b5cdd Resolves: #1333945
Drop revert of upstream fix.
2016-11-02 11:49:29 +01:00
Florian Weimer
762e747b11 Auto-sync with upstream master
Upstream commit: e37208ce86916af9510ffb9ce7b3c187986f07de
2016-10-22 17:42:34 +02:00
Florian Weimer
9d7b7a7a04 Auto-sync with upstream master
Upstream commit: b3918c44db615637b26d919ce599cd86592316b3
2016-10-21 18:38:39 +02:00
Carlos O'Donell
83e5c415da glibc-2.24.90-11
- Add prototype support for detecting invalid IFUNC calls (swbz#20019).
- New POSIX thread condition variable implementation (swbz#13165).
2016-10-17 22:19:05 -04:00
Florian Weimer
4f53fe474e Auto-sync with upstream master
Upstream commit: 5140d036f9c16585448b5908c3a219bd96842161
2016-10-07 17:54:03 +02:00
Florian Weimer
0b05408588 Auto-sync with upstream master
Upstream commit: ff88ee7edfaa439e23c42fccaf3a36cd5f041894
2016-10-04 19:29:14 +02:00
Florian Weimer
0adb9076a4 Auto-sync with upstream master
Upstream commit: 17af5da98cd2c9ec958421ae2108f877e0945451
2016-09-22 13:31:39 +02:00
Florian Weimer
66afdc6140 Resolves: #1377795
Add MIPS support.  Based on a patch from Michal Toman
<michal.toman@gmail.com>.
2016-09-22 13:20:25 +02:00
Carlos O'Donell
36702a1359 Auto-sync with upstream master.
Upstream commit: e299076fefd9649f78f853865d4745043e50813c
2016-09-20 23:29:23 -04:00
Florian Weimer
77d2ac8e00 Auto-sync with upstream master
Upstream commit: 4d728087ef8cc826b05bd21d0c74d4eca9b1a27d
2016-09-01 16:11:33 +02:00
Florian Weimer
c097c5b5f7 Auto-sync with upstream master
Upstream commit: 7e625f7e85b4e88f10dbde35a0641742af581806
2016-08-26 19:45:02 +02:00
Florian Weimer
82db94894e Auto-sync with upstream master
Upstream commit: 66abf9bfbe24ac1e7207d26ccad725ed938dc52c
2016-08-21 16:49:12 +02:00
Florian Weimer
90f786e56b Auto-sync with upstream master.
Upstream commit: ID d9067fca40b8aac156d73cfa44d6875813555a6c
2016-08-17 15:23:48 +02:00
Florian Weimer
548cf89fd5 Fix upstream commit hash 2016-08-17 15:19:14 +02:00
Florian Weimer
f6288a0045 Auto-sync with upstream master.
Upstream commit ID is f79211792127f38d5954419bb3784c8eb7f5e4e5.
2016-08-11 13:42:52 +02:00
Carlos O'Donell
5344dc60e9 Bump NEVRA to 2.24.90-1. 2016-08-08 10:03:42 -04:00
Carlos O'Donell
4c8a26717a Auto-sync with upstream master. 2016-08-08 09:58:02 -04:00
Florian Weimer
2c005c98da Do not try to install mtrace when bootstrapping 2016-07-22 17:54:35 +02:00
Florian Weimer
7ad97baa4f Resolves: #1324623
Provide libcrypt and libcrypt-nss subpackages.

glibc has a Recommends: to prefer the NSS-based implementation.
glibc-devel requires that one of the two packages is installed.
2016-07-22 17:06:37 +02:00
Florian Weimer
87b6ed77db Drop Requires(pre) on libgcc
Our scriptlets do not use pthread_cancel, and such requires are not
transitive.
2016-07-22 15:47:20 +02:00
Florian Weimer
9d1bb0abc3 Resolves: #1289356
glibc-devel depends on libgcc%{_isa}
2016-07-22 15:46:44 +02:00
Florian Weimer
d1929c8ddb Resolves: #1344830
Drop sendmsg/recvmsg compatibility patch
2016-07-21 16:16:25 +02:00
Florian Weimer
d5e9ea2361 Resolves: #1338889
Move NSS modules to subpackages

Add new file lists for the NSS modules and update the glibc and
glibc-devel file lists.  Introduce a glibc-nss-devel package
for direct linking against NSS modules (which is rare and usually
unintended).  Drop the obsoletes clause for nss_db.
2016-07-20 17:09:24 +02:00
Florian Weimer
1ca5ccee9c Resolves: #1315476
Make ldconfig and sln the same binary
2016-07-13 19:37:12 +02:00
Florian Weimer
8d10e61144 Auto-sync with upstream master
Up to commit f531f93056b34800383c5154280e7ba5112563c7.
2016-07-13 14:23:26 +02:00
Mike FABIAN
5c031d86de Resolves: #1351108
- Unicode 9.0.0 updates (ctype, charmap, transliteration)
2016-07-09 07:35:43 +02:00
Florian Weimer
0f28e7559e Resolves: #1294574
nscd breaks initgroups with nis (initgroups are empty)

Update changelog and adjust extend_alloca removal patch.
2016-07-05 19:06:22 +02:00
Florian Weimer
9a78be1808 Resolves: #1351737
glibc: strcasecmp failure on ppc64le
2016-07-05 18:40:25 +02:00
Carlos O'Donell
0ce3b29d56 Resolves: #1349906
- Properly handle more invalid --install-langs arguments (#1349906).
2016-06-24 13:51:56 -04:00
Florian Weimer
22e8257c2d Related: #1344480
Fix RPM changelog.
2016-06-21 21:52:48 +02:00
Florian Weimer
d21f299cb3 Resolves: #1348620, #1344480, #1346070
Sync with upstream master, commit a3b473373ee43a292f5ec68a7fda6b9cfb26a9b0
2016-06-21 21:50:42 +02:00
Carlos O'Donell
1bbad64354 Use scriptlet expansion.
We prefer scriptlet expansion (-e) over the use of rpm.expand in Lua.
The goal is to have a fully expanded Lua program with as little
dynamic processing as possible to simplify the operations carried
out in Lua.

The use of rpm.expand was only needed until COPR migrated from EL6
to Fedora, and with this complete we can remove the use of rpm.expand
in favour of scriptlet expansion.

Tested on Fedora Rawhide by verifying global setting of %_install_langs
macro changes installed locale-archive locales correctly.
2016-06-18 17:20:10 -04:00
Florian Weimer
c27c24530c Related: #1344830
Drop sendmmsg/recvmmsg compat symbols on 32-bit architectures.  For
some reason, these architectures only have compat symbols for
sendmsg and recvmsg.
2016-06-13 06:30:30 +02:00
Florian Weimer
cb62ee1f81 Related: #579086
Revert fix for “Preloading a replacement uname is causing environment
to be cleaned if libpthread is loaded”.  UTS namespaces should now
offer a cleaner way yo do this.
2016-06-13 06:26:14 +02:00
Florian Weimer
34a28994be Related: #1344830
First phase of sendmsg/recvmsg/sendmmsg/recvmmsg ABI revert:
GLIBC_2.24 compatibility symbols.

This should allow us to run old binaries (with the GLIBC_2.24 symbols)
while rebuild packages to use the old ABI again.
2016-06-12 22:42:00 +02:00
Florian Weimer
c8064eb721 Auto-sync with upstream master
Resolves: #1344480
  (Crash in the nss_db NSS service module during iteration.)
Add the eo locale as a first-class citizen.
2016-06-12 22:41:55 +02:00
Florian Weimer
1aca2e1ec1 Related: #1342976
Retroactively update changelog to record fixed bug.
2016-06-11 13:39:48 +02:00
Florian Weimer
d3f78ebc81 Auto-sync with upstream master. 2016-06-09 12:22:07 +02:00
Florian Weimer
d4be8589c3 Log df output as part of system information 2016-06-01 08:44:30 +02:00
Florian Weimer
5872287fa1 Resolves: #1338887
Do not disable assertions in release builds
2016-06-01 08:31:31 +02:00
Florian Weimer
db9848cdc3 Sync with upstream master branch
Resolves #1326903, #1337140.
2016-06-01 08:30:29 +02:00
Carlos O'Donell
15922d5c07 glibc-2.23.90-18
- Move support for building GCC 2.96 into compat-gcc-296.
2016-05-11 16:21:02 -04:00
Florian Weimer
6a2d7264b4 Resolves: #1335011
Revert dlsym (RTLD_NEXT)/dlerror change, to unbreak ASAN
2016-05-11 16:10:58 +02:00
Florian Weimer
a92e3b7488 Expand comments about the separate SUPPORTED file 2016-05-09 20:43:58 +02:00
Florian Weimer
48c31c2f62 Drop broken attempt at fix for #1326903 2016-05-09 17:18:54 +02:00
Florian Weimer
3585735339 Resolves: #1326903
Experimental fix for NULL fork/vfork symbols in libpthread
2016-05-09 14:23:15 +02:00
Florian Weimer
43e96b9dec Use diff instead of cmp for the SUPPORTED file check 2016-05-09 13:48:03 +02:00
Florian Weimer
ddd7733205 Auto-sync with upstream master
Drop glibc-nsswitch-Add-group-merging-support.patch, applied upstream.
Drop glibc-rh1252570.patch, alternative fixes applied upstream.
Adjust glibc-rh1315108.patch to minor upstream change.
Update SUPPORTED file.
2016-05-09 13:47:51 +02:00
Carlos O'Donell
4f51555190 glibc-2.23.90-14
- Require libselinux for nscd in non-bootstrap configuration.
2016-05-03 15:51:17 -04:00
Carlos O'Donell
fe4ad2a06e Auto-sync with upstream master. 2016-04-29 23:08:42 -04:00
Carlos O'Donell
256beb3f45 glibc-2.23.90-12
- Move spec file system information logging to the build stage.
2016-04-28 15:59:56 -04:00
Florian Weimer
4ac7c7b403 Auto-sync with upstream master 2016-04-14 22:49:32 +02:00
Florian Weimer
85759f3e8d Auto-sync with upstream master 2016-04-14 12:59:40 +02:00
Florian Weimer
34d510b5de Auto-sync with upstream master
This removes the type union wait from the installed headers.
Update the SUPPORTED file with upstream changes
2016-04-14 10:00:03 +02:00
Florian Weimer
ec0dd75135 Auto-sync with upstream master 2016-04-08 16:21:37 +02:00
Florian Weimer
887080ee79 Auto-sync with upstream master 2016-03-29 13:04:25 +02:00
Carlos O'Donell
1ffb3d6c4c glibc-2.23.90-6
- Use 'an' as language abbreviation for an_ES.
2016-03-16 02:38:44 -04:00
Carlos O'Donell
99a6d4df1b Auto-sync with upstream master. 2016-03-07 11:47:23 -05:00
Florian Weimer
9fce0748c4 Resolves: #1315108
Remove extend_alloca.
2016-03-07 06:52:27 +01:00
Carlos O'Donell
f2d40207ea glibc-2.23.90-3
- Enhance support for upgrading from a non-language-pack system.
2016-03-01 02:59:24 -05:00
Carlos O'Donell
9edc2b688b Create new language packages for all supported languages.
Locales, translations, and locale sources are split into
distinct sub-packages. A meta-package is created for users
to install all languages. Transparent installation support
is provided via dnf langpacks.
2016-02-26 01:06:35 -08:00
Carlos O'Donell
b359bd04bb Upstream development version is now 2.23.90. 2016-02-26 00:36:28 -05:00
Carlos O'Donell
dd72bee11f Sync with upstream master after 2.23 branch.
- Drop glibc-CVE-2015-7547.patch, glibc-isinf-cxx11.patch
  and glibc-rh1114591.patch since they are all upstream.
2016-02-25 15:48:36 -05:00
Florian Weimer
ba7912605b Resolves: #1114591
Remove stray newline from Serbian locales.
2016-02-19 21:46:21 +01:00
Carlos O'Donell
3d382a2e9c Resolves: #1308943
- Fix CVE-2015-7547: getaddrinfo() stack-based buffer overflow (#1308943).
2016-02-16 09:31:14 -05:00
Florian Weimer
29b39d6e56 Resolves: #1252570
Revert upstream commit 2212c1420c92a33b0e0bd9a34938c9814a56c0f7.
2016-02-15 12:22:50 +01:00
Florian Weimer
432964b3d9 Revert "Resolves: #1306511"
This reverts commit 49a15d1f64.
2016-02-15 12:12:34 +01:00
Florian Weimer
49a15d1f64 Resolves: #1306511
Support aliasing with struct sockaddr pointers.
2016-02-13 13:34:31 +01:00
Florian Weimer
7dc8bfc342 Auto-sync with upstream master. 2016-02-13 13:27:45 +01:00
Carlos O'Donell
b60f74076c Resolves: #1227361
- Use --with-cpu=power8 for ppc64le default runtime (#1227361).
2016-02-09 03:48:54 -05:00
Florian Weimer
363323a3b9 Apply glibc-isinf-cxx11.patch to improve C++11 compatibility 2016-02-02 12:28:36 +01:00
Florian Weimer
b2bf60e825 Auto-sync with upstream master. 2016-02-02 12:19:16 +01:00
Florian Weimer
2b8a8117dc Add workaround for GCC PR69537 2016-01-28 14:24:44 +01:00
Florian Weimer
05ffab72b4 Auto-sync with upstream master. 2016-01-28 11:54:08 +01:00
Florian Weimer
8e51854b9b Drop pthread barrier patch, merged upstream 2016-01-28 11:49:46 +01:00
Carlos O'Donell
8084be9f8c New pthread_barrier algorithm with improved standards compliance. 2016-01-13 21:35:53 -05:00
Carlos O'Donell
a999deb25a Resolves: #1146822
- Add group merging support for distributed management (#1146822).
2016-01-13 12:59:35 -05:00
Carlos O'Donell
130c4973ff Update 64-bit POWER support.
This update brings 64-bit POWER support in line with
other distributions and removes the 32-bit POWER support.
We specify clearly exactly what we support for BE and LE
64-bit POWER.
2016-01-12 11:59:28 -05:00
Florian Weimer
832f52f3cc Auto-sync with upstream master. 2015-12-21 17:31:12 +01:00
Florian Weimer
b79a5ba9e6 Auto-sync with upstream master.
This includes a fix for rhbz#1281714.
Manually remove the Unicode 8.0 patches, which have been merged upstream.
2015-12-16 14:00:32 +01:00
Florian Weimer
d604db4c4f Resolves: #1288738
Put libmvec_nonshared.a into the -devel package.
2015-12-05 20:31:00 +01:00
Florian Weimer
e0ca9a36a5 Auto-sync with upstream master. 2015-12-05 15:53:14 +01:00
Carlos O'Donell
8fdf674ae9 glibc-2.22.90-22
- The generic hidden directive support is already used for
  preinit/init/fini-array symbols so we drop the Fedora-specific
  patch that does the same thing.
  Reported by Dmitry V. Levin <ldv@altlinux.org>
- Require glibc-static for C++ tests.
- Require gcc-c++, libstdc++-static, and glibc-static only when needed.
- Fix --without docs to not leave info files.
2015-11-27 01:14:36 -05:00
Florian Weimer
2e15a6b6a7 Auto-sync with upstream master. 2015-11-20 10:08:34 +01:00
Florian Weimer
43aaa98743 Auto-sync with upstream master. 2015-11-18 13:30:53 +01:00
Florian Weimer
be3e53e100 Resolves: #1283184
Disable -Werror on s390.
2015-11-18 13:28:07 +01:00
Florian Weimer
209b489bc2 Auto-sync with upstream master. 2015-11-16 21:40:35 +01:00
Florian Weimer
711d6257aa Revert "Apply temporary fix for armhfp build issue"
This reverts commit bf5e09bbb8.
2015-11-16 21:37:03 +01:00
Florian Weimer
bf5e09bbb8 Apply temporary fix for armhfp build issue 2015-11-09 17:44:11 +01:00
Florian Weimer
c6ef02b1b4 Auto-sync with upstream master. 2015-11-09 13:15:50 +01:00
Florian Weimer
078b76fd6f Resolves: #1276636
Log uname, cpuinfo, meminfo during build
2015-11-09 12:29:48 +01:00
Florian Weimer
4cc081474c Auto-sync with upstream master. 2015-10-30 19:26:52 +01:00
Florian Weimer
dd0aad2bf0 Resolves: #1229659
Revert to upstream implementation of condition variables.
2015-10-30 19:23:50 +01:00
Florian Weimer
0647659134 Resolves: #1274974
Related: #1273103

- Disable valgrind test for ppc64p7, too.
2015-10-28 16:52:56 +01:00
Carlos O'Donell
d387855c49 Resolves: #1274974
Related: #1273103

- Disable valgrind test for ppc64.
2015-10-26 16:03:54 -04:00
Carlos O'Donell
f768365ef5 Sync with upstream master. 2015-10-21 22:28:24 -04:00
Carlos O'Donell
e61b8f41f2 Sync with upstream master. 2015-10-21 15:24:28 -04:00
Carlos O'Donell
4d789e132e Resolves: #1193168
- Remove libbsd.a (#1193168).
2015-10-09 21:00:30 -04:00
Carlos O'Donell
0457f649e3 Resolves: #902094, #1262040
* Wed Sep 16 2015 Mike FABIAN <mfabian@redhat.com> - 2.22.90-7
- Add the C.UTF-8 locale (#902094).

* Wed Sep 16 2015 Carlos O'Donell <carlos@systemhalted.org> - 2.22.90-6
- Fix GCC 5 and -Werror related build failures.
- Fix --install-langs bug which causes SIGABRT (#1262040).
2015-09-17 12:24:49 -04:00
Carlos O'Donell
444c2ecfbc Auto-sync with upstream master. 2015-08-28 17:03:18 -04:00
Carlos O'Donell
6e8e9f6f52 Remove librtkaio support.
The principal purpose of this change is to remove librtkaio support.

The Fedora system wide change request is here:
https://fedoraproject.org/wiki/Changes/GLIBC223_librtkaio_removal

- Build require gcc-c++ for the C++ tests.
- Support --without testsuite option to disable testing after build.
- Support --without benchtests option to disable microbenchmarks.
- Update --with bootstrap to disable benchtests, valgrind, documentation,
  selinux, and nss-crypt during bootstrap.
- Support --without werror to disable building with -Werror.
- Support --without docs to disable build requirement on texinfo.
- Support --without valgrind to disable testing with valgrind.
- Remove c_stubs add-on and enable fuller support for static binaries.
- Remove librtkaio support (#1227855).
2015-08-28 15:29:26 -04:00
Siddhesh Poyarekar
ac22d64886 Auto-sync with upstream master. 2015-08-16 09:51:12 +05:30
Siddhesh Poyarekar
b893edf794 Remove initgroups from default nsswitch.conf 2015-08-14 13:38:42 +05:30
Siddhesh Poyarekar
daa5a48a9b Sync with upstream master 2015-08-14 12:30:00 +05:30
Siddhesh Poyarekar
6223dbf32d Sync with upstream master
- glibc-bench-compare.patch: Merged upstream
- glibc-rh757881.patch: Fixed differently upstream
- glibc-revert-arena-threshold-fix.patch: Additional fixes on top of this
- glibc-rh841787.patch: Fixed differently upstream
- Set MODULE_NAME=librt for rtkaio
- Fix up glibc-rh741105.patch to continue to work with latest master
2015-07-28 08:17:23 +05:30
Mike FABIAN
706a051a42 Some more additions to the translit_neutral file by Marko Myllynen
(and pylint warning fixes to the gen_translit_* scripts by Pravin Satpute)
2015-07-23 15:44:24 +02:00
Mike FABIAN
37b7dfda47 Add python to BuildRequires (needed for the micro benchmarks)
And fix the format of the bugzilla reference in the changelog eingry.
2015-07-15 17:28:17 +02:00
Mike FABIAN
dbf5f70dbe Unicode 8.0.0 updates (including the transliteration files)
- Resolves: rhbz#1238412
2015-07-14 17:03:49 +02:00
Carlos O'Donell
33fde86f29 Add quilt support to rawhide. 2015-07-07 14:04:07 -04:00
Carlos O'Donell
2542c05d11 Remove all linuxthreads handling from spec file. 2015-06-21 20:17:04 -04:00
Carlos O'Donell
e63fda9e1a Keep glibc-headers content and files identical.
- Move split out architecture-dependent header files into devel package
  and keep generic variant in headers package, thus keeping headers package
  content and file list identical across multilib rpms.
2015-06-17 16:40:15 -04:00
Dennis Gilmore
5ee623b900 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 08:26:56 +00:00
Carlos O'Donell
1c7c723823 Remove DTV_SURPLUS increase after limit was removed. 2015-06-03 11:45:53 -04:00
Siddhesh Poyarekar
8178d6f0a6 Fix build failure on aarch64 (#1226459) 2015-05-30 09:40:53 +05:30
Siddhesh Poyarekar
a7f6b6e326 Add new condvar implementation 2015-05-18 12:21:44 +05:30
Siddhesh Poyarekar
7047693f55 Sync with upstream master 2015-05-18 12:21:44 +05:30
Siddhesh Poyarekar
adaecdb51b bump version 2015-05-08 19:15:05 +05:30
Siddhesh Poyarekar
67b30d7656 Add benchmark comparison
Create a new package glibc-benchtests with the benchmark binaries that
one may download and run to benchmark glibc for their machine.  More
importantly, the glibc-bench-compare and bench.mk scripts can run
benchmarks and compare performance of two arbitrary glibc versions as
long as both versions have the glibc-benchtests package.

Usage:

Scenario 1: Compare two build numbers, e.g.:

    /usr/libexec/glibc-benchtests/glibc-bench-compare 2.20-1.fc21 2.21.90-11.fc22

If a second build is omitted, comparison is done with the currently
installed glibc.

Scenario 2: Compare two downloaded rpms - only glibc, glibc-benchtests
and glibc-common are needed for both versions.  e.g.:

    /usr/libexec/glibc-benchtests/glibc-bench-compare -p <dir1> <dir2>
2015-05-08 11:49:59 +05:30
Siddhesh Poyarekar
adbfe47d74 Auto-sync with upstream master. 2015-05-07 12:10:16 +05:30
Siddhesh Poyarekar
943a064b90 Revert "Auto-sync with upstream master." to work around 1209451
This reverts commit 3d147acd8d.
2015-04-07 21:02:28 +05:30
Siddhesh Poyarekar
3d147acd8d Auto-sync with upstream master. 2015-04-06 16:00:41 +05:30
Siddhesh Poyarekar
85b542148e Auto-sync with upstream master. 2015-03-24 18:04:53 +05:30
Carlos O'Donell
e51327973f Reduce set of required RPM features.
- Use rpm.expand in scripts to reduce set of required RPM features.

See:
https://bugzilla.redhat.com/show_bug.cgi?id=156477#c44
2015-03-17 01:53:46 -04:00
Siddhesh Poyarekar
ca47b31b17 Auto-sync with upstream master. 2015-03-12 15:43:36 +05:30
Carlos O'Donell
91764bd9ec Resolves: #156477
- Support installing only those locales specified by the RPM macro
  %%_install_langs (#156477).
2015-03-05 16:05:43 -05:00
Siddhesh Poyarekar
6aa6486e1b Fix version number after mass rebuild 2015-02-23 14:22:15 +05:30
Siddhesh Poyarekar
5c979090d8 Auto-sync with upstream master. 2015-02-23 14:20:15 +05:30
Till Maas
6e81b3fc52 Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-21 22:22:07 +01:00
Carlos O'Donell
e03dd62b87 Fix missing clock_* IFUNCs in librtkaio. 2015-02-12 01:36:24 -05:00
Carlos O'Donell
c6d44c9902 Auto-sync with upstream master. 2015-02-12 00:29:07 -05:00
Carlos O'Donell
85a0930b02 Manually sync form upstrem master:
- Add back x86 vDSO support.
- Fix rtkaio build to reference clock_* functions from libc.
2015-02-12 00:22:30 -05:00
Siddhesh Poyarekar
a086cd2399 Revert x86 vdso support patch to get i686 building again 2015-01-22 00:22:13 +05:30
Siddhesh Poyarekar
c041cd3d0c Disable -Werror for a bootstrap build 2015-01-21 22:25:23 +05:30
Siddhesh Poyarekar
5d3d5d4542 Sync with upstream master and disable Werror on s390x 2015-01-21 20:18:21 +05:30
Peter Robinson
20d87dfe74 Drop large ancient ChangeLogs (rhbz #1169546) 2015-01-20 09:51:12 +00:00
Siddhesh Poyarekar
2415b86173 Pass address of main_arena.mutex to mutex_lock/unlock functions
Fix up a Fedora patch to pass the address of the mutex in the mstate
instead of the mstate itself.  This fizes the Werror warning seen on
all non-x86 builds.
2015-01-12 20:20:28 +05:30
Siddhesh Poyarekar
84d34071af Define a __tls_get_addr macro to avoid a conflicting declaration 2015-01-08 18:51:32 +05:30
Siddhesh Poyarekar
80f41525f9 Disable Werror for s390 too
Also sync up release numbers.  I seemed to have messed it up in the
last commit.
2015-01-07 21:30:39 +05:30
Siddhesh Poyarekar
6105e83f88 Sync with upstream master.
- Disable -Werror on powerpc and armv7hl.
- Temporarily disable valgrind test on ppc64.
2015-01-07 19:03:06 +05:30
Dan Horák
8b04964a99 - valgrind available only on selected arches (missing on s390) 2014-12-28 10:32:56 +01:00
Kyle McMartin
fd8c9e7125 aarch64: Drop strchrnul.S revert, apply fix from Richard Earnshaw. 2014-12-10 12:12:56 -05:00
Carlos O'Donell
c13214a08b Give auto-generated files expected permissions.
- Fix permission of debuginfo source files to allow multiarch
  debuginfo packages to be installed and upgraded.
2014-12-05 20:30:44 -05:00
Siddhesh Poyarekar
7728cb84c0 Add %%lang tags to language locale files in /usr/share/i18n/locale (#1169044) 2014-12-05 18:44:50 +05:30
Siddhesh Poyarekar
0cda7232ae Use the %%find_lang macro to get the *.mo files (#1167445) 2014-12-05 16:39:35 +05:30
Siddhesh Poyarekar
e7f91b5b18 Fix changelog comment 2014-12-05 13:15:57 +05:30
Siddhesh Poyarekar
aeaedc4de5 Don't own any directories in /usr/share/locale 2014-12-05 12:23:29 +05:30
Siddhesh Poyarekar
a9ff8be89f Remove LIB_LANG
glibc no longer installs files in /usr/lib/locale, so we don't need to
have hacks in place for it anymore.
2014-12-05 12:21:56 +05:30
Kyle McMartin
eb16415e7a aarch64: revert optimized strchrnul.S implementation (rhbz#1167501) 2014-12-03 13:12:37 -05:00
Carlos O'Donell
66b39fa433 Auto-sync with upstream master. 2014-11-28 21:32:05 -05:00
Carlos O'Donell
ce126e12db Sync with upstream master. 2014-11-24 09:58:08 -05:00
Siddhesh Poyarekar
5c361d9107 Sync with upstream master 2014-11-05 16:06:52 +05:30
Siddhesh Poyarekar
b80bba4ee9 Make getconf return only /usr/bin (#1138835) 2014-11-05 15:57:23 +05:30
Arjun Shankar
88659d3bb8 Add patch to modify several tests to use test-skeleton.c. 2014-11-04 20:31:37 +01:00
Siddhesh Poyarekar
484979ccff Enable Systemtap SDT probes for all architectures (#985109) 2014-09-30 22:14:54 +05:30
Siddhesh Poyarekar
a391f0c0e6 Sync with upstream master 2014-09-30 22:14:50 +05:30
Siddhesh Poyarekar
49b191c05b Enable lock elision again on s390 and s390x 2014-09-30 22:04:19 +05:30
Carlos O'Donell
f8be71ca8c Resolves: #1146967
- Disable more Intel TSX usage in rwlocks (#1146967).

Conflicts:
	glibc.spec
2014-09-30 22:02:35 +05:30
Carlos O'Donell
f515946248 Resolves: #1146967
- Disable lock elision support for Intel hardware until microcode
  updates can be done in early bootup (#1146967).
- Fix building test tst-strtod-round for ARM.
2014-09-26 23:44:17 -04:00
Siddhesh Poyarekar
a5b5c3d586 Sync with upstream master 2014-09-23 22:58:21 +05:30
Siddhesh Poyarekar
e9a7f4cb5d Run valgrind with the built glibc to ensure that it does not break 2014-09-23 16:58:34 +05:30
Siddhesh Poyarekar
7007495c88 Don't own common debuginfo directories. 2014-09-23 16:56:45 +05:30
Siddhesh Poyarekar
7ba0787710 Sync with upstream master and revert patch for bz#737223
There was no rationale given for the change to fix bz#737223 and the
fix was never even proposed upstream.  This patch causes a test
failure in the glibc testsuite.  Revert the patch for now and do a
proper documented analysis if this actually results in any kind of
failure.
2014-09-16 22:34:22 +05:30
Siddhesh Poyarekar
afa87a3382 Build build-locale-archive statically again
build-locale-archive was switched to link dynamically in 538b3c08
without giving a proper reason for it.  The earlier static build was
wrong though, since it would happen against the installed glibc and
not the glibc being built.  The dynamic link was also similarly wrong,
more so because it would build against the built libc.so.6 and then
try to load the system libc.so.6.  This results in a failure in %post
in cases when the new build-locale-archive may have symbol references
that are not present in the old glibc.

There seem to be no good reason to run build-locale-archive with the
system libc.so.6, so the change is now reverted with a fixed up static
link that links against the build static libc.a.
2014-09-08 16:22:40 +05:30
Siddhesh Poyarekar
680bff1439 Sync with upstream master 2014-09-08 12:32:01 +05:30
Carlos O'Donell
7448524498 Resolves: #1124987.
- Allow up to 32 dlopened modules to use static TLS (#1124987).
- Run glibc tests in %%check section of RPM spec file.
- Do not run tests with `-k` and fail if any test fails to build.
2014-09-06 14:15:15 -04:00
Siddhesh Poyarekar
f64bffe28e Fix #1133134, #1119128 and sync with upstream master
- Use INTERNAL_SYSCALL in TLS_INIT_TP (#1133134).
- Remove gconv loadable module transliteration support (#1119128).
2014-08-26 14:11:00 +05:30
Dennis Gilmore
67767852ab add back sss to nsswitch.conf we have added workarounds in the tools 2014-08-22 14:13:29 -05:00
Kevin Fenzi
d0b1601820 Rebuild for rpm bug 1131960 2014-08-21 11:48:00 -06:00
Dennis Gilmore
87e4cc74d7 remove sss from default nsswitch.conf it causes issues with live image composing 2014-08-19 10:56:39 -05:00
Siddhesh Poyarekar
75bedb0a34 Auto-sync with upstream master for mass rebuild
- Auto-sync with upstream master.
- Revert to only defining __extern_always_inline for g++-4.3+.
- Fix build failure in compat-gcc-32 (#186410).
2014-08-14 00:07:02 +05:30
Siddhesh Poyarekar
d579c1af5b Auto-sync with upstream master 2014-07-29 00:25:03 +05:30
Siddhesh Poyarekar
3cb7ba0de8 Today is Wednesday, not Thursday 2014-07-23 14:04:08 +05:30
Siddhesh Poyarekar
2ca89eabf6 Undo last master sync to fix up rawhide
Fix up rawhide till we can figure out what the problem is with this
build.
2014-07-23 14:02:10 +05:30
Siddhesh Poyarekar
c54d242628 Auto-sync with upstream master. 2014-07-15 22:13:48 +05:30
Tom Callaway
e653c3c00e fix license handling 2014-07-12 11:16:06 -04:00
Siddhesh Poyarekar
dc2e7c6d31 Auto-sync with upstream master. 2014-07-07 22:35:01 +05:30
Siddhesh Poyarekar
1779efa74a Sync with upstream roland/nptl branch 2014-07-05 00:00:22 +05:30
Siddhesh Poyarekar
91f7360fcd Separate failed test outputs using a line 2014-07-04 22:26:53 +05:30
Siddhesh Poyarekar
8c5b9331ed Link tst-timer to librt.so only if it is in the rt subdir 2014-07-03 22:34:28 +05:30
Siddhesh Poyarekar
c1d88db4f5 Get actually failed tests from tests.sum 2014-07-03 22:18:36 +05:30
Siddhesh Poyarekar
c96b7f7453 Actually remove nptl as addon 2014-07-03 11:13:32 +05:30
Siddhesh Poyarekar
1ea305b6fa Sync with roland/nptl upstream branch
Patches on this branch include nptl as a part of glibc instead of
being an addon.
2014-07-03 11:04:10 +05:30
Siddhesh Poyarekar
191c4db426 Sync with upstream master 2014-07-02 16:15:02 +05:30
Siddhesh Poyarekar
9eb38c10e7 Sync with upstream master 2014-06-24 17:41:51 +05:30
Kyle McMartin
b66a135726 AArch64: Save & restore NZCV (flags) upon entry to _dl_tlsdesc_dynamic
in order to work around GCC reordering compares across the TLS
  descriptor sequence (GCC PR61545.) Committing a (temporary) fix here
  allows us to avoid rebuilding the world with gcc 4.9.0-11.fc21.
2014-06-20 11:49:56 -04:00
Kyle McMartin
0c40cdae52 Remove ".1" from Release, which was added for the mass-rebuild.
No point in building this, but include it in the next rebase build.
2014-06-16 15:30:34 -04:00
Kyle McMartin
a0c2da6ecd Auto-sync with upstream master. 2014-06-16 13:45:03 -04:00
Siddhesh Poyarekar
8f0eca557f Auto-sync with upstream master. 2014-06-12 12:22:16 +05:30
Dennis Gilmore
19b41eb7aa - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 11:13:53 -05:00
Siddhesh Poyarekar
9d331e9d98 Sync with upstream master 2014-06-03 15:08:22 +05:30
Siddhesh Poyarekar
8da75f6fa4 Adjust rtkaio patches to build with latest upstream
Following commit upstream removed the definition for elfobjdir in
favour of elf-objpfx.  Adjust rtkaio to build with this.

commit 4134b50d6789c333707b1861a32314805bd0de5e
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed May 21 16:52:08 2014 +0000

    Consistently use $(elf-objpfx).

    As previously noted
    <https://sourceware.org/ml/libc-alpha/2013-05/msg00696.html>,
    $(elf-objpfx) and $(elfobjdir) are redundant and should be
    consolidated.  This patch consolidates on $(elf-objpfx) (for
    consistency with $(csu-objpfx)), also changing direct uses of
    $(common-objpfx)elf/ to use $(elf-objpfx).
2014-05-26 15:50:48 +05:30
Siddhesh Poyarekar
8710f4aaa6 Sync with upstream master 2014-05-26 13:25:00 +05:30
Kyle McMartin
b39b864460 Backport some upstream-wards patches to fix TLS issues on AArch64. 2014-05-21 22:06:50 -04:00
Kyle McMartin
abfaca544c AArch64: Fix handling of nocancel syscall failures (#1098327) 2014-05-21 15:34:20 -04:00
Siddhesh Poyarekar
25cc20651e Sync with upstream master
Fix up glibc-fedora-uname-getrlimit.patch to apply on top of recent
nptl code shuffle.
2014-05-15 12:26:54 +05:30
Carlos O'Donell
647ffb77fa Add initial support for displaying test results.
After each test run we output all of the test results
to the build logs. This includes PASS, FAIL, XPASS,
XFAIL results and the original error codes of the tests.

Without this fix the new upstream PASS/FAIL support
hides the test results from the build logs.
2014-05-14 12:52:50 -04:00
Carlos O'Donell
cffaeb6932 Add initial support for ppc64le. 2014-05-14 03:21:29 -04:00
Siddhesh Poyarekar
543337e954 Remove ports addon
All architectures inside ports have now been moved to the main
directory.
2014-04-29 15:15:58 +05:30
Siddhesh Poyarekar
f0de90dce8 Auto-sync with upstream master. 2014-04-29 14:58:45 +05:30
Siddhesh Poyarekar
4d17ec2120 Sync with upstream master 2014-04-18 12:14:38 +05:30
Siddhesh Poyarekar
c899b490ba Sync with upstream master
Fix up glibc-rh741105.patch so that it continues to apply correctly.
2014-04-10 21:40:30 +05:30
Siddhesh Poyarekar
b5ec0026f9 Sync with upstream master 2014-04-03 17:08:52 +05:30
Siddhesh Poyarekar
e7c5d54c2d Sync with upstream master. 2014-03-26 14:20:45 +05:30
Siddhesh Poyarekar
b7b25cd2fa Sync with upstream master
- Adjusted nscd.service patch
- Added fix for #1078355
2014-03-19 22:18:20 +05:30
Carlos O'Donell
43bff16613 Sync with upstream master.
Use cleaner upstream solution for -ftree-loop-distribute-patterns (#911307).
2014-03-12 18:13:23 -04:00
Carlos O'Donell
6b37058532 Update comments to match across other branches. 2014-03-05 16:13:37 -05:00
Siddhesh Poyarekar
51574b29c6 Sync with upstream master 2014-03-04 23:20:27 +05:30
Siddhesh Poyarekar
bdbcf83e82 Use nscd service files from glibc sources and make the service forking
Currently the nscd service is installed in systemd as a simple
service, which means that it is able to handle its own errors and does
not quit.  Since nscd does not fit that description, i.e. it can exit
on errors like, say, failing to parse nscd.conf, it should be declared
as forking instead.
2014-02-27 00:31:15 +05:30
Siddhesh Poyarekar
52f69e7bd5 Sync with upstream master and Resolve: #1069559 2014-02-25 15:22:53 +05:30
Carlos O'Donell
eaa1d42819 Fix failure load locale template.
The call to open_tmpl_archive was being passed a pointer to an
object allocated on the stack. The object on the stack is not
guaranteed to be initialized to zero so we need to minimally
initialize `fname' in the struct locarhandle to ensure that
open_tml_archive loads the default tempalte.

This error was seen while debugging glibc installs in a qemu
VM where it is more likely the stack pages were dirty. It has
not been reported on non-VM systems.
2014-02-24 22:33:35 -05:00
Siddhesh Poyarekar
372014ca28 Sync with upstream master
We've sped past 2.19 now.
2014-02-18 22:48:17 +05:30
Siddhesh Poyarekar
c90adf8884 Sync with upstream master. 2014-02-04 13:17:38 +05:30
Siddhesh Poyarekar
80e87fcac5 Resolves: #1058258
Modify regular expressions to include powerpcle stubs-*.h.
2014-01-29 16:12:36 +05:30
Siddhesh Poyarekar
ef2183ca46 Add missing period to commit log and changelog 2014-01-29 14:46:39 +05:30
Siddhesh Poyarekar
68ca569f59 Sync with upstream master 2014-01-29 10:47:29 +05:30
Siddhesh Poyarekar
56fa240739 Bump release number and fix changelog entry for last fix 2014-01-29 10:21:40 +05:30
Ville Skyttä
111d75b10f Own the %{_prefix}/lib/locale dir. 2014-01-25 20:52:16 +02:00
Siddhesh Poyarekar
e74f409fb9 Sync with upstream master 2014-01-23 15:15:41 +05:30
Siddhesh Poyarekar
0a210cc9b2 Back out ftell test case (#1052846) 2014-01-16 12:03:18 +05:30
Siddhesh Poyarekar
8ecbeeba6e Sync with upstream master and fix #1052846
- Sync with upstream master.
- Fix infinite loop in ftell when writing wide char data (#1052846).
2014-01-14 14:16:38 +05:30
Siddhesh Poyarekar
216cf91d8b Enable systemtap on Power and S/390 and sync up with upstream 2014-01-07 15:06:38 +05:30
Siddhesh Poyarekar
8e0f85bf4e Sync with upstream master 2013-12-27 11:06:36 +05:30
Siddhesh Poyarekar
893671e8e6 Sync with upstream master 2013-12-20 15:20:21 +05:30
Siddhesh Poyarekar
b04b5f9a6f Sync with upstream master 2013-12-04 11:17:23 +05:30
Siddhesh Poyarekar
439a9b91b6 Sync with upstream master 2013-11-28 18:17:19 +05:30
Siddhesh Poyarekar
f1f239ebf9 Sync with upstream master 2013-11-20 15:46:46 +05:30
Carlos O'Donell
91f5f14b93 Resolves: #1025126
- Enhance NSCD's SELinux support to use dynamic permission names (#1025126).
2013-11-09 02:15:56 -05:00
Siddhesh Poyarekar
56999f00cc Skip over unimplemented timezone format specifier in strptime
Fix pulled in as a result of the rebase.
2013-10-28 11:51:00 +05:30
Siddhesh Poyarekar
14915008a3 Sync with upstream master 2013-10-28 11:44:33 +05:30
Siddhesh Poyarekar
4d96e3246c Sync with upstream master 2013-10-21 15:06:43 +05:30
Siddhesh Poyarekar
f03231b069 Sync with upstream master 2013-10-15 11:09:58 +05:30
Carlos O'Donell
c2021d0b30 Resolves: #1013801
- Allow applications to use pthread_atfork without explicitly
  requiring libpthread.so. (#1013801)
- Support `--list-archive FILE' in localedef utility.
2013-10-03 05:22:51 -04:00
Siddhesh Poyarekar
13a25e85c0 Define swap_endianness_p in build-locale-archive 2013-10-03 10:42:38 +05:30
Carlos O'Donell
9c4147aa9e Resolves: #1009145
- Allow ldconfig cached objects previously marked as hard or soft
  ABI to now become unmarked without raising an error. This works
  around a binutils bug that caused objects to become unmarked.
  (#1009145)
2013-10-02 21:34:56 -04:00
Siddhesh Poyarekar
4ef9594328 Fix PI mutex check for non-x86 and resync with upstream master 2013-10-01 20:23:50 +05:30
Carlos O'Donell
a9c7f8acc7 Resolves: #1009623
- Avoid the use of __block which is a reserved keyword for clang++
2013-09-24 02:01:06 -04:00
Siddhesh Poyarekar
bf5e654c21 Resync with upstream master 2013-09-23 13:22:23 +05:30
Carlos O'Donell
2cd5135a96 Resolves: #985625
- Fix CVE-2013-4788: Static applications now support pointer mangling.
  Existing static applications must be recompiled (#985625).
2013-09-23 00:30:55 -04:00
Patsy Franklin
1939babb04 Resolves: #804768
-Require a specific version of binutils for s390/s390x support.
2013-09-19 10:23:27 -04:00
Siddhesh Poyarekar
fb87393c99 Resync with upstream master 2013-09-16 15:16:18 +05:30
Siddhesh Poyarekar
35b7508499 Resync with upstream master 2013-09-05 17:37:40 +05:30
Carlos O'Donell
db59a6354f Fix Power build (#997531). 2013-08-29 00:36:52 -04:00
Carlos O'Donell
b8280fad3d Fix indirect function support to avoid calling optimized routines
for the wrong hardware (#985342).
2013-08-28 00:34:43 -04:00
Siddhesh Poyarekar
97490e6a11 Initialize res_hconf in nscd 2013-08-26 12:23:11 +05:30
Siddhesh Poyarekar
25e270de7c Fix tst-aiod2 and tst-aiod3 test failures (#970865) 2013-08-22 15:08:00 +05:30
Siddhesh Poyarekar
735547c10e Fix an issue with the strcoll CVE patch
Expanded types for some variables to prevent overflow.
2013-08-22 11:10:25 +05:30
Siddhesh Poyarekar
e3b637cf01 Avoid inlining of cleanup function for kaio_suspend
Inlining of the function seems to be responsible for the unwind
function not adjusting the GOT pointer before calling the cleanup
function.
2013-08-22 11:07:15 +05:30
Siddhesh Poyarekar
615c1c4694 Remove non-ELF support in rtkaio 2013-08-20 10:14:34 +05:30
Siddhesh Poyarekar
f40b2eb05b Fix changelog and release number 2013-08-19 17:08:37 +05:30
Siddhesh Poyarekar
17b00fb789 Get rid of releng tarball
Add necessary files directly to the Fedora git tree and add rtkaio and
c_stubs bits as patches.
2013-08-19 17:05:59 +05:30
Siddhesh Poyarekar
f64a75b648 Fix buffer overflow in readdir_r (#995841, CVE-2013-4237) 2013-08-19 13:33:34 +05:30
Siddhesh Poyarekar
944ed516b0 Pull in systemd during build and use the tmpfilesdir macro. 2013-08-16 19:30:36 +05:30
Siddhesh Poyarekar
5817231d50 Upstream release 2.18 2013-08-16 19:26:44 +05:30
Carlos O'Donell
63769b1ddc Use %{_prefix} everywhere.
This patch fixes the spec file to use %{_prefix} everywhere that
is related to the package and subpackages. However, external
utilities are still referenced by their absolute path which
includes /usr.
2013-08-14 23:48:25 -04:00
Carlos O'Donell
5b97b46bb3 Use $rtkdestdir with alternate rtkaio libs.
Fix typo.
2013-08-14 15:51:47 -04:00
Carlos O'Donell
b8e4762c60 Revert `Move to /usr' transition.
The `Move to /usr' transition for glibc can not be completed
without support from RPM. There are too many Requires that
explicitly reference non-/usr paths in various spec files.
Reverting this patch is the only way forward until we find
a transitional way to support this.
2013-08-13 16:41:01 -04:00
Carlos O'Donell
62c3082486 Complete `Move to /usr' transition for package.
All relevant files are not installed to /usr, with the expectation
that the distribution will provide compatibility links from the
old paths to the new paths. All uses of a bare `/usr' have been
replaced with uses of `%{_prefix}' for files installed by the
package.
2013-08-13 13:18:15 -04:00
Carlos O'Donell
baa7ac6384 Fix typo in install_different local vars. 2013-08-09 00:48:21 -04:00
Carlos O'Donell
71c008f968 Refactor multilib install code.
Two large chunks of identical code are used to install the
non-default runtimes. This patch refactors that code into
the function `install_different' which is used to
conditionally install any libaries where different in the
new multilib (different from the default).
2013-08-09 00:41:01 -04:00
Carlos O'Donell
85447d4e89 Fix duplicate file warnings.
The find-debuginfo.sh script will return duplicate entries of
certain files even though the input is uinque. This results
in rpm build warnings like this:
~~~
Processing files: glibc-debuginfo-common-2.17.90-10.fc20.x86_64
warning: File listed twice: /usr/lib/debug/usr/sbin/build-locale-archive.debug
warning: File listed twice: /usr/lib/debug/usr/sbin/nscd.debug
warning: File listed twice: /usr/lib/debug/usr/sbin/zdump.debug
warning: File listed twice: /usr/lib/debug/usr/sbin/zic.debug
~~~

The solutions is to make the output file list uinque by post
processing it after it is output by find-debuginfo.sh.

The solution removes the warnings and produces no visible
change in the output rpms.
2013-08-08 12:29:39 -04:00
Carlos O'Donell
37b5e6be81 Avoid complex shell constructs.
Don't use subshells when not needed.

Don't use `|| :' to hide errors.
2013-08-08 11:24:25 -04:00
Karsten Hopp
f20c318f75 rebuild with the latest rpm to fix missing ld64.so provides on PPC 2013-08-07 15:18:48 +02:00
Carlos O'Donell
e009d66cdf 2.17.90-10
Bump version.

- Fix missing libbsd.a in debuginfo packages.
2013-07-29 14:36:48 -04:00
Carlos O'Donell
0d1d15d15b Use %{_libdir} instead of %{_prefix}/%{_lib}.
Using %{_libdir} is shorter to write and read and
means exactly the same thing. It also facilitates
experimenting with package layout by changing only
_libdir.
2013-07-29 14:34:27 -04:00
Carlos O'Donell
3bc8fa746f Reorder middle-phase install steps.
Testing showed that unstripped libbsd.a was missing from the list
of common debuginfo files. The fix is to move the "Misc" phase
to before the phase that adds files to the debuginfo. This way
the debuginfo files are computed after all files are in place.
2013-07-29 14:34:27 -04:00
Siddhesh Poyarekar
70cc4d3cc2 - Fix strcoll flaws (#855399, CVE-2012-4412, CVE-2012-4424). 2013-07-29 20:04:15 +05:30
Siddhesh Poyarekar
9a33c90499 Remove pt_chown and fix up spec file
I had forgotten to bump the release number and even add a changelog
entry earlier.  Do all that now.
2013-07-29 17:35:53 +05:30
Siddhesh Poyarekar
59f7846a1a Resync with upstream master 2013-07-29 16:47:41 +05:30
Carlos O'Donell
1d99c012ca Use -s' with truncate not -size'. 2013-07-25 20:30:58 -04:00
Carlos O'Donell
02e8252613 Remove obscure uses of shell redirections.
This patch makes the spec file slightly more friendly to non-shell
readers by changing "> foo" to "truncate -s 0 foo" and removes
the use of ">> foo". The use of ">> foo" is perhaps the most
interesting shell trick which is used to create a zero sized
debuginfocommon.filelist, but only if it doesn't already exist.
This allows the subsequent command to use debuginfocommon.filelist
without requiring it be wrapped in a check for
%{debuginfocommonarches}. That seems a little obtuse and certainly
confusing to the reader who expects such a check for anything
that is related to the debuginfo common package.
2013-07-25 20:17:30 -04:00
Carlos O'Donell
2eb150368a Second round of whitespace and indentation fixes. 2013-07-25 19:10:00 -04:00
Carlos O'Donell
d4d7effa6b Reindent functions and multi-line commands. 2013-07-25 18:53:13 -04:00
Carlos O'Donell
37714d015a Fix slowpow systemtap probe name.
- Correctly name the 240-bit slow path sytemtap probe slowpow_p10 for slowpow.
2013-07-25 15:46:20 -04:00
Carlos O'Donell
5a3b560f10 Reorganize the middle of the install phase.
The middle of the install phase is now clearly split into:
* Remove files we don't distribute.
* Install info files.
* Install locale files.
* Install configuration files for services.
* Install debug copies of unstripped static libs.
* Miscellaneous.
2013-07-24 23:00:43 -04:00
Carlos O'Donell
8c7b7c2248 Adjust comments. 2013-07-24 22:45:11 -04:00
Carlos O'Donell
dbc262b8ed Fix testsuite failures in static C++ tests.
Add build requirement on static libstdc++ library to fix testsuite failures
for static C++ tests.
2013-07-24 08:54:14 -04:00
Carlos O'Donell
9abcefa0aa Add extensive comments. 2013-07-24 07:58:38 -04:00
Carlos O'Donell
7e232bd35c Use pushd/popd for directory changes. 2013-07-24 01:27:35 -04:00
Carlos O'Donell
bf6cb48175 Remove trailing whitespace. 2013-07-24 01:22:37 -04:00
Siddhesh Poyarekar
a383e78f66 - Enable lock elision support (#982363).
- Depend on systemd instead of systemd-units (#983760).
2013-07-22 14:44:54 +05:30
Siddhesh Poyarekar
9d560ee089 Resync with upstream master 2013-07-09 23:15:48 +05:30
Carlos O'Donell
5e06266896 Fix %changelog indentation. 2013-07-08 17:17:33 -04:00
Siddhesh Poyarekar
58028e9523 Resync with upstream master 2013-06-20 13:23:26 +05:30
Remi Collet
9a2e2fa7aa rebuild for new GD 2.1.0 2013-06-11 10:04:52 +02:00
Siddhesh Poyarekar
3cd9b9ce3d Resync with upstream master
Dropped upstreamed patches and adjusted others to apply to latest
upstream.
2013-06-04 22:23:45 +05:30
Siddhesh Poyarekar
1cb6060f99 Avoid crashing in LD_DEBUG when program name is unavailable
Resolves: #961238.
2013-05-14 20:18:28 +05:30
Patsy Franklin
e1a168f8a9 Resolves: #959034
- Fix _nl_find_msg malloc failure case, and callers. (#959034).
2013-05-05 20:19:47 -04:00
Patsy Franklin
3432a46817 Resolves: #952799
- Test init_fct for NULL, not result->__init_fct, after demangling (#952799).
2013-04-30 10:51:37 -04:00
Patsy Franklin
7f654232b1 Resolves: #892777 #952799
- Increase limits on xdr name and record requests (#892777).
  - Consistently MANGLE/DEMANGLE init_fct, end_fct and btow_fct (#952799).
2013-04-23 16:52:25 -04:00
Siddhesh Poyarekar
209568f516 Don't add input group during initgroups_dyn in hesiod (#921760) 2013-03-28 14:11:28 +05:30
Carlos O'Donell
bbd581848b Fix incorrect %changelog dates.
We had 16 incorrect %changelog dates that referenced
either the wrong day or wrong date for the day. All
such entries have been corrected using version control
information to determine the correct or most plausible
date. This fixes the Koji warnings about incorrect
dates in the %changelog.
2013-03-21 18:18:11 -04:00
Carlos O'Donell
37410dcf6c Remove duplicate comments in spec file. 2013-03-17 21:20:31 -04:00
Carlos O'Donell
b5a300152e 2.17-4
- Fixed i386 glibc builds (#917161).
  - Fixed multibyte character processing crash in regexp (#905877, CVE-2013-0242)
2013-03-17 20:13:38 -04:00
Carlos O'Donell
6cfdaac5b6 2.17-3
- Renamed release engineering directory to `releng' (#903754).
  - Fix building with gcc 4.8.0 (#911307).
2013-02-27 19:48:51 -05:00
Carlos O'Donell
db7fd60840 * Thu Feb 7 2013 Carlos O'Donell <carlos@redhat.com> - 2.17-2
- Fix ownership of /usr/lib[64]/audit (#894307).
  - Support unmarked ARM objects in ld.so.cache and aux cache (#905184).
2013-02-08 09:40:54 -05:00
Jeff Law
fb5a5a9b05 - Resync with official glibc-2.17 release 2013-01-01 08:00:53 -07:00
Jeff Law
48a6019250 - Resync with master 2012-12-21 13:50:00 -07:00
Jeff Law
01a2098723 + - Add rtld-debugger-interface.txt as documentation. (#872242) 2012-12-19 11:14:19 -07:00
Jeff Law
cdd3b0516c - Resync with master
- Drop patch for 731228 that is no longer needed.
2012-12-07 15:01:57 -07:00
Jeff Law
245f445471 Bump release. 2012-12-06 10:46:40 -07:00
Jeff Law
0a21292124 - Resync with master
- Patch for 697421 has been submitted upstream.
  - Drop local patch for 691912 that is no longer needed.
2012-12-06 10:45:03 -07:00
Jeff Law
7941460ddd Mark 731228 as having an upstream BZ (14898) 2012-12-04 09:11:08 -07:00
Jeff Law
4e1a9eb783 * Mon Dec 3 2012 Jeff Law <law@redhat.com> - 2.16.90-36
- Resync with master
  - Drop local patch for 657588 that is no longer needed.
  - Drop local patch for 740682 that is no longer needed.
  - Drop local patch for 770439 that is no longer needed.
  - Drop local patch for 789209 that is no longer needed.
  - Drop lotch patch for nss-files-overflow that seems
    useless.
  - Drop localedata-locales-fixes as they were rejected
    upstream.
  - Drop test-debug-gnuc-hack.patch that seems useless now.
  - Repack patchlist.
2012-12-03 13:37:41 -07:00
Jeff Law
d5297ae5f7 - Resync with master
- Drop local patch for 657588 that is no longer needed.
  - Drop lotch patch for nss-files-overflow that seems
    useless.
  - Repack patchlist.
2012-12-03 11:25:56 -07:00
Jeff Law
03545a8efd - Resync with master (#882137).
- Remove local patch for strict-aliasing warnings that
    is no longer needed.
  - Remove local patch for 730856 that is no longer needed.
  - Repack patchlist.
2012-11-30 14:01:46 -07:00
Jeff Law
f5dc60f992 - Remove local patch which "temporarily" re-added currences
obsoleted by the Euro.
2012-11-29 14:25:33 -07:00
Jeff Law
f0c53b1b9f - Remove hunks from strict-aliasing patch that are no longer
needed.
2012-11-29 14:20:27 -07:00
Jeff Law
e60d39c115 Fix typo in changelog 2012-11-29 10:59:46 -07:00
Jeff Law
e781949a22 - Resync with msater.
- Drop local patch for 788989.
  - Repack patchlist.
2012-11-29 10:56:43 -07:00
Jeff Law
e3a9f6982a - Resync with master.
- Drop local patch for 878913.
  - Drop local patch for 880666.
  - Drop local patch for 767693.
  - Repack patchlist.
2012-11-28 14:30:40 -07:00
Siddhesh Poyarekar
99d5069200 Bug fixes (878913, 880666)
- Ensure that hashtable size is greater than 3 (#878913).
  - fwrite returns 0 on EOF (#880666).
2012-11-27 21:31:22 +05:30
Jeff Law
0a6b9006e7 - Resync with upstream sources
- Drop local patch for getconf.
  - Repack patchlist.
2012-11-26 14:19:38 -07:00