Commit Graph

1374 Commits

Author SHA1 Message Date
DJ Delorie
61f15e90bc Auto-sync with upstream branch master
Upstream commit: 1a6566094d3097f4a3037ab5555cddc6cb11c3a3

- alpha: force old OSF1 syscalls for getegid, geteuid and getppid [BZ #24986]
- Fix http: URL in 'configure'
- Regenerate charmap-kw.h, locfile-kw.h
- Fix three GNU license URLs, along with trailing-newline issues.
- Prefer https to http for gnu.org and fsf.org URLs
2019-09-16 14:47:26 -04:00
Patsy Franklin
6129ad64d4 Auto-sync with upstream branch master
Upstream commit: 1b7f04070bd94f259e2ed24d6fb76309d64fb164.

- locale: Avoid zero-length array in _nl_category_names [BZ #24962]
- math: Replace const attribute with pure in totalorder* functions
- y2038: Introduce the __ASSUME_TIME64_SYSCALLS define
- Finish move of clock_* functions to libc. [BZ #24959]
- Update Alpha libm-test-ulps
- localedef: Use initializer for flexible array member [BZ #24950]
- Add misc/tst-mntent-autofs, testing autofs "ignore" filtering
- Use autofs "ignore" mount hint in getmntent_r/getmntent
- hurd: Fix build
- Use generic memset/memcpy/memmove in benchtests
- nptl: Move pthread_attr_getinheritsched implementation into libc
- hurd: Fix SS_ONSTACK support
- hurd: Remove optimizing anonymous maps as __vm_allocate.
- hurd: Fix poll and select POSIX compliancy details about errors
- hurd: Fix timeout handling in _hurd_select
- hurd getcwd: Allow unknown root directory
- hurd: Fix implementation of setitimer.
- hurd: Fix _hurd_select for single fd sets
- MIPS support for GNU hash
- sh: Split BE/LE abilist
- microblaze: Split BE/LE abilist
- arm: Split BE/LE abilist
- Correct the spelling of more contributors
- Fix posix/tst-regex by using UTF-8 and own test input
- [powerpc] fegetenv_status: simplify instruction generation
- [powerpc] fesetenv: optimize FPSCR access
- [powerpc] SET_RESTORE_ROUND improvements
- [powerpc] fe{en,dis}ableexcept, fesetmode: optimize FPSCR accesses
- [powerpc] fe{en,dis}ableexcept optimize bit translations
- misc: Use allocate_once in getmntent
- nptl: Move pthread_attr_setdetachstate implementation into libc
- login: pututxline could fail to overwrite existing entries [BZ #24902]
- Fix posix/tst-regex by using a dedicated input-file.
2019-09-06 07:38:07 -04:00
DJ Delorie
1fa217076e Move makedb from glibc-common to nss_db (#1704334)
The makedb program is only used to make databases for the nss_db
module, so it makes sense to only install them together.
2019-08-27 15:07:36 -04:00
DJ Delorie
5846004b81 Auto-sync with upstream branch master
Upstream commit: 1bced8cadc82077f0201801239e89eb24b68e9aa

- Don't put non-ASCII into installed headers
- Fix spellings of contributor names in comments and doc
- [MIPS] Raise highest supported EI_ABIVERSION value [SWBZ #24916]
- mips: Force RWX stack for hard-float builds that can run on pre-4.8 kernels
- linux: Make profil_counter a compat_symbol (SWBZ#17726)
- Refactor sigcontextinfo.h
- Add RTLD_SINGLE_THREAD_P on generic single-thread.h
- Chinese locales: Set first_weekday to 2 (swbug 24682).
- powerpc: Fix typos and field name in comments
- Mark IDN tests unsupported with libidn2 before 2.0.5.
- Document strftime %Ob and %OB as C2X features.
- Remove dead regex code
- Fix bad pointer / leak in regex code
- Don't use the argument to time.
- Add tgmath.h macros for narrowing functions.
- Update i386 libm-test-ulps
2019-08-26 14:24:15 -04:00
Carlos O'Donell
7e6e06c36d Auto-sync with upstream branch master
Upstream commit: d34d4c80226b3f5a1b51a8e5b005a52fba07d7ba

- Merge upstream nsswitch.conf and nscd.conf updates.
- Do not print backtraces on fatal glibc errors.
- elf: Self-dlopen failure with explict loader invocation (swbz#24900)
- login: Add nonstring attributes to struct utmp, struct utmpx (swbz#24899)
- login: Use struct flock64 in utmp (swbz#24880)
- login: Disarm timer after utmp lock acquisition (swbz#24879)
2019-08-20 17:03:01 -04:00
Carlos O'Donell
72195d4485 locale: Fix C.UTF-8 ranges.
The ellipsis range support only allows <Uxxxx> or <Uxxxxxxxx> as
valid unicode code points, otherwise it treats it as a symbol and
since we don't define the symbol the entire range is unused.
2019-08-16 10:07:58 -04:00
Florian Weimer
76ac51ab78 Auto-sync with upstream branch master
Upstream commit: 341da5b4b6253de9a7581a066f33f89cacb44dec
2019-08-15 10:37:59 +02:00
Florian Weimer
293db26d85 Fix changelog version 2019-08-02 14:24:18 +02:00
Florian Weimer
525a40ce11 Lower the release number to 1 2019-08-02 14:23:17 +02:00
Florian Weimer
1ff5b17afe Auto-sync with upstream branch release/2.30/master
Upstream commit: be9a328c93834648e0bec106a1f86357d1a8c7e1

- malloc: Remove unwanted leading whitespace in malloc_info (swbz#24867)
- glibc 2.30 release
- iconv: Revert steps array reference counting changes (#1734680)
- Restore r31 setting in powerpc32 swapcontext
2019-08-02 14:16:34 +02:00
Florian Weimer
a4d24cbe45 Fix memory leak in iconv_open (#1734680) 2019-07-31 11:53:38 +02:00
Florian Weimer
b3c6eb0e4c Auto-sync with upstream branch master
Upstream commit: 8a814e20d443adc460a1030fa1a66aa9ae817483

- Drop glibc-rh1732406.patch, fix for the regression applied upstream.
- nptl: Use uintptr_t for address diagnostic in nptl/tst-pthread-getattr
- Linux: Move getdents64 to <dirent.h>
- test-container: Install with $(sorted-subdirs) (swbz#24794)
- gconv: Check reference count in __gconv_release_cache (#1732406)
- x86-64: Compile branred.c with -mprefer-vector-width=128 (swbz#24603)
- build-many-glibcs.py: Use Linux 5.2 by default
- Linux: Use in-tree copy of SO_ constants for !__USE_MISC (swbz#24532)
- test-container: Avoid copying unintended system libraries
2019-07-30 11:05:22 +02:00
Fedora Release Engineering
6144405435 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 03:41:31 +00:00
Florian Weimer
c96359dd1c Revert libio change that causes crashes (#1732406) 2019-07-23 12:14:15 +02:00
DJ Delorie
8797f87802 Auto-sync with upstream branch master
Upstream commit: dcf36bcad3f283f77893d3b157ef7bb2c99419f2

- Add NEWS entry about the new AArch64 IFUNC resolver call ABI
- locale/C-translit.h.in: Cyrillic -> ASCII transliteration [BZ #2872]
- Linux: Update syscall-names.list to Linux 5.2
2019-07-22 14:06:01 -04:00
DJ Delorie
5f0fe918a5 Auto-sync with upstream branch master
Upstream commit: 3556658c5b8765480711b265abc901c67d5fc060

- Regenerate po/libc.pot for 2.30 release.
- nptl: Add POSIX-proposed _clock functions to hppa pthread.h
- nptl: Remove unnecessary forwarding of pthread_cond_clockwait from libc
- Afar locales: Months and days updated from CLDR (bug 21897).
- nl_BE locale: Use "copy "nl_NL"" in LC_NAME (bug 23996).
- nl_BE and nl_NL locales: Dutch salutations (bug 23996).
- ga_IE and en_IE locales: Revert first_weekday removal (bug 24200).
- nptl: Remove futex_supports_exact_relative_timeouts
- Update NEWS for new _clockwait and _clocklock functions
- nptl: Add POSIX-proposed pthread_mutex_clocklock
- nptl: Rename lll_timedlock to lll_clocklock and add clockid parameter
- nptl: Add POSIX-proposed pthread_rwlock_clockrdlock & pthread_rwlock_clockwrlock
- nptl: pthread_rwlock: Move timeout validation into _full functions
- nptl: Add POSIX-proposed pthread_cond_clockwait
- nptl: Add POSIX-proposed sem_clockwait
- nptl: Add clockid parameter to futex timed wait calls
- posix: Fix large mmap64 offset for mips64n32 (BZ#24699)
- nss_db: fix endent wrt NULL mappings [BZ #24695] [BZ #24696]
2019-07-18 15:15:24 -04:00
Carlos O'Donell
c098079671 Auto-sync with upstream branch master
Upstream commit: 30ba0375464f34e4bf8129f3d3dc14d0c09add17

- Don't declare __malloc_check_init in <malloc.h> (bug 23352)
- nftw: fill in stat buf for dangling links [BZ #23501]
- dl-vdso: Add LINUX_4 HASH CODE to support nds32 vdso mechanism
- riscv: restore ABI compatibility (bug 24484)
- aarch64: new ifunc resolver ABI
- nptl: Remove vfork IFUNC-based forwarder from libpthread [BZ #20188]
- malloc: Add nptl, htl dependency for the subdirectory [BZ #24757]
- Call _dl_open_check after relocation [BZ #24259]
- Linux: Use mmap instead of malloc in dirent/tst-getdents64
- ld.so: Support moving versioned symbols between sonames [BZ #24741]
- io: Remove copy_file_range emulation [BZ #24744]
- Linux: Adjust gedents64 buffer size to int range [BZ #24740]
- powerpc: Use generic e_expf
- Linux: Add nds32 specific syscalls to syscall-names.list
- szl_PL locale: Fix a typo in the previous commit (bug 24652).
2019-07-10 12:49:03 -04:00
DJ Delorie
4a003b4922 Auto-sync with upstream branch master
Upstream commit: 2bd81b60d6ffdf7e0d22006d69f4b812b1c80513.

- szl_PL locale: Spelling corrections (swbz 24652).
- nl_{AW,NL}: Correct the thousands separator and grouping (swbz 23831).
- Add missing VDSO_{NAME,HASH}_* macros and use them for PREPARE_VERSION_KNOWN
- nptl: Convert various tests to use libsupport
- support: Invent verbose_printf macro
- support: Add xclock_now helper function.
2019-06-24 15:59:37 -04:00
Carlos O'Donell
ca11f82b69 Revert glibc-fedora-memalign.patch addition.
The patch has been removed and will be added back once F31 branches.
No official build happened so we can just remove the NEVRA usage.
2019-06-24 10:59:03 -04:00
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