Go to file
Jens Remus e5363e6f46 Use TLS initial-exec model for __libc_tsd_CTYPE_* thread variables [BZ #33234]
Commit 10a66a8e42 ("Remove <libc-tsd.h>") removed the TLS initial-exec
(IE) model attribute from the __libc_tsd_CTYPE_* thread variable declarations
and definitions.  Commit a894f04d87 ("Optimize __libc_tsd_* thread
variable access") restored it on declarations.

Restore the TLS initial-exec model attribute on __libc_tsd_CTYPE_* thread
variable definitions.

This resolves test tst-locale1 failure on s390 32-bit, when using a
GNU linker without the fix from GNU binutils commit aefebe82dc89
("IBM zSystems: Fix offset relative to static TLS").

Reviewed-by: Florian Weimer <fweimer@redhat.com>
2025-08-05 13:06:12 +02:00
ChangeLog.old Create ChangeLog.old/ChangeLog.31 2025-07-28 20:22:55 +02:00
advisories advisories: s/CVE-id/CVE-Id/ (the lowercase i breaks our tooling) 2025-07-26 15:21:27 +02:00
argp argp: Fix shift bug 2025-06-02 13:32:19 -03:00
assert
benchtests Revert "benchtests: Avoid overflow in random memcpy/memset benchmarks" 2025-08-04 17:31:51 +00:00
bits termios: SPEED_MAX and BAUD_MAX constants 2025-07-20 17:17:41 +02:00
catgets
conform linknamespace: Use 'ALLOWLIST' instead of 'WHITELIST' in code. 2025-05-21 12:47:49 -04:00
csu
ctype Use TLS initial-exec model for __libc_tsd_CTYPE_* thread variables [BZ #33234] 2025-08-05 13:06:12 +02:00
debug debug: Only run sframe tests if run-built-tests is enabled 2025-07-25 14:03:23 -03:00
dirent
dlfcn elf: Add SFrame support to _dl_find_object function 2025-07-14 10:56:35 +01:00
elf tst-env-setuid: Delete LD_DEBUG_OUTPUT output 2025-08-04 14:41:29 -07:00
gmon x86: Avoid vector/r16-r31 registers and memcpy/memset in mcount_internal 2025-07-09 05:33:05 +08:00
gnulib
hesiod
htl htl: move __pthread_get_cleanup_stack to libc 2025-07-06 19:56:15 +00:00
hurd hurd: Avoid -Wfree-labels warning in _hurd_intr_rpc_mach_msg 2025-05-28 09:59:24 +02:00
iconv iconv: use bswap_32 instead of __builtin_bswap32 2025-08-05 10:07:18 +02:00
iconvdata
include Bump version number to 2.42 2025-07-28 20:19:17 +02:00
inet inet-fortified: fix namespace violation (bug 33227) 2025-07-29 11:50:29 +01:00
intl
io io/tst-stat.c: Use a temporary directory for symlink test 2025-07-19 12:43:26 -07:00
libio io: replace local_isatty() with a proper function __isatty_nostatus() 2025-06-17 09:11:38 -03:00
locale Always check lockf64 return value 2025-06-16 14:48:45 +08:00
localedata localedata: Correct Persian collation rules description 2025-05-30 15:01:48 +01:00
login termios: make __tcsetattr() the internal interface 2025-06-17 09:11:38 -03:00
mach hurd: Make __getrandom_early_init call __mach_init 2025-06-09 08:34:06 +00:00
malloc Revert "Remove use of __curbrk." 2025-08-04 17:31:56 +00:00
manual manual: Adjust documentation to standardization of select 2025-08-04 11:18:02 -03:00
math math: Update auto-libm-tests-in with ldbl-128ibm compoundn/pown failures 2025-07-28 13:58:54 -03:00
mathvec
misc termios: make __tcsetattr() the internal interface 2025-06-17 09:11:38 -03:00
nis
nptl nptl: Fix SYSCALL_CANCEL for return values larger than INT_MAX (BZ 33245) 2025-08-01 16:57:41 -03:00
nptl_db
nscd
nss Makefile: Avoid $(objpfx)/ in makefiles 2025-06-04 17:44:19 +02:00
po po: Update swedish translations 2025-07-25 19:31:37 +02:00
posix posix: Fix double-free after allocation failure in regcomp (bug 33185) 2025-07-21 21:43:49 +02:00
resolv resolv: Optimize inet_ntop 2025-06-24 13:34:20 -03:00
resource resource/Makefile: Split and sort tests 2025-06-19 13:33:34 +02:00
rt aio_suspend64: Fix clock discrepancy [BZ #32795] 2025-03-25 01:05:11 +01:00
scripts Use Linux 6.16, GCC 15, binutils 2.45 in build-many-glibcs.py 2025-07-29 15:08:43 +00:00
setjmp
signal
socket
soft-fp
stdio-common tst-freopen4-main.c: Call support_capture_subprocess with chroot 2025-08-04 14:41:29 -07:00
stdlib stdlib: resolve a double lock init issue after fork [BZ #32994] 2025-07-31 19:11:08 +02:00
string Remove <libc-tsd.h> 2025-05-16 19:53:09 +02:00
sunrpc Remove <libc-tsd.h> 2025-05-16 19:53:09 +02:00
support Delete temporary files in support_subprocess 2025-08-04 14:41:29 -07:00
sysdeps tst-fopen-threaded.c: Delete temporary file 2025-08-04 14:41:29 -07:00
sysvipc
termios termios: SPEED_MAX and BAUD_MAX constants 2025-07-20 17:17:41 +02:00
time Remove <libc-tsd.h> 2025-05-16 19:53:09 +02:00
timezone timezone: Enhance tst-bz28707 diagnostics 2025-04-10 10:08:30 +02:00
wcsmbs
wctype
.b4-config
.clang-format
.gitattributes
.gitignore
CONTRIBUTED-BY
COPYING
COPYING.LIB
INSTALL INSTALL: Update newest tested binutils version 2025-07-28 16:49:01 +02:00
LICENSES
MAINTAINERS
Makeconfig Makeconfig: The hash character # confuses old make, use $(dir instead of sed 2025-07-22 14:54:24 +02:00
Makefile Makefile: Add ld.so.conf with libgcc dir to testroot.pristine 2025-07-09 15:46:14 +02:00
Makefile.help
Makefile.in math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
Makerules Makerules: Use 'original' instead of 'master' in source. 2025-05-21 12:48:04 -04:00
NEWS NEWS: Add 2.43 section 2025-07-28 20:33:18 +02:00
README
Rules malloc: Fix tests-malloc-largetcache tests 2025-06-17 14:22:49 -03:00
SECURITY.md
SHARED-FILES
abi-tags
aclocal.m4 Disable SFrame support by default 2025-07-24 15:51:58 -03:00
config.h.in Disable SFrame support by default 2025-07-24 15:51:58 -03:00
config.make.in Disable SFrame support by default 2025-07-24 15:51:58 -03:00
configure configure.ac: fix bashisms in SFrame checks 2025-07-28 15:52:11 +02:00
configure.ac configure.ac: fix bashisms in SFrame checks 2025-07-28 15:52:11 +02:00
extra-lib.mk
gen-locales.mk
libc-abis
libof-iterator.mk
o-iterator.mk
shlib-versions
test-skeleton.c
version.h Bump version to 2.42.9000 2025-07-28 20:31:31 +02:00

README

This directory contains the sources of the GNU C Library.
See the file "version.h" for what release version you have.

The GNU C Library is the standard system C library for all GNU systems,
and is an important part of what makes up a GNU system.  It provides the
system API for all programs written in C and C-compatible languages such
as C++ and Objective C; the runtime facilities of other programming
languages use the C library to access the underlying operating system.

In GNU/Linux systems, the C library works with the Linux kernel to
implement the operating system behavior seen by user applications.
In GNU/Hurd systems, it works with a microkernel and Hurd servers.

The GNU C Library implements much of the POSIX.1 functionality in the
GNU/Hurd system, using configurations i[4567]86-*-gnu and x86_64-gnu.

When working with Linux kernels, this version of the GNU C Library
requires Linux kernel version 3.2 or later.

Also note that the shared version of the libgcc_s library must be
installed for the pthread library to work correctly.

The GNU C Library supports these configurations for using Linux kernels:

	aarch64*-*-linux-gnu
	alpha*-*-linux-gnu
	arc*-*-linux-gnu
	arm-*-linux-gnueabi
	csky-*-linux-gnuabiv2
	hppa-*-linux-gnu
	i[4567]86-*-linux-gnu
	x86_64-*-linux-gnu	Can build either x86_64 or x32
	loongarch64-*-linux-gnu Hardware floating point, LE only.
	m68k-*-linux-gnu
	microblaze*-*-linux-gnu
	mips-*-linux-gnu
	mips64-*-linux-gnu
	or1k-*-linux-gnu
	powerpc-*-linux-gnu	Hardware or software floating point, BE only.
	powerpc64*-*-linux-gnu	Big-endian and little-endian.
	s390-*-linux-gnu
	s390x-*-linux-gnu
	riscv32-*-linux-gnu
	riscv64-*-linux-gnu
	sh[34]-*-linux-gnu
	sparc*-*-linux-gnu
	sparc64*-*-linux-gnu

If you are interested in doing a port, please contact the glibc
maintainers; see https://www.gnu.org/software/libc/ for more
information.

See the file INSTALL to find out how to configure, build, and install
the GNU C Library.  You might also consider reading the WWW pages for
the C library at https://www.gnu.org/software/libc/.

The GNU C Library is (almost) completely documented by the Texinfo manual
found in the `manual/' subdirectory.  The manual is still being updated
and contains some known errors and omissions; we regret that we do not
have the resources to work on the manual as much as we would like.  For
corrections to the manual, please file a bug in the `manual' component,
following the bug-reporting instructions below.  Please be sure to check
the manual in the current development sources to see if your problem has
already been corrected.

Please see https://www.gnu.org/software/libc/bugs.html for bug reporting
information.  We are now using the Bugzilla system to track all bug reports.
This web page gives detailed information on how to report bugs properly.

The GNU C Library is free software.  See the file COPYING.LIB for copying
conditions, and LICENSES for notices about a few contributions that require
these additional notices to be distributed.  License copyright years may be
listed using range notation, e.g., 1996-2015, indicating that every year in
the range, inclusive, is a copyrightable year that would otherwise be listed
individually.