Commit Graph

1355 Commits

Author SHA1 Message Date
Carlos O'Donell
b21f47f287 Reduce external fragmentation in memalign (swbz#14581). 2019-06-21 08:13:12 -04:00
Florian Weimer
d53844dd72 Auto-sync with upstream branch master
Upstream commit: 21cc130b78a4db9113fb6695e2b951e697662440

- During exit, skip wide buffer handling for legacy stdio handles (#1722216)
- powerpc: add 'volatile' to asm
- powerpc: Fix static-linked version of __ppc_get_timebase_freq (swbz#24640)
- nl_AW locale: Correct the negative monetary format (swb#z24614)
- Fix gcc 9 build errors for make xcheck. (swbz#24556)
- dlfcn: Avoid one-element flexible array in Dl_serinfo (swbz#24166)
- elf: Refuse to dlopen PIE objects (swbz#24323)
- nl_NL locale: Correct the negative monetary format (swbz#24614)
- powerpc: Refactor powerpc64 lround/lroundf/llround/llroundf
- powerpc: refactor powerpc64 lrint/lrintf/llrint/llrintf
2019-06-21 09:40:58 +02:00
Florian Weimer
134a36d7f8 Remove comments on %endif, required by newer RPM 2019-06-17 15:45:58 +02:00
Florian Weimer
a464847a25 Auto-sync with upstream branch master
Upstream commit: 48c3c1238925410b4e777dc94e2fde4cc9132d44

- Linux: Fix __glibc_has_include use for <sys/stat.h> and statx (#1721129)
- <sys/cdefs.h>: Inhibit macro expansion for __glibc_has_include
- Add IPV6_ROUTER_ALERT_ISOLATE from Linux 5.1 to bits/in.h
- aarch64: handle STO_AARCH64_VARIANT_PCS
- aarch64: add STO_AARCH64_VARIANT_PCS and DT_AARCH64_VARIANT_PCS
- powerpc: Remove optimized finite
- math: Use wordsize-64 version for finite
- powerpc: Remove optimized isinf
- math: Use wordsize-64 version for isinf
- powerpc: Remove optimized isnan
- math: Use wordsize-64 version for isnan
- benchtests: Add isnan/isinf/isfinite benchmark
- powerpc: copysign cleanup
- powerpc: consolidate rint
- libio: freopen of default streams crashes in old programs (swbz#24632)
- Linux: Deprecate <sys/sysctl.h> and sysctl
- <sys/stat.h>: Use Linux UAPI header for statx if available and useful
  (#1721129)
- <sys/cdefs.h>: Add __glibc_has_include macro
- Improve performance of memmem
- Improve performance of strstr
- Benchmark strstr hard needles
- Fix malloc tests build with GCC 10
2019-06-17 14:36:16 +02:00
Patsy Franklin
9c5a4265d8 Auto-sync with upstream branch master
Upstream commit: 51ea67d54882318c4fa5394c386f4816ddc22408

- powerpc: get_rounding_mode: utilize faster method to get rounding mode
- riscv: Do not use __has_include__
- powerpc: fegetexcept: utilize function instead of duplicating code
- iconv: Use __twalk_r in __gconv_release_shlib
- Fix iconv buffer handling with IGNORE error handler (swbz#18830)
2019-06-10 13:01:36 -04:00
Florian Weimer
bd8d2430b4 Restore /usr/lib/locale/locale-archive under its original name (#1716710) 2019-06-05 12:20:08 +02:00
Florian Weimer
819bb4065c Add glibc version to locale-archive name (#1716710) 2019-06-04 16:02:20 +02:00
Carlos O'Donell
3aed6a961c Auto-sync with upstream branch master
Upstream commit: dc91a19e6f71e1523f4ac179191a29b2131d74bb

- Linux: Add oddly-named arm syscalls to syscall-names.list.
- arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
- Add INADDR_ALLSNOOPERS_GROUP from Linux 5.1 to netinet/in.h.
2019-06-03 16:07:16 -04:00
Carlos O'Donell
34927af202 Convert glibc_post_upgrade to lua. 2019-06-01 20:23:38 -04:00
Florian Weimer
fcb4083893 Auto-sync with upstream branch master
Upstream commit: 9250e6610fdb0f3a6f238d2813e319a41fb7a810

- powerpc: Fix build failures with current GCC
- Remove unused get_clockfreq files
- powerpc: generic nearbyint/nearbyintf
- tt_RU: Add lang_name (swbz#24370)
- tt_RU: Fix orthographic mistakes in mon and abmon sections (swbz#24369)
- Add IGMP_MRDISC_ADV from Linux 5.1 to netinet/igmp.h.
2019-06-01 13:41:32 +02:00
Florian Weimer
50bcae98df Remove support for filtering glibc-all-langpacks (#1715891)
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2019-06-01 13:13:40 +02:00
Arjun Shankar
74725dd94e Auto-sync with upstream branch master
Upstream commit: 85188d8211698d1a255f0aec6529546db5c56de3

- Remove support for PowerPC SPE extension
- elf: Add tst-ldconfig-bad-aux-cache test
- Add F_SEAL_FUTURE_WRITE from Linux 5.1 to bits/fcntl-linux.h
- nss_dns: Check for proper A/AAAA address alignment
2019-05-27 14:46:58 +02:00
DJ Delorie
9701fdade7 Auto-sync with upstream branch master,
Upstream commit 46ae07324b1cd50fbf8f37a076d6babcfca7c510

- Improve string benchtest timing
- sysvipc: Add missing bit of semtimedop s390 consolidation
- wcsmbs: Fix data race in __wcsmbs_clone_conv [swbz #24584]
- libio: Fix gconv-related memory leak [swbz #24583]
- libio: Remove codecvt vtable [swbz #24588]
- support: Expose sbindir as support_sbindir_prefix
- support: Add missing EOL terminators on timespec
- support: Correct confusing comment
- sysvipc: Consolidate semtimedop s390
- sysvipc: Fix compat msgctl (swbz#24570)
- Add NT_ARM_PACA_KEYS and NT_ARM_PACG_KEYS from Linux 5.1 to elf.h.
- Small tcache improvements
- manual: Document O_DIRECTORY
- Update kernel-features.h files for Linux 5.1.
- nss_nis, nss_nisplus: Remove RES_USE_INET6 handling
- nss_files: Remove RES_USE_INET6 from hosts processing
- support: Report NULL blobs explicitly in TEST_COMPARE
- dlfcn: Guard __dlerror_main_freeres with __libc_once_get (once) [swbz# 24476]
- Add missing Changelog entry
2019-05-21 14:21:21 -04:00
Florian Weimer
6666c40188 Auto-sync with upstream branch master
Upstream commit: 32ff397533715988c19cbf3675dcbd727ec13e18

- Fix crash in _IO_wfile_sync (#1710460)
- nss: Turn __nss_database_lookup into a compatibility symbol
- support: Add support_install_rootsbindir
- iconv: Remove public declaration of __gconv_transliterate
- Linux: Add the tgkill function
- manual: Adjust twalk_r documentation.
- elf: Fix tst-pldd for non-default --prefix and/or --bindir (swbz#24544)
- support: Export bindir path on support_path
- configure: Make --bindir effective
- x86: Remove arch-specific low level lock implementation
- nptl: Assume LLL_LOCK_INITIALIZER is 0
- nptl: Small optimization for lowlevellock
- Add single-thread.h header
- locale: Update to Unicode 12.1.0 (swbz#24535)
- malloc: Fix tcache count maximum (swbz#24531)
- sem_close: Use __twalk_r
- support: Fix timespec printf
- nptl/tst-abstime: Use libsupport
- nptl: Convert some rwlock tests to use libsupport
- nptl: Use recent additions to libsupport in tst-sem5
- nptl: Convert tst-cond11.c to use libsupport
- support: Add timespec.h
- Move nptl/tst-eintr1 to xtests (swbz#24537)
- powerpc: trunc/truncf refactor
- powerpc: round/roundf refactor
- powerpc: floor/floorf refactor
- support: Add xclock_gettime
- malloc/tst-mallocfork2: Use process-shared barriers
- Update syscall-names.list for Linux 5.1
- Use GCC 9 in build-many-glibcs.py
- aarch64: thunderx2 memmove performance improvements
- misc/tst-tsearch: Additional explicit error checking
- elf: Fix elf/tst-pldd with --enable-hardcoded-path-in-tests (swbz#24506)
- misc: Add twalk_r function
2019-05-15 17:55:39 +02:00
Arjun Shankar
4124e42f39 Auto-sync with upstream branch master
Upstream commit: 20aa5819586ac7ad11f711bab64feda307965191

- semaphore.h: Add nonnull attributes
- powerpc: Remove power4 mpa optimization
- powerpc: Refactor ceil/ceilf
- Fix -O1 compilation errors with `__ddivl' and `__fdivl' [BZ #19444]
- Make mktime etc. compatible with __time64_t
2019-05-02 13:03:35 +02:00
Florian Weimer
d9394d9d7e Auto-sync with upstream branch master
Upstream commit: c57afec0a9b318bb691e0f5fa4e9681cf30df7a4

- Increase BIND_NOW coverage (#1702671)
- Fix pldd hang (#1361689)
- riscv: remove DL_RO_DYN_SECTION (swbz#24484)
- locale: Add LOCPATH diagnostics to the locale program
- benchtests: Enable BIND_NOW if configured with --enable-bind-now
2019-04-26 13:51:28 +02:00
DJ Delorie
47192f413e Auto-sync with upstream branch master
Upstream commit: 25f7a3c96116a9102df8bf7b04ef160faa32416d

- malloc: make malloc fail with requests larger than PTRDIFF_MAX (BZ#23741)
- powerpc: Fix format issue from 3a16dd780eeba602
- powerpc: fma using builtins
- powerpc: Use generic fabs{f} implementations
- mips: Remove rt_sigreturn usage on context function
- powerpc: Remove rt_sigreturn usage on context function
- support: Add support_capture_subprogram
- stdlib/tst-secure-getenv: handle >64 groups
2019-04-22 15:33:30 -04:00
Florian Weimer
448365c7f7 Auto-sync with upstream branch master
Upstream commit: e3f454bac0f968216699ca405c127c858f0657c7

- nss_dns: Do not replace root domain with empty string
- alloc_buffer: Return unqualified pointer type in alloc_buffer_next
- malloc: Set and reset all hooks for tracing (swbz#16573)
2019-04-15 15:05:30 +02:00
Florian Weimer
a54853472d Run valgrind smoke test against the install tree 2019-04-11 21:53:43 +02:00
Florian Weimer
dcaaa78467 Do not use --g-libs with find-debuginfo.sh; it breaks valgrind (#1698824) 2019-04-11 12:18:48 +02:00
Florian Weimer
7b77f1b10f Strip debugging information from installed programs again (#1661510) 2019-04-10 10:26:43 +02:00
Carlos O'Donell
b797613532 Auto-sync with upstream branch master
Upstream commit: 648279f4af423c4783ec1dfa63cb7b46a7640217

- Drop glibc-warning-fix.patch. Microbenchmark code fixed upstream.

- powerpc: Use generic wcscpy optimization
- powerpc: Use generic wcschr optimization
- powerpc: Use generic wcsrchr optimization
- aarch64: thunderx2 memcpy implementation cleanup and streamlining
- resolv: Remove support for RES_USE_INET6 and the inet6 option
- resolv: Remove RES_INSECURE1, RES_INSECURE2
2019-04-09 11:11:06 -04:00
Arjun Shankar
e4dacdad3d Auto-sync with upstream branch master
Upstream commit: 8260f23616c1a2a4e609f989a195fba7690a42ca

- Fix strptime era handling, add more strftime tests [BZ #24394]
- time/tst-strftime2.c: Make the file easier to maintain
- time: Add tests for Minguo calendar [BZ #24293]
- ja_JP locale: Add entry for the new Japanese era [BZ #22964]
- Add Reiwa era tests to time/tst-strftime3.c
2019-04-04 03:07:08 +02:00
Arjun Shankar
7b2061df55 Auto-sync with upstream branch master
Upstream commit: 993e3107af67edefcfc79a62ae55f7b98aa5151e

- Add AArch64 HWCAPs from Linux 5.0
- tt_RU: Fix orthographic mistakes in day and abday sections [BZ #24296]
- iconv, localedef: avoid floating point rounding differences [BZ #24372]
- Fix parentheses error in iconvconfig.c and ld-collate.c [BZ #24372]
- S390: New configure check and hwcap values for new CPU architecture arch13
- S390: Add memmove, strstr, and memmem ifunc variants for arch13
- nptl: Remove pthread_clock_gettime pthread_clock_settime
- linux: Assume clock_getres CLOCK_{PROCESS,THREAD}_CPUTIME_ID
- Remove __get_clockfreq
- Do not use HP_TIMING_NOW for random bits
- hp-timing: Refactor rtld usage, add generic support
- Add NT_ARM_PAC_MASK and NT_MIPS_MSA from Linux 5.0 to elf.h
- Add UDP_GRO from Linux 5.0 to netinet/udp.h
- nptl: Convert tst-sem5 & tst-sem13 to use libsupport
- nptl/tst-rwlock14: Test pthread_rwlock_timedwrlock correctly
- nss/tst-nss-files-alias-leak: add missing opening quote in printf
- math: Enable some math builtins for clang
- powerpc: Use __builtin_{mffs,mtfsf}
- RISC-V: Fix `test' operand error with soft-float ABI being configured
2019-04-01 16:45:15 +02:00
Carlos O'Donell
bfa3999fdd Fix %changelog date. 2019-03-20 22:41:20 -04:00
Carlos O'Donell
82a97343d6 Add warnings and notes to /etc/nsswitch.conf and /etc/nscd.conf. 2019-03-20 22:36:49 -04:00
DJ Delorie
a84cd6b530 Auto-sync with upstream branch master
Upstream commit: 78919d3886c9543279ec755a701e279c62b44164

78919d3886 time/mktime.c: Update obsolete URL in comment.
b626c5aa5d Record CVE-2019-9169 in NEWS and ChangeLog [BZ #24114]
066ae81ec9 hurd: Fix comment style
e87d8ada29 hurd: Document how EINTR should be handled in critical sections
477e739b32 Update syscall-names.list for Linux 5.0.
238d60a1fb localedata: Add Minguo calendar support to Taiwanese locales [BZ #24293]
5b06f538c5 malloc: Check for large bin list corruption when inserting unsorted chunk
a0a0dc8317 Remove obsolete, never-implemented XSI STREAMS declarations
2019-03-18 13:23:22 -04:00
Florian Weimer
fdf2115d36 Auto-sync with upstream branch master
Upstream commit: a0a0dc83173ce11ff45105fd32e5d14356cdfb9c

- Drop glibc-fedora-streams-rh436349.patch.  STREAMS was removed upstream.

- Remove obsolete, never-implemented XSI STREAMS declarations
- nss: Fix tst-nss-files-alias-truncated for default --as-needed linking
- scripts/check-obsolete-constructs.py: Process all headers as UTF-8.
- Use Linux 5.0 in build-many-glibcs.py.
- hurd: Add no-op version of __res_enable_icmp [BZ #24047]
- Move inttypes.h and stdint.h to stdlib.
- Use a proper C tokenizer to implement the obsolete typedefs test.
- Fix output of LD_SHOW_AUXV=1.
2019-03-14 16:18:47 +01:00
Florian Weimer
70ec0cd8b9 Auto-sync with upstream branch master
Upstream commit: 38b52865d4ccfee3647f27e969e539a4396a73b1

- Drop glibc-rh1670028.patch, applied upstream

- elf: Add DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON to <elf.h>
- resolv: Enable full ICMP errors for UDP DNS sockets [BZ #24047]
- C-SKY: add elf header definition for elfutils
- C-SKY: mark lr as undefined to stop unwinding
- C-SKY: remove user_regs definition
- C-SKY: fix sigcontext miss match
- Bug 24307: Update to Unicode 12.0.0
- Break lines before not after operators, batch 4.
- check-wrapper-headers test: Adjust Fortran include file directory
- Fix location where math-vector-fortran.h is installed.
2019-03-13 13:33:01 +01:00
Jeroen van Meeuwen (Kolab Systems)
97506ad65a It's there now... 2019-03-08 13:24:23 +01:00
Jeroen van Meeuwen (Kolab Systems)
5b4007bb56 Fix bootstrapping glibc
Bootstrapping glibc will disable benchtests, but the if/endif clauses
excluded essentials from the bootstrapped build. Also, mtrace isn't built
when bootstrapping.
2019-03-08 13:24:23 +01:00
DJ Delorie
9f81c9aa6e Auto-sync with upstream branch master
Upstream commit: 0ddb7ea842abf63516b74d4b057c052afc6ba863.

- nptl: Assume __ASSUME_FUTEX_CLOCK_REALTIME support
- powerpc: Fix build of wcscpy with --disable-multi-arch
- elf: Remove remnants of MAP_ANON emulation
- S390: Increase function alignment to 16 bytes.
- ja_JP: Change the offset for Taisho gan-nen from 2 to 1 [BZ #24162]
- ldbl-opt: Reuse test cases from misc/ that check long double
- ldbl-opt: Add error and error_at_line (bug 23984)
- ldbl-opt: Add err, errx, verr, verrx, warn, warnx, vwarn, and vwarnx (bug 23984)
- ldbl-opt: Reuse argp tests that print long double
- ldbl-opt: Add argp_error and argp_failure (bug 23983)
- elf/tst-big-note: Improve accuracy of test [BZ #20419]
- S390: Fix introduction of __wcscpy and weak wcscpy symbols.
- __netlink_assert_response: Add more __libc_fatal newlines [BZ #20271]
- Add more spaces before '('.
- elf: Add tests with a local IFUNC resolver [BZ #23937]
- elf/Makefile: Run IFUNC tests if binutils supports IFUNC
- powerpc: Fix linknamespace introduced by 4d8015639a75
- hurd: Add renameat2 support for RENAME_NOREPLACE
- Fix -Wempty-body warnings in Hurd-specific code.
- Add some spaces before '('.
- wcsmbs: optimize wcsnlen
- wcsmbs: optimize wcsncpy
- wcsmbs: optimize wcsncat
- wcsmbs: optimize wcscpy
- wcsmbs: optimize wcscat
- wcsmbs: optimize wcpncpy
- wcsmbs: optimize wcpcpy
- Break further lines before not after operators.
- Add and move fall-through comments in system-specific code.
2019-03-06 15:56:00 -05:00
DJ Delorie
2300402532 Add .gdb_index to debug information
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1680765
by adding -i to find-debuginfo.sh flags.
2019-03-01 14:45:22 -05:00
Carlos O'Donell
8a209c638d Work around compiler warning in microbenchmarks.
Raised upstream:
https://www.sourceware.org/ml/libc-alpha/2019-02/msg00656.html
2019-02-28 02:09:46 -05:00
Carlos O'Donell
047399b0d0 Auto-sync with upstream branch master,
Upstream commit: e0cb7b6131ee5f2dca2938069b8b9590304e6f6b

- nss_files: Fix /etc/aliases null pointer dereference (swbz#24059)
- regex: fix read overrun (swbz#24114)
- libio: use stdout in puts and putchar, etc (swbz#24051)
- aarch64: Add AmpereComputing emag to tunable cpu list
- aarch64: Optimized memset specific to AmpereComputing emag
- aarch64: Optimized memchr specific to AmpereComputing emag
- Require GCC 6.2 or later to build glibc
- manual: Document lack of conformance of sched_* functions (swbz#14829)
- libio: Use stdin consistently for input functions (swbz#24153)
- x86-64 memcmp: Use unsigned Jcc instructions on size (swbz#24155)
- Fix handling of collating elements in fnmatch (swbz#17396,swbz#16976)
- arm: Use "nr" constraint for Systemtap probes (swbz#24164)
- Fix alignment of TLS variables for tls variant TLS_TCB_AT_TP (swbz#23403)
- Add compiler barriers for pthread_mutex_trylock (swbz#24180)
- rt: Turn forwards from librt to libc into compat symbols (swbz#24194)
- Linux: Add gettid system call wrapper (swbz#6399)
- nptl: Avoid fork handler lock for async-signal-safe fork (swbz#24161)
- elf: Ignore LD_AUDIT interfaces if la_version returns 0 (swbz#24122)
- nptl: Reinstate pthread_timedjoin_np as a cancellation point (swbz#24215)
- nptl: Fix invalid Systemtap probe in pthread_join (swbz#24211)
2019-02-26 09:31:34 -05:00
Florian Weimer
1c5b89063f Auto-sync with upstream branch release/2.29/master
Upstream commit: 067fc32968b601493f4b247a3ac00caeea3f3d61

- Drop glibc-rh1674280.patch.  Different fix applied upstream.  (#1674280)
- nptl: Fix invalid Systemtap probe in pthread_join (#1674280)
2019-02-19 08:33:22 +01:00
Florian Weimer
b82e3b3f85 Hotfix for invalid Systemtap probe in pthread_join (#1674280) 2019-02-11 21:42:14 +01:00
Florian Weimer
8e6306e004 Remove LRA bug on POWER workaround, fixed in gcc-9.0.1-0.4.fc30 (#1673018) 2019-02-11 09:53:45 +01:00
Florian Weimer
5fff012634 Auto-sync with upstream branch release/2.29/master
Upstream commit: c096b008d2671028c21ac8cf01f18a2083e73c44

- nptl: Avoid fork handler lock for async-signal-safe fork (swbz#24161)
- nptl: Add compiler barriers in pthread_mutex_trylock (swbz#24180)
2019-02-11 09:51:14 +01:00
Florian Weimer
123aebc7d4 Work around LRA hang on ppc64le (#1673018) 2019-02-07 10:49:48 +01:00
Florian Weimer
109c797f85 Auto-sync with upstream branch release/2.29/master
Upstream commit: 2de15ac95713a238dc258eb8977ecdfca811fc19

- arm: Use "nr" constraint for Systemtap probes (#1196181)
2019-02-06 09:10:05 +01:00
Florian Weimer
0ba614c06d Eliminate %%glibcrelease macro
As a result, future mass rebuilds will increment the Release: field as
expected.
2019-02-01 13:38:20 +01:00
Carlos O'Donell
de5b416635 Auto-sync with upstream branch release/2.29/master
Upstream commit: 86013ef5cea322b8f4b9c22f230c22cce369e947

- nptl: Fix pthread_rwlock_try*lock stalls (swbz#23844)
2019-01-31 22:15:26 -05:00
Fedora Release Engineering
b4e36d719d - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 22:40:19 +00:00
DJ Delorie
e7b9f886b0 Auto-sync with upstream branch master,
Upstream commit: e1e47c912a8e557508362715f7468091def3ec4f

- Update translations.
2019-01-28 16:12:03 -05:00
Florian Weimer
88850a88bb resolv: Enable full ICMP error reporting in stub resolver (#1670028) 2019-01-28 14:28:25 +01:00
Florian Weimer
657df54449 Remove obsolete scriptlets (release bump) 2019-01-28 14:09:37 +01:00
Igor Gnatenko
1ebcbd5e46
Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-27 18:58:44 +01:00
Florian Weimer
70a46f30e1 Auto-sync with upstream branch master
Upstream commit: 83e6b59625f45db1eee93e5684091f740c52a083

- elf: Revert LD_AUDIT fix for modules with invalid version (swbz#24122)
- strftime: Pass the additional flags from %EY to %Ey (swbz#24096)
- strftime: Set the default width of %Ey to 2 (swbz#23758)
2019-01-25 11:55:20 +01:00
Florian Weimer
7c5e863b5b Auto-sync with upstream branch master
Upstream commit: 3367acdb344a1d7fcf8f53748d301d652c8911dd

- elf: Fix LD_AUDIT for modules with invalid version (swbz#24122)
- CVE-2016-10739: getaddrinfo: Fully parse IPv4 address strings (#1331390)
- resolv: Do not send queries for non-host-names in nss_dns (swbz#24112)
- malloc: Revert fastbins to old-style atomics
2019-01-24 13:01:30 +01:00
Florian Weimer
133c946b2f Use assembler to produce annobin notes for nonshared libraries (#1668822) 2019-01-23 17:22:30 +01:00
Carlos O'Donell
ec674e19b8 Auto-sync with upstream branch master
Upstream commit: 008b598e2a495024f9777006716cfd8668f3db33

- x86-64: Optimize strcat/strncat, strcpy/strncpy and stpcpy/stpncpy with AVX2
- powerpc: Fix VSCR position in ucontext (swbz#24088)
- AArch64: Add ifunc support for Ares
- soft-fp: Properly check _FP_W_TYPE_SIZE (swbz#24066)
2019-01-16 11:51:15 -05:00
Florian Weimer
4265b0b8f6 Inherit -march=haswell flag from redhat-rpm-config 2019-01-10 12:29:48 +01:00
Arjun Shankar
1aba59b258 Auto-sync with upstream branch master
commit 2ef427168818ce04b03cecb7b739f9db0156e3e4

- Require GCC 5 or later to build glibc (swbz#23993)
- Only build libm with -fno-math-errno (swbz#24024)
- sysdeps/ieee754: prevent maybe-uninitialized errors with -O (swbz#19444)
- Multiple locales: Use the correct 12-hour time formats (swbz#10496)
- sq_AL: Use the correct date and time formats (swbz#10496, swbz#23724)
- en_US: define date_fmt (swbz#24046)
- Remove executable bit from localedata/locales/bi_VU (swbz#23995)
- malloc: Always call memcpy in _int_realloc (swbz#24027)
- ARM: fix kernel assisted atomics with GCC 8 (swbz#24034)
- S390: Unify 31/64bit mem{set,cmp,cpy,pcpy}, bzero with ifunc handling
- S390: Refactor ifunc handling for several str* and wc* functions
- posix: Clear close-on-exec for posix_spawn adddup2 (swbz#23640)
- termios: Define TIOCSER_TEMT with __USE_MISC (swbz#17783)
- termios: Consolidate Baud Rate Selection definitions (swbz#23783)
- Y2038: add __{localtime64,gmttime64,ctime64}[_r] functions
- Y2038: make __difftime compatible with 64-bit time
2019-01-07 17:22:11 +01:00
DJ Delorie
650d554f72 Auto-sync with upstream branch master,
commit 6bbfc5c09fc5b5e3d4a0cddbbd4e2e457767dae7.

- Add statx conditionals for wordsize-32 *xstat.c
- regex: fix storage-exhaustion error (swbz#18040)
- regex: fix heap-use-after-free error (swbz#18040)
- manual: Document thread/task IDs for Linux
2018-12-17 14:16:58 -05:00
Carlos O'Donell
60935671c3 Auto-sync with upstream branch master
Upstream commit: ade8b817fead73b302d08c88cd44ea2ea56793d4

- powerpc: missing CFI register information in __mpn_* functions (swbz#23614)
- rdlock stalls indefinitely on an unlocked pthread rwlock (swbz#23861)
2018-12-13 12:14:55 -05:00
Carlos O'Donell
7a4d7ca184 Auto-sync with upstream branch master
Upstream commit: 505b5b292293a5d6bd4046a6bc7f8c2381a33da4

- Fix powf overflow handling in non-nearest rounding mode (swbz#23961)
- test-container: move postclean outside of namespace changes (swbz#23948)
- Enable VDSO for static linking on mips (swbz#19767)
2018-12-11 12:33:20 -05:00
Florian Weimer
1d88b65b1d Auto-sync with upstream branch master
Upstream commit: 7b36d26b22d147ffc347f427f9fd584700578a94

- compat getdents64: Use correct offset for retry (swbz#23972)
- x86: Fix static analysis warning in tst-cet-property-2 (swbz#23490)
- malloc: Add another test for tcache double free check (swbz#23907)
- getcpu: New system call wrapper
- posix_spawn_file_actions_addfchdir_np: New function (swbz#17405)
- Preparations for the IBM long double transition
- Preparations for 64-bit time_t on 32-bit architectures
- Enable VDSO for static linking on arm (swbz#19767)
2018-12-10 16:51:13 +01:00
Florian Weimer
b8873c0d8b Auto-sync with upstream branch master
Upstream commit: 7b36d26b22d147ffc347f427f9fd584700578a94

- CVE-2018-19591: if_nametoindex: Fix descriptor for overlong name (#1654000)
- Mutex: Add pthread mutex tunables
- stdlib: assert on NULL function pointer in atexit etc. (swbz#20544)
- Enable VDSO on i386 statically linked programs
- posix: Use posix_spawn on system
- posix: Use posix_spawn on popen (swbz#17490, swbz#22834)
- Fix _dl_profile_fixup data-dependency issue (swbz#23690)
- Enable VDSO for static linking on aarch64
2018-12-03 14:58:02 +01:00
Carlos O'Donell
afea822158 Resolves: #1352973
- Move requirement on libgcc from glibc-devel to glibc (#1352973)
2018-11-29 16:40:16 -05:00
Carlos O'Donell
173c24248d Resolves: #1651260
- Add requires on explicit glibc version for glibc-nss-devel (#1651260)
2018-11-27 15:07:47 -05:00
Arjun Shankar
5ce3b68016 Auto-sync with upstream branch master
Upstream commit: ce035c6e909ad20ef2fe13c92eab4e69f6495b61

- Drop glibc-rh1652495.patch.  Applied upstream.
2018-11-27 12:20:28 +01:00
Florian Weimer
fdcac6f8f4 Do not use parallel make for building locales (#1652228) 2018-11-26 14:58:44 +01:00
Florian Weimer
2f22666a8b malloc: Revert tcache double-free check (#1652495) 2018-11-22 11:05:13 +01:00
DJ Delorie
16caa0b760 Auto-sync with upstream branch master
Upstream commit: bcdaad21d4635931d1bd3b54a7894276925d081d

- malloc: tcache double free check
- [AArch64] Adjust writeback in non-zero memset
- Update config.guess and config.sub to current versions.
- support: Print timestamps in timeout handler
- Use STRFMON_LDBL_IS_DBL instead of __ldbl_is_dbl.
2018-11-20 14:38:52 -05:00
Florian Weimer
81ee17d92e Auto-sync with upstream branch master
Upstream commit: 346ef23f197a0c8ba807c344bd39101b711050ee
2018-11-16 11:20:25 +01:00
Florian Weimer
36c64b8ffa Auto-sync with upstream branch master
Upstream commit: 43257c335ad6b9e05fb882975e1776ff763164ee

- Disable CET for binaries created by older link editors (#1648297)
2018-11-09 12:00:27 +01:00
Florian Weimer
5ca0400677 Auto-sync with upstream branch master
Upstream commit: 00c86a37d1b63044e3169d1f2ebec23447c73f79
2018-11-07 14:47:43 +01:00
Florian Weimer
4232176d25 Auto-sync with upstream branch master
Upstream commit: 1df872fd74f730bcae3df201a229195445d2e18a

- libanl: Fix crash if first helper thread creation failed (#1646381)
2018-11-07 13:58:23 +01:00
Mike FABIAN
c42d98baca Include Esperanto (eo) in glibc-all-langpacks (#1643756) 2018-11-01 11:55:20 +01:00
DJ Delorie
383945e966 Auto-sync with upstream branch master:
Upstream commit: c6982f7efc1c70fe2d6160a87ee44d871ac85ab0
2018-10-29 14:39:25 -04:00
Arjun Shankar
a5ad6ecfc9 Auto-sync with upstream branch master:
Upstream commit: fe61f17cfc18f17befca3280e828bb40e8c772b0
2018-10-26 14:29:50 +02:00
Florian Weimer
6287bab02b Auto-sync with upstream branch master:
Upstream commit: a27a4f4721837a5fb36ace833764b06a64c5af1c
2018-10-24 11:46:30 +02:00
Florian Weimer
8e5fc280df Auto-sync with upstream branch master
Upstream commit: 72771e53753647111d31c5c4bf43d8901e6baf7e
2018-10-18 10:22:53 +02:00
Florian Weimer
3b14ffff2a Auto-sync with upstream branch master
Upstream commit: f841c97e515a1673485a2b12b3c280073d737890

- stdlib/tst-setcontext9 test suite failure on ppc64le (#1623519)
2018-09-27 12:52:00 +02:00
Florian Weimer
447d75c71c - Auto-sync with upstream branch master
Upstream commit: db9a8ad4ff3fc58e3773a9a4d0cabe3c1bc9c94c

- gethostid: Missing NULL check for gethostbyname_r result (#1631338)
- stdlib/tst-setcontext9 test suite failure (#1623519)
2018-09-20 13:27:33 +02:00
Florian Weimer
a63c0b6456 Add python3-devel build dependency for downstream benefit 2018-09-05 11:35:41 +02:00
Florian Weimer
c63972c3a9 Fix version in changelog 2018-09-05 11:35:10 +02:00
Carlos O'Donell
9588eec39f Resolves: #1625507
- Provide compatibility support for linking against libpthread_nonshared.a
  (#1625507)
2018-09-05 03:26:05 -04:00
Florian Weimer
723de53164 Remove workaround for valgrind bug (#1600034) 2018-08-29 13:06:17 +02:00
Florian Weimer
fde5e92317 Auto-sync with upstream branch master
Upstream commit: ff6b24501f70da7d6375d6f5929262b9509db39e
2018-08-29 09:01:13 +02:00
Florian Weimer
02e1d4ee3e Auto-sync with upstream branch master
Upstream commit: 99ea93ca31795469d2a1f1570f17a5c39c2eb7e2

- nptl: Fix waiters-after-spinning case in pthread_cond_broadcast (#1622669)
- regex: Fix memory corruption when pattern and input contain NUL (#1622674)
2018-08-27 20:19:22 +02:00
Carlos O'Donell
60efd153e5 Auto-sync with upstream branch master
Upstream commit: aa42b3dbcb0326badf377fec2c7fb2f34fdabecd
2018-08-24 22:29:27 -04:00
Carlos O'Donell
bebdebbdc3 Resolves: #1615608
- Remove abort() warning in manual (#1615608)
2018-08-13 22:43:08 -04:00
Florian Weimer
08e1b1ab33 Fix regression in readdir64@GLIBC_2.1 compat symbol (#1614705) 2018-08-10 11:24:59 +02:00
Florian Weimer
fa1678e1c0 Log /proc/sysinfo if available (on s390x) 2018-08-02 18:20:05 +02:00
Florian Weimer
b0deb573ed Honor %{valgrind_arches} 2018-08-02 16:24:00 +02:00
Florian Weimer
fb1f848c19 Update to glibc 2.28 release tarball
- Translation updates
- x86/CET: Fix property note parser (swbz#23467)
- x86: Add tst-get-cpu-features-static to $(tests) (swbz#23458)
2018-08-01 10:54:45 +02:00
Florian Weimer
56a02fe6e3 Auto-sync with upstream branch master
Upstream commit: af86087f02a5522d8801a11d8381e04f95e33162

- x86/CET: Don't parse beyond the note end
- Fix Linux fcntl OFD locks tests on unsupported kernels
- x86: Populate COMMON_CPUID_INDEX_80000001 for Intel CPUs (swbz#23459)
- x86: Correct index_cpu_LZCNT (swbz#23456)
- Fix string/tst-xbzero-opt if build with gcc head
2018-07-31 08:25:51 +02:00
Florian Weimer
a4a5659439 Auto-sync with upstream branch master
Upstream commit: cfba5dbb10cc3abde632b46c60c10b2843917035

- Keep expected behaviour for [a-z] and [A-z] (#1607286)
- Additional ucontext tests
- Intel CET enhancements
- ISO C11 threads support
- Fix out-of-bounds access in IBM-1390 converter (swbz#23448)
- New locale Yakut (Sakha) for Russia (sah_RU) (swbz#22241)
- os_RU: Add alternative month names (swbz#23140)
- powerpc64: Always restore TOC on longjmp (swbz#21895)
- dsb_DE locale: Fix syntax error and add tests (swbz#23208)
- Improve performance of the generic strstr implementation
- regcomp: Fix off-by-one bug in build_equiv_class (swbz#23396)
- Fix out of bounds access in findidxwc (swbz#23442)
2018-07-26 11:59:33 +02:00
Florian Weimer
ad93166294 Add Provides: bundled(gnulib) 2018-07-23 14:23:36 +02:00
Carlos O'Donell
092cf93daa Resolves: #1601011
- Fix file list for glibc RPM packaging (#1601011).
2018-07-13 16:10:09 -04:00
Carlos O'Donell
6f4d10f912 Restructure package and subpackage file list generation.
The file list geneation for the main package and subpackages was
unorganized and poorly structured. With this commit we change this
in three siginifcant ways:

* All file lists are built independent of each other from a master
  list of files e.g. rpm.list. This is the important cleanup.

* All files are installed into %{glibc_sysroot}, which defaults
  to $RPM_BUILD_ROOT. This supports future experimentation with
  alternate glibc installs via this new variable.

* Redundant code is removed which is no longer required, like the
  debuginfo list de-duplication; simplifying the install process.

The changes were tested by carrying out a file-by-file comparison
to ensure no file changed packages or installed location after
the patch.
2018-07-12 14:36:33 -04:00
Carlos O'Donell
e4aafbc505 Reorganize %install phase.
The %install phase is reorganized into 3 distinct phases, the
first phase where files are modified, a second phase where file
lists are generated, and a final phase where files are only
removed based on list information.

This cleanup makes it very clear when we are done installing
files, and therefore creates a place where we can put ABI
instrumentation to compare the resulting ABI before stripping
and debuginfo generation.

No ABI instrumentation is added by this patch, and before-and-after
testing verifies the %install phase remains functionally the same.
2018-07-12 14:35:19 -04:00
Florian Weimer
559f435759 Fix typo in comment 2018-07-11 21:32:56 +02:00
Florian Weimer
3bef91d75e Add POWER9 multilib (downstream only) 2018-07-11 15:54:24 +02:00
Florian Weimer
e75713e5c1 Fix typo in LDFLAGS-rtld setting (#1600034) 2018-07-11 13:21:42 +02:00
Florian Weimer
6404b25896 Auto-sync with upstream branch master
Upstream commit: 93304f5f7a32f73b551266c5a181db51d97a71e4

- Install <bits/statx.h> header
- Put the correct Unicode version number 11.0.0 into the generated files
2018-07-11 11:50:51 +02:00
Florian Weimer
6a43999c13 Work around valgrind issue on i686 (#1600034) 2018-07-11 11:50:02 +02:00
Florian Weimer
28cb5d31fc Auto-sync with upstream branch master
Upstream commit: fd70af45528d59a00eb3190ef6706cb299488fcd

- Add the statx function
- regexec: Fix off-by-one bug in weight comparison (#1582229)
- nss_files: Fix re-reading of long lines (swbz#18991)
- aarch64: add HWCAP_ATOMICS to HWCAP_IMPORTANT
- aarch64: Remove HWCAP_CPUID from HWCAP_IMPORTANT
- conform/conformtest.pl: Escape literal braces in regular expressions
- x86: Use AVX_Fast_Unaligned_Load from Zen onwards.
2018-07-10 17:18:22 +02:00