Go to file
Adhemerval Zanella c6278687d9 nptl: Fix Wincompatible-pointer-types on clang
clang 18 issues:

pthread_join_common.c:32:3: error: incompatible pointer types passing 'struct pthread **' to parameter of type 'void **' [-Werror,-Wincompatible-pointer-types]
   32 |   atomic_compare_exchange_weak_acquire (&arg, &self, NULL);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/atomic.h:188:39: note: expanded from macro 'atomic_compare_exchange_weak_acquire'
  188 |   __atomic_compare_exchange_n ((mem), (expected), (desired), 1,

Use a void * type instead.

Reviewed-by: Sam James <sam@gentoo.org>
2025-10-21 09:24:06 -03: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
assert assert: Refactor assert/assert_perror 2025-09-23 10:29:24 -03:00
benchtests benchtests: Improve fmod benchmark 2025-10-08 10:42:22 -03:00
bits Add once_flag, ONCE_FLAG_INIT and call_once to stdlib.h for C23 2025-10-01 15:15:15 +00:00
catgets
conform
csu
ctype Use TLS initial-exec model for __libc_tsd_CTYPE_* thread variables [BZ #33234] 2025-08-05 13:06:12 +02:00
debug Implement C23 memset_explicit (bug 32378) 2025-10-01 15:14:09 +00:00
dirent
dlfcn
elf Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
gmon
gnulib
hesiod
htl htl: move sem_unlink into libc. 2025-08-18 01:06:41 +02:00
hurd Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
iconv Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
iconvdata Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
include Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
inet inet-fortified: fix namespace violation (bug 33227) 2025-07-29 11:50:29 +01:00
intl
io Tests: Create files with mode 0666, not 0777 (bug 33171) 2025-09-01 15:12:28 +02:00
libio libio: Add terminating NUL when the first character is EOF in getdelim [BZ #28038] 2025-10-09 17:38:01 -07:00
locale Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
localedata tests-mbwc/tst_funcs.h: Fix typo 2025-10-01 14:49:10 -03:00
login login: fix ut_line comparison logic 2025-08-29 14:49:19 -04:00
mach
malloc Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
manual Implement C23 memalignment 2025-10-17 16:56:59 +00:00
math math: Use binary search on lgammaf slow path 2025-10-14 11:12:08 -03:00
mathvec
misc atomics: Remove unused atomics 2025-09-10 09:18:06 +00:00
nis Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
nptl nptl: Fix Wincompatible-pointer-types on clang 2025-10-21 09:24:06 -03:00
nptl_db Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
nscd atomic: Remove atomic_forced_read 2025-10-08 12:59:30 +00:00
nss Alphabetize nss/Makefile 2025-10-09 09:50:27 +02:00
po po: Update swedish translations 2025-07-25 19:31:37 +02:00
posix Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
resolv Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
resource
rt
scripts Use Linux 6.17 in build-many-glibcs.py 2025-10-01 15:15:43 +00:00
setjmp
signal
socket
soft-fp
stdio-common Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
stdlib Adjust stdint for clang-20 2025-10-20 11:33:54 -03:00
string Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
sunrpc Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
support support: Add support_accept_oom to heuristically support OOM errors 2025-09-18 19:11:38 +02:00
sysdeps Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
sysvipc
termios termios: SPEED_MAX and BAUD_MAX constants 2025-07-20 17:17:41 +02:00
time
timezone configure: Use -Wno-maybe-uninitialized iff compiler supports it 2025-10-21 09:24:03 -03: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 Build glibc with -ftrapping-math 2025-10-20 11:33:54 -03:00
Makefile
Makefile.help
Makefile.in Remove test-have-mamx-tile from Makefile.in 2025-08-23 15:58:00 -07:00
Makerules
NEWS Implement C23 memalignment 2025-10-17 16:56:59 +00:00
README
Rules
SECURITY.md
SHARED-FILES SHARED-FILES: Adjust core-math entries 2025-09-11 14:46:07 -03:00
abi-tags
aclocal.m4 x86: Set have-protected-data to no if unsupported 2025-08-22 17:55:32 -07:00
config.h.in hurd: implement RLIMIT_AS against Mach RPCs 2025-09-22 00:52:37 +02:00
config.make.in Disable SFrame support by default 2025-07-24 15:51:58 -03:00
configure configure: Use -Wno-maybe-uninitialized iff compiler supports it 2025-10-21 09:24:03 -03:00
configure.ac configure: Use -Wno-maybe-uninitialized iff compiler supports it 2025-10-21 09:24:03 -03: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.