Commit Graph

1167 Commits

Author SHA1 Message Date
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