Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
542 commits
Select commit Hold shift + click to select a range
b64d0f0
NEWS: Add new section
akhuettel Jul 21, 2024
4dc22ba
This patch adds larger ulp errors for the log2p1 function.
zimmermann6 Jul 22, 2024
9a27b56
malloc: avoid global locks in tst-aligned_alloc-lib.c
mmartinv Jul 16, 2024
b0fbcb7
malloc: add multi-threaded tests for aligned_alloc/calloc/malloc
mmartinv Jul 16, 2024
691a3b2
resolv: Allow short error responses to match any query (bug 31890)
fweimer-rh Jul 24, 2024
af62598
resolv: Do not wait for non-existing second DNS response after error …
fweimer-rh Jul 24, 2024
95f6161
resolv: Support clearing option flags with a “-” prefix (bug 14799)
fweimer-rh Jul 24, 2024
7653259
resolv: Implement strict-error stub resolver option (bug 27929)
fweimer-rh Jul 24, 2024
90842d3
manual: Do not mention STATIC_TLS in dynamic linker hardening recomme…
fweimer-rh Jul 24, 2024
431c1be
hppa: Update libm-test-ulps
Jul 24, 2024
652c6cf
x86-64: Remove sysdeps/x86_64/x32/dl-machine.h
hjl-tools Jul 23, 2024
8344c1f
x32/cet: Support shadow stack during startup for Linux 6.10
hjl-tools Jul 23, 2024
2295801
s390x: Regenerate ULPs.
stliibm Jul 25, 2024
ff03b5e
riscv: Update ulps
kraj Jul 24, 2024
4e40c81
powerpc: Update ulps for fpu
Jul 24, 2024
fa00661
powerpc: Regenerate ULPs for soft-fp
zatrazz Jul 25, 2024
cfc9b07
aarch64: Regenerate ULPs
zatrazz Jul 25, 2024
cc84f11
arm: Regenerate ULPs
zatrazz Jul 25, 2024
65e267d
i386: Regenerate ULPs
zatrazz Jul 25, 2024
fe94080
sparc: Regenerate ULPs
zatrazz Jul 25, 2024
8c98195
nptl: Use <support/check.h> facilities in tst-setuid3
Jul 26, 2024
fe47595
posix: Use <support/check.h> facilities in tst-truncate and tst-trunc…
Jul 26, 2024
1b97a9f
support: Add FAIL test failure helper
Jul 26, 2024
89cddc8
stdio-common: Add test for vfscanf with matches longer than INT_MAX […
Jul 26, 2024
f6f9047
assert: Mark `__assert_fail` as `cold`
goldsteinn Jul 26, 2024
a57cbbd
malloc: Link threading tests with $(shared-thread-library)
fweimer-rh Jul 27, 2024
32328a5
MIPS: Regenerate ulps
HeliC829 Jul 27, 2024
10de4a4
manual/stdio: Clarify putc and putwc
submachine Jul 29, 2024
aedbf08
manual: make setrlimit() description less ambiguous
bulwahn Jul 29, 2024
faeaa3b
Mitigation for "clone on sparc might fail with -EFAULT for no valid r…
Jul 28, 2024
f7e638f
Use Linux 6.10 in build-many-glibcs.py
zatrazz Jul 16, 2024
eb0776d
Update syscall lists for Linux 6.10
zatrazz Jul 16, 2024
e433cde
Update kernel version to 6.10 in header constant tests
zatrazz Jul 16, 2024
bbb6a74
Add STATX_SUBVOL from Linux 6.10 to bits/statx-generic.h
zatrazz Jul 16, 2024
28f8cee
Add F_DUPFD_QUERY from Linux 6.10 to bits/fcntl-linux.h
zatrazz Jul 16, 2024
f6ba993
stdlib: Allow concurrent exit (BZ 31997)
zatrazz Jul 25, 2024
11ad033
x86_64 hurd: ensure we have a large enough buffer to receive exceptio…
flavioc Jul 30, 2024
e3b0b34
stdlib: Mark `abort` as `cold`
goldsteinn Jul 29, 2024
783d4c0
Enhance test coverage for strnlen, wcsnlen
fweimer-rh Jun 26, 2024
5425239
Enhanced test coverage for strncmp, wcsncmp
fweimer-rh Jun 27, 2024
6c40cb0
linux: Update the mremap C implementation [BZ #31968]
hjl-tools Jul 24, 2024
cb2dee4
mremap: Update manual entry
hjl-tools Jul 24, 2024
ff0320b
Add mremap tests
hjl-tools Jul 24, 2024
ec11997
resolv: Fix tst-resolv-short-response for older GCC (bug 32042)
fweimer-rh Aug 1, 2024
8dc3f4f
hurd: Fix missing pthread_ compat symbol in libc
sthibaul Jul 17, 2024
fb507de
stdlib: Link tst-concurrent-exit with $(shared-thread-library)
fweimer-rh Aug 2, 2024
0df4847
x86: Add missing switch/case fall-through markers to init_cpu_features
fweimer-rh Aug 2, 2024
7a630f7
x86: Tunables may incorrectly set Prefer_PMINUB_for_stringop (bug 32047)
fweimer-rh Aug 2, 2024
1b0a206
iconv: Fix matching of multi-character transliterations (bug 31859)
andreas-schwab Jun 10, 2024
39ca997
Fix name space violation in fortify wrappers (bug 32052)
andreas-schwab Aug 5, 2024
fe06fb3
elf: Clarify and invert second argument of _dl_allocate_tls_init
fweimer-rh Aug 1, 2024
5097cd3
elf: Avoid re-initializing already allocated TLS in dlopen (bug 31717)
fweimer-rh Aug 1, 2024
c6af8a9
stdlib: Allow concurrent quick_exit (BZ 31997)
zatrazz Aug 5, 2024
d7eca27
LoongArch: Update Ulps.
caiyinyu Aug 2, 2024
942670c
manual/stdio: Further clarify putc, putwc, getc, and getwc
submachine Jul 30, 2024
2227195
rtld: Fix handling of '--' option
henke9600 Jul 26, 2024
bd1719a
rtld: Add test case for '--' option
henke9600 Jul 26, 2024
abe06b2
Use binutils 2.43 branch in build-many-glibcs.py
jsm28 Aug 6, 2024
c2a05c9
stdlib: Link tst-concurrent-quick_exit with $(shared-thread-library)
zatrazz Aug 6, 2024
0797283
added inputs giving large errors on x86_64 for new C23 functions
zimmermann6 Jul 25, 2024
d5ce0e9
nss: Fix incorrect switch fall-through in tst-nss-gai-actions
fweimer-rh Aug 7, 2024
3dc426b
AArch64: Improve generic strlen
Wilco1 Aug 7, 2024
79e472f
benchtests: Add random memset benchmark
Wilco1 Aug 7, 2024
be3e285
login: Re-flow and sort multiline Makefile definitions
zatrazz Nov 8, 2023
428c738
sysdeps: Re-flow and sort multiline gnu/Makefile definitions
zatrazz Nov 8, 2023
e2f88d8
aarch64: Regenerate ULPs
zatrazz Aug 7, 2024
d8023eb
arm: Regenerate ULPs
zatrazz Aug 7, 2024
f8aafb5
i386: Regenerate ULPs
zatrazz Aug 7, 2024
1dcc107
sparc: Regenerate ULPs
zatrazz Aug 7, 2024
6411dba
powerpc: Update soft-fp ulps
zatrazz Aug 7, 2024
6396e10
powerpc: Regenerate ULPs for soft-fp
zatrazz Aug 7, 2024
934ba77
nptl: Reorder semaphore release in tst-cancel7
Aug 7, 2024
bea2ad0
nptl: Fix stray process left by tst-cancel7 blocking testing
Aug 7, 2024
bd410d1
s390x: Update ulps
fweimer-rh Aug 8, 2024
2d14f72
elf: Remove struct dl_init_args from elf/dl-open.c
fweimer-rh Aug 8, 2024
9446351
powerpc64le: Update ulps
fweimer-rh Aug 8, 2024
0f39b60
MIPS: Regenerate ULPs
HeliC829 Aug 8, 2024
a0ecbb4
RISC-V: Regenerate ULPs
HeliC829 Aug 8, 2024
d5f1da2
LoongArch: Regenerate ULPs
caiyinyu Aug 8, 2024
5662433
LoongArch: Add cfi instructions for _dl_tlsdesc_dynamic
cloudspurs Jul 5, 2024
4331769
Turn on -Wimplicit-fallthrough by default if available
fweimer-rh Aug 9, 2024
eb0e50e
Define __libc_initial for the static libc
fweimer-rh Aug 9, 2024
c2a474f
support: Add options list terminator to the test driver
fweimer-rh Aug 9, 2024
cf03971
ARC: Regenerate ULPs
pavelvkozlov Aug 9, 2024
0e16db4
manual: Document generic printf error codes
fweimer-rh Aug 13, 2024
2be0572
manual: Document dprintf and vdprintf
fweimer-rh Aug 13, 2024
3f54e45
libio/tst-getdelim: Add new test covering NUL as a delimiter
fberat Aug 13, 2024
207d64f
Test errno setting on strtod overflow in tst-strtod-round
jsm28 Aug 14, 2024
7da0886
x86: Fix bug in strchrnul-evex512 [BZ #32078]
goldsteinn Aug 13, 2024
b93dddf
x86: Use `Avoid_Non_Temporal_Memset` to control non-temporal path
goldsteinn Aug 14, 2024
f446d90
x86: Add `Avoid_STOSB` tunable to allow NT memset without ERMS
goldsteinn Aug 14, 2024
3f7df7e
Make tst-ungetc use libsupport
siddhesh Aug 14, 2024
cdf0f88
ungetc: Fix uninitialized read when putting into unused streams [BZ #…
siddhesh Aug 14, 2024
3e1d8d1
ungetc: Fix backup buffer leak on program exit [BZ #27821]
siddhesh Aug 14, 2024
b22923a
Report error if setaffinity wrapper fails (Bug 32040)
codonell Aug 15, 2024
9fb237a
nptl: Fix extraneous testing run by tst-rseq-nptl in the test driver
Aug 16, 2024
91ae020
support: Remove #include <config.h>
fweimer-rh Aug 16, 2024
34bb581
support: Include <string.h> for strcmp in support_format_addrinfo.c
fweimer-rh Aug 16, 2024
9216905
support: Add the xstatx function
fweimer-rh Aug 16, 2024
bf29274
io: Use struct statx and xstatx in tests
fweimer-rh Aug 16, 2024
e7c14e5
support: Use macros for *stat wrappers
fweimer-rh Aug 16, 2024
25a5eb4
string: strerror, strsignal cannot use buffer after dlmopen (bug 32026)
fweimer-rh Aug 19, 2024
294a892
x86: Unifies 'strnlen-evex' and 'strnlen-evex512' implementations.
sterrettm2 Aug 9, 2024
745c3cc
elf: Make dl-fptr and dl-symaddr hppa specific
zatrazz Jul 31, 2024
2eee835
inet: test if_nametoindex and if_indextoname
djdelorierh Aug 9, 2024
251843e
malloc: Link threading tests with $(shared-thread-library)
sthibaul Aug 20, 2024
734e7f9
Rules: Also build memcheck tests even when not running them
sthibaul Aug 20, 2024
26aca73
inet: Avoid label at end of compound statement in tst-if_nameindex
fweimer-rh Aug 21, 2024
498ba34
Revert "inet: Avoid label at end of compound statement in tst-if_name…
fweimer-rh Aug 21, 2024
7f04bb4
Add more tests of getline
jsm28 Aug 21, 2024
55cd51d
Test mkdirat use of mode argument
jsm28 Aug 22, 2024
89b5307
nptl: Fix Race conditions in pthread cancellation [BZ#12683]
zatrazz Jun 25, 2024
82b5340
powerpc64: Optimize strcpy and stpcpy for Power9/10
BODAPATIMAHESH Aug 23, 2024
f071795
mach: Fix bogus negative return
sthibaul Aug 25, 2024
79f44e1
inet: Avoid label at end of compound statement in tst-if_nameindex
fweimer-rh Aug 26, 2024
34e52ac
support: Report errno constants in TEST_COMPARE failures
fweimer-rh Aug 22, 2024
6b08116
x86: Add new architecture type for Hygon processors
Aug 19, 2024
d14aecb
x86: Add cache information support for Hygon processors
Aug 19, 2024
ca90758
x86: Enable non-temporal memset for Hygon processors
Aug 19, 2024
3de73f9
manual: Add Descriptor-Relative Access section
fweimer-rh Aug 7, 2024
d73ed26
More thoroughly test underflow / errno in tst-strtod-round
jsm28 Aug 27, 2024
457622c
Fix strtod subnormal rounding (bug 30220)
jsm28 Aug 27, 2024
3fc063d
Make __strtod_internal tests type-generic
jsm28 Aug 27, 2024
29f0db6
powerpc64: Fix syscall_cancel build for powerpc64le-linux-gnu [BZ #32…
Aug 30, 2024
424d97b
io: Add error tests for fchmod
fweimer-rh Aug 30, 2024
3844cdc
io: Fix destructive nature of tst-fchmod-errors
fweimer-rh Aug 30, 2024
1927f71
linux: mips: Fix syscall_cancell build for __mips_isa_rev >= 6
zatrazz Aug 29, 2024
96d0bf9
Add support/ code for checking file contents
jsm28 Sep 3, 2024
be77d5a
Improve NaN payload testing
jsm28 Sep 4, 2024
64f62c4
Do not set errno for overflowing NaN payload in strtod/nan (bug 32045)
jsm28 Sep 4, 2024
ae4d44b
libio: Attempt wide backup free only for non-legacy code
siddhesh Sep 3, 2024
ed4bb28
Add more thorough tests of freopen
jsm28 Sep 4, 2024
4945ffc
fgets: more tests
djdelorierh Aug 7, 2024
ed416ee
i386: Update ulps
fweimer-rh Sep 5, 2024
b09a520
Bundle <linux/fuse.h> userspace header from Linux 6.10
fweimer-rh Aug 30, 2024
3b1d321
support: Add <support/xdirent.h>
fweimer-rh Aug 30, 2024
61f2c2e
Linux: readdir_r needs to report getdents failures (bug 32124)
fweimer-rh Aug 30, 2024
f169509
support: Add FUSE-based file system test framework to support/
fweimer-rh Aug 30, 2024
f512634
Clear flags2 flags set from mode in freopen (bug 32134)
jsm28 Sep 5, 2024
9c0d6f7
Fix memory leak on freopen error return (bug 32140)
jsm28 Sep 5, 2024
3e4a018
Test fclose on an unopened file.
aaronmerey Aug 29, 2024
cc3e743
powerpc64le: Build new strtod tests with long double ABI flags (bug 3…
fweimer-rh Sep 5, 2024
e44ca1c
Fix freopen handling of ,ccs= (bug 23675)
jsm28 Sep 5, 2024
a8c4338
i386: Update ulps
fweimer-rh Sep 5, 2024
1b171c9
timezone: sync to TZDB 2024b
zatrazz Sep 5, 2024
6252c59
LoongArch: Fix macro redefined warning in tls-desc.S
cloudspurs Sep 2, 2024
6efd6cd
manual: Safety annotations for clock_gettime, clock_getres
fweimer-rh Sep 6, 2024
7d6e30b
stdlib: Do not use GLIBC_PRIVATE ABI for errno in libc_nonshared.a
fweimer-rh Sep 6, 2024
a2509a8
Document limitations on streams passed to freopen
jsm28 Sep 6, 2024
f4ae345
io: Add tst-lstat-nofollow, tst-lstat-nofollow-time64
fweimer-rh Aug 29, 2024
43669fc
io: Add FUSE-based test for fchmod
fweimer-rh Aug 22, 2024
8b09af5
aarch64: Avoid redundant MOVs in AdvSIMD F32 logs
joeramsay Sep 9, 2024
3fc1d3b
hppa: Update libm-test-ulps
Sep 9, 2024
cec3aef
AArch64: Optimize memset
Wilco1 Sep 9, 2024
5d4ab10
Add a new fwrite test for read-only streams
tuliom Sep 5, 2024
dccc9a5
Add a new fwrite test for memory streams
tuliom Aug 29, 2024
e82a7cb
elf: Fix tst-dlopen-tlsreinit1.out test dependency
fweimer-rh Sep 9, 2024
89b088b
debug: Fix read error handling in pcprofiledump
fweimer-rh Sep 10, 2024
8ecb477
AArch64: Remove memset-reg.h
Wilco1 Sep 10, 2024
298bc48
manual: Extract the @manpageurl{func,sec} macro
fweimer-rh Sep 11, 2024
21571ca
Linux: Add the sched_setattr and sched_getattr functions
fweimer-rh Sep 11, 2024
c444cc1
Linux: Add missing scheduler constants to <sched.h>
fweimer-rh Sep 11, 2024
1251e9e
support: Add <support/readdir.h>
fweimer-rh Sep 12, 2024
c9154ca
support: Fix Hurd build of tst-support_readdir
fweimer-rh Sep 12, 2024
e64a1e8
tst: Extend cross-test-ssh.sh to support passing glibc tunables
yury-khrustalev Sep 9, 2024
4524670
hurd: Avoid file_check_access () RPC for access (F_OK)
bugaevc Sep 19, 2024
751a550
AArch64: Add vector logp1 alias for log1p
joeramsay Sep 19, 2024
422ed8e
iconv: Base tests for buffer management
fweimer-rh Sep 20, 2024
0cb6461
iconv: Do not use mmap in iconv (the program) (bug 17703)
fweimer-rh Sep 20, 2024
00ba299
manual: __is_last is no longer part of iconv internals
fweimer-rh Sep 20, 2024
6cbf845
iconv: Preserve iconv -c error exit on invalid inputs (bug 32046)
fweimer-rh Sep 20, 2024
8ef3cff
iconv: Support in-place conversions (bug 10460, bug 32033)
fweimer-rh Sep 20, 2024
75819cd
iconv: Multiple - on command line should not fail (bug 32050)
fweimer-rh Sep 20, 2024
fa1b0d5
iconv: Input buffering for the iconv program (bug 6050)
fweimer-rh Sep 20, 2024
35dc62d
Add another test for fclose on an unopened file
aaronmerey Sep 19, 2024
83fd414
Test that errno is set to 0 at program startup
aaronmerey Sep 19, 2024
d5a3ca4
Implement run-built-tests=no for make xcheck, always build xtests
fweimer-rh Sep 19, 2024
8de031b
Make tst-strtod2 and tst-strtod5 type-generic
jsm28 Sep 20, 2024
b5d3737
Add more tests of strtod end pointer
jsm28 Sep 20, 2024
378039c
Add tests of more strtod special cases
jsm28 Sep 20, 2024
94ca2c0
Make tst-strtod-underflow type-generic
jsm28 Sep 20, 2024
e0f3bf1
Add freopen special-case tests: chroot, EFBIG, stdin/stdout/stderr
jsm28 Sep 20, 2024
e3db0a6
misc: FUSE-based tests for mkstemp
fweimer-rh Sep 21, 2024
455c762
support: Fix memory leaks in FUSE tests
fweimer-rh Sep 21, 2024
366cce7
support: Add valgrind instructions to <support/fuse.h>
fweimer-rh Sep 21, 2024
4c09aa3
dirent: Add tst-closedir-leaks
fweimer-rh Sep 21, 2024
e927185
Linux: Use readdir64_r for compat __old_readdir64_r (bug 32128)
fweimer-rh Sep 21, 2024
4ec355a
dirent: Add tst-readdir-long
fweimer-rh Sep 21, 2024
6aa1645
dirent: Add tst-rewinddir
fweimer-rh Sep 21, 2024
6f3f6c5
Linux: readdir64_r should not skip d_ino == 0 entries (bug 32126)
fweimer-rh Sep 21, 2024
7b8c134
AArch64: Improve codegen in SVE expf & related routines
joeramsay Sep 23, 2024
a15b139
AArch64: Improve codegen in SVE F32 logs
joeramsay Sep 23, 2024
5bc100b
AArch64: Improve codegen in users of AdvSIMD log1pf helper
joeramsay Sep 23, 2024
7900ac4
AArch64: Improve codegen in users of ADVSIMD expm1f helper
joeramsay Sep 23, 2024
16a5957
AArch64: Simplify rounding-multiply pattern in several AdvSIMD routines
joeramsay Sep 23, 2024
079ebf7
iconv: Use $(run-program-prefix) for running iconv (bug 32197)
fweimer-rh Sep 24, 2024
3ef26b7
misc: Link tst-mkstemp-fuse-parallel with $(shared-thread-library)
fweimer-rh Sep 24, 2024
7e21a65
misc: Enable internal use of memory protection keys
fweimer-rh Sep 24, 2024
8f6a53e
elf: In rtld_setup_main_map, assume ld.so has a DYNAMIC segment
fweimer-rh Sep 24, 2024
bdaf500
elf: Remove version assert in check_match in elf/dl-lookup.c
fweimer-rh Sep 24, 2024
9802c0f
elf: Eliminate alloca in open_verify
fweimer-rh Sep 24, 2024
2abfa19
elf: Move __rtld_malloc_init_stubs call into _dl_start_final
fweimer-rh Sep 24, 2024
da29dc2
nptl: Prefer setresuid32 in tst-setuid2
fweimer-rh Sep 24, 2024
d14c977
Add tests of fread
jsm28 Sep 24, 2024
255dc1e
LoongArch: Undef __NR_fstat and __NR_newfstatat.
caiyinyu Sep 24, 2024
d67a7db
scripts: Remove arceb-linux-gnu from build-many-glibcs.py
fweimer-rh Sep 25, 2024
4ff55d0
arc: Remove HAVE_ARC_BE macro and disable big-endian port
fweimer-rh Sep 25, 2024
cc84cd3
arc: Cleanup arcbe
pavelvkozlov Sep 20, 2024
5f62cf8
Fix missing randomness in __gen_tempname (bug 32214)
andreas-schwab Sep 25, 2024
1d72fa3
stdio-common: Add new test for fdopen
Sep 25, 2024
f47596f
manual: Document that feof and ferror are mutually exclusive
fweimer-rh Sep 27, 2024
a7b5eb8
Update to Unicode 16.0.0 [BZ #32168]
mike-fabian Sep 12, 2024
b300078
Linux: Block signals around _Fork (bug 32215)
fweimer-rh Sep 28, 2024
6948ee4
stdio-common: Fix memory leak in tst-freopen4* tests on UNSUPPORTED
fweimer-rh Sep 28, 2024
483443d
x86/string: Fixup alignment of main loop in str{n}cmp-evex [BZ #32212]
goldsteinn Sep 27, 2024
97aa922
Add a new fwrite test that exercises buffer overflow
tuliom Sep 26, 2024
9dfea3d
libio: Set _vtable_offset before calling _IO_link_in [BZ #32148]
hjl-tools Sep 7, 2024
127cefd
Do not use -Wp to disable fortify (BZ 31928)
zatrazz Sep 10, 2024
3f1932e
Disable _FILE_OFFSET_BITS if the compiler defaults to it
zatrazz Sep 10, 2024
4d8965f
Disable _TIME_BITS if the compiler defaults to it
zatrazz Sep 10, 2024
44fa9c1
math: Improve layout of expf data
Wilco1 Jul 24, 2024
49c3682
linux: sparc: Fix syscall_cancel for LEON
zatrazz Sep 2, 2024
5e8cfc5
linux: sparc: Fix clone for LEON/sparcv8 (BZ 31394)
zatrazz Sep 2, 2024
a36814e
riscv: align .preinit_array (bug 32228)
andreas-schwab Oct 2, 2024
e67f8e6
hurd: Add missing va_end call in fcntl implementation. [BZ #32234]
bhaible Oct 3, 2024
42c810c
Add freopen special-case tests: thread cancellation
jsm28 Oct 7, 2024
cae9944
Fix whitespace related license issues.
codonell Oct 7, 2024
ced745b
stdio-common/Makefile: Fix FAIL: lint-makefiles
hjl-tools Oct 8, 2024
7949f55
S390: Don't use r11 for cu-instructions as used as frame-pointer. [BZ…
stliibm Sep 27, 2024
02b195d
linux: Use GLRO(dl_vdso_gettimeofday) on gettimeofday
zatrazz Sep 4, 2024
55d3310
linux: Use GLRO(dl_vdso_time) on time
zatrazz Sep 4, 2024
d40ac01
stdlib: Make abort/_Exit AS-safe (BZ 26275)
zatrazz Oct 3, 2024
cfb35f5
rt: more clock_nanosleep tests
djdelorierh Sep 18, 2024
1895a35
rt: more clock_nanosleep tests addendum
djdelorierh Oct 8, 2024
0e8738a
Fix header guard in sysdeps/mach/hurd/x86_64/vm_param.h
jsm28 Oct 9, 2024
d17e5d5
Use Linux 6.11 in build-many-glibcs.py
zatrazz Oct 8, 2024
02de16d
Update syscall lists for Linux 6.11
zatrazz Oct 8, 2024
86f0628
Update PIDFD_* constants for Linux 6.11
zatrazz Oct 8, 2024
f6e849f
linux: Add MAP_DROPPABLE from Linux 6.11
zatrazz Oct 8, 2024
934d0bf
Update kernel version to 6.11 in header constant tests
zatrazz Oct 8, 2024
fc650bf
linux: Update stat-generic.h with linux 6.11
zatrazz Oct 8, 2024
5ffc903
misc: Add support for Linux uio.h RWF_ATOMIC flag
zatrazz Oct 8, 2024
e850abd
Add IPPROTO_SMC from Linux 6.11 to netinet/in.h
zatrazz Oct 8, 2024
392b3f0
replace tgammaf by the CORE-MATH implementation
zimmermann6 Oct 8, 2024
83a1cc3
manual: Fix and test @deftypef* function formatting
codonell Oct 9, 2024
2fffaff
LoongArch: Regenerate loongarch/arch-syscall.h by build-many-glibcs.p…
caiyinyu Oct 11, 2024
9d4b451
locale: Fix some spelling typos
jwakely Oct 14, 2024
25efda0
Enable transliteration rules with two input characters in scn_IT [BZ …
mike-fabian Oct 15, 2024
3831635
support: Make support_process_state_wait return the found state
zatrazz Sep 13, 2024
2c1903c
sparc: Fix restartable syscalls (BZ 32173)
zatrazz Sep 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10,379 changes: 10,379 additions & 0 deletions ChangeLog.old/ChangeLog.29

Large diffs are not rendered by default.

536 changes: 277 additions & 259 deletions INSTALL

Large diffs are not rendered by default.

62 changes: 50 additions & 12 deletions Makeconfig
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,8 @@ whole-archive = -Wl,--whole-archive
# Installed name of the startup code.
# The ELF convention is that the startfile is called crt1.o
start-installed-name = crt1.o
# Similar to crt1.o, but without _IO_stdin_used.
start-name-2.0 = crt1-2.0.o
# On systems that do not need a special startfile for statically linked
# binaries, simply set it to the normal name.
ifndef static-start-installed-name
Expand Down Expand Up @@ -537,6 +539,25 @@ else # build-static
endif # build-shared
endif # +link

# Command for linking test programs with crt1.o from glibc 2.0.
+link-2.0-before-inputs = -nostdlib -nostartfiles $(no-pie-ldflag) \
$(sysdep-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F)) \
$(relro-LDFLAGS) $(hashstyle-LDFLAGS) \
$(firstword $(CRT-$(@F)) $(csu-objpfx)$(start-name-2.0)) \
$(+preinit) $(+prector)
+link-2.0-before-libc = -o $@ $(+link-2.0-before-inputs) \
$(filter-out $(addprefix $(csu-objpfx),start.o \
$(start-name-2.0))\
$(+preinit) $(link-extra-libs) \
$(common-objpfx)libc% $(+postinit),$^) \
$(link-extra-libs)
+link-after-libc = $(+postctor) $(+postinit)
define +link-2.0-tests
$(CC) $(+link-2.0-before-libc) $(rtld-tests-LDFLAGS) $(link-libc-tests) \
$(+link-after-libc)
$(call after-link,$@)
endef

# The pretty printer test programs need to be compiled without optimizations
# so they won't confuse gdb. We could use either the 'GCC optimize' pragma
# or the 'optimize' function attribute to achieve this; however, at least on
Expand Down Expand Up @@ -586,10 +607,13 @@ link-libc-rpath-link = -Wl,-rpath-link=$(rpath-link)
# before the expansion of LDLIBS-* variables).

# Tests use -Wl,-rpath instead of -Wl,-rpath-link for
# build-hardcoded-path-in-tests.
# build-hardcoded-path-in-tests. Add -Wl,--disable-new-dtags to force
# DT_RPATH instead of DT_RUNPATH which only applies to DT_NEEDED entries
# in the executable and doesn't applies to DT_NEEDED entries in shared
# libraries which are loaded via DT_NEEDED entries in the executable.
ifeq (yes,$(build-hardcoded-path-in-tests))
link-libc-tests-rpath-link = $(link-libc-rpath)
link-test-modules-rpath-link = $(link-libc-rpath)
link-libc-tests-rpath-link = $(link-libc-rpath) -Wl,--disable-new-dtags
link-test-modules-rpath-link = $(link-libc-rpath) -Wl,--disable-new-dtags
else
link-libc-tests-rpath-link = $(link-libc-rpath-link)
link-test-modules-rpath-link =
Expand Down Expand Up @@ -705,13 +729,15 @@ endif
+prectorS = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtbeginS.o`
+postctorS = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtendS.o`
# Variants of the two previous definitions for statically linking programs.
static-prector = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtbeginT.o`
static-postctor = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtend.o`
ifeq (yes,$(enable-static-pie))
# Static PIE must use PIE variants.
+prectorT = $(+prectorS)
+postctorT = $(+postctorS)
+prectorT = $(if $($(@F)-no-pie),$(static-prector),$(+prectorS))
+postctorT = $(if $($(@F)-no-pie),$(static-postctor),$(+postctorS))
else
+prectorT = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtbeginT.o`
+postctorT = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtend.o`
+prectorT = $(static-prector)
+postctorT =$(static-postctor)
endif
csu-objpfx = $(common-objpfx)csu/
elf-objpfx = $(common-objpfx)elf/
Expand Down Expand Up @@ -742,6 +768,11 @@ run-built-tests = yes
endif
endif

# Whether to build the static math tests
ifndef build-math-static-tests
build-math-static-tests = no
endif

# Whether to stop immediately when a test fails. Nonempty means to
# stop, empty means not to stop.
ifndef stop-on-test-failure
Expand Down Expand Up @@ -857,7 +888,7 @@ host-test-program-cmd = $(host-built-program-cmd)
endif

# Extra flags to pass to GCC.
+gccwarn := -Wall -Wwrite-strings -Wundef
+gccwarn := -Wall -Wwrite-strings -Wundef $(cc-option-wimplicit-fallthrough)
ifeq ($(enable-werror),yes)
+gccwarn += -Werror
endif
Expand All @@ -873,9 +904,10 @@ endif
+math-flags = -frounding-math

# Logically only "libnldbl", "nonlib" and "testsuite" should be using
# -fno-math-errno. However due to GCC bug #88576, only "libm" can use
# -fno-math-errno.
+extra-math-flags = $(if $(filter libm,$(in-module)),-fno-math-errno,-fmath-errno)
# -fno-math-errno. However due to GCC bug #88576, only "libm" and
# "libmvec" can use -fno-math-errno.
+extra-math-flags = $(if $(filter libmvec libm,$(in-module)),\
-fno-math-errno,-fmath-errno)

# Use 64 bit time_t support for installed programs
installed-modules = nonlib nscd ldconfig locale_programs \
Expand Down Expand Up @@ -979,6 +1011,12 @@ else
+cflags += $(no-fortify-source)
endif

# Filter out LFS flags if compiler defines it by default.
+cflags += $(no-file-offset-bits-source)

# Filter out 64 bit time_t flags if compiler defines it by default.
+cflags += $(no-time-bits-source)

# Each sysdeps directory can contain header files that both will be
# used to compile and will be installed. Each can also contain an
# include/ subdirectory, whose header files will be used to compile
Expand Down Expand Up @@ -1233,7 +1271,7 @@ $(common-objpfx)dl-tunable-list.stmp: \
$(..)elf/dl-tunables.list \
$(wildcard $(subdirs:%=$(..)%/dl-tunables.list)) \
$(wildcard $(sysdirs:%=%/dl-tunables.list))
$(AWK) -f $^ > ${@:stmp=T}
LC_ALL=C $(AWK) -f $^ > ${@:stmp=T}
$(move-if-change) ${@:stmp=T} ${@:stmp=h}
touch $@

Expand Down
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,14 @@ $(objpfx)lint-makefiles.out: scripts/lint-makefiles.sh
$(SHELL) $< "$(PYTHON)" `pwd` > $@ ; \
$(evaluate-test)

# Link libc.a as a whole to verify that it does not contain multiple
# definitions of any symbols.
tests-special += $(objpfx)link-static-libc.out
$(objpfx)link-static-libc.out:
$(LINK.o) $(whole-archive) -nostdlib -nostartfiles -r \
$(objpfx)libc.a -o /dev/null > $@ 2>&1; \
$(evaluate-test)

# Print test summary for tests in $1 .sum file;
# $2 is optional test identifier.
# Fail if there are unexpected failures in the test results.
Expand Down Expand Up @@ -737,7 +745,7 @@ endif
INSTALL: manual/install-plain.texi manual/macros.texi \
$(common-objpfx)manual/pkgvers.texi manual/install.texi
makeinfo --no-validate --plaintext --no-number-sections \
-I$(common-objpfx)manual $< -o $@-tmp
--disable-encoding -I$(common-objpfx)manual $< -o $@-tmp
$(AWK) 'NF == 0 { ++n; next } \
NF != 0 { while (n-- > 0) print ""; n = 0; print }' \
< $@-tmp > $@-tmp2
Expand Down
4 changes: 4 additions & 0 deletions Makefile.help
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ test
Note that this will rebuild the test if needed, but will not
rebuild what "make all" would have rebuilt.

build-math-static-tests
Enable extra math tests for static linking. Use like this:
make test t=math/test-float-exp10-static build-math-static-tests=yes

--
Other useful hints:

Expand Down
Loading