Go to file
Xi Ruoyao 4a32b39bb1 nptl: Drop IS_IN (libpthread) around hidden_proto (__pthread_rwlock_unlock)
Now libpthread is a dummy library and it no longer contains
__pthread_rwlock_unlock at all, thus IS_IN (libpthread) does not make
sense here.

It seems an left over from commit eb29dcde31 ("nptl: Move rwlock
functions with forwarders into libc") and it caused libc.so to export an
unversioned __pthread_rwlock_unlock on Linux ports introduced after the
2.34 release (loongarch and or1k) but the symbol is not ever supposed to
be exported on those new ports.  Only since the commit 3b2b88ccee
("elf: early conversion of elf p_flags to mprotect flags") the header
dependency change happened to pull in libc-lockP.h which sets
hidden_proto (__pthread_rwlock_unlock) correctly, the symbol is no
longer exported, breaking the ABI on those ports.

Remove this #if as a clean up and to prevent such a mess from happening
again.

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
2025-09-01 09:07:35 +08: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
benchtests added benchmark inputs for rsqrtf and rsqrt 2025-08-27 08:28:28 +02:00
bits
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
dirent
dlfcn
elf elf: early conversion of elf p_flags to mprotect flags 2025-08-27 10:45:45 -03:00
gmon
gnulib
hesiod
htl htl: move sem_unlink into libc. 2025-08-18 01:06:41 +02:00
hurd htl: move sem_{clockwait, timedwait, wait, trywait} into libc. 2025-08-18 01:06:38 +02:00
iconv iconv: Fix iconv functions not following symlinks [BZ #32339] 2025-08-05 14:15:33 -03:00
iconvdata
include elf: early conversion of elf p_flags to mprotect flags 2025-08-27 10:45:45 -03:00
inet inet-fortified: fix namespace violation (bug 33227) 2025-07-29 11:50:29 +01:00
intl
io
libio libio: Properly link in libio functions in static binaries 2025-08-22 12:03:00 -07:00
locale
localedata stdio-common: Reject insufficient character data in scanf [BZ #12701] 2025-08-23 01:02:46 +01:00
login login: fix ut_line comparison logic 2025-08-29 14:49:19 -04:00
mach
malloc malloc: add tst-mxfast to hugetlb exclusion list 2025-08-29 13:22:19 -04:00
manual manual: Refer to libc-alpha instead of a dead mailing list. 2025-08-25 16:45:42 -07:00
math math: Update auto-libm-tests-in with ldbl-128ibm compoundn/pown failures 2025-07-28 13:58:54 -03:00
mathvec
misc
nis
nptl elf: early conversion of elf p_flags to mprotect flags 2025-08-27 10:45:45 -03:00
nptl_db
nscd
nss
po po: Update swedish translations 2025-07-25 19:31:37 +02:00
posix
resolv
resource
rt
scripts LoongArch: Fix build failure for loongarch64-linux-gnusf toolchain. [BZ #32776] 2025-08-13 15:29:16 +08:00
setjmp
signal
socket
soft-fp
stdio-common stdio-common: Convert macros across scanf input specifier tests 2025-08-23 01:02:46 +01:00
stdlib stdlib: resolve a double lock init issue after fork [BZ #32994] 2025-07-31 19:11:08 +02:00
string
sunrpc
support elf: early conversion of elf p_flags to mprotect flags 2025-08-27 10:45:45 -03:00
sysdeps nptl: Drop IS_IN (libpthread) around hidden_proto (__pthread_rwlock_unlock) 2025-09-01 09:07:35 +08:00
sysvipc
termios
time
timezone
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 Filter machine compiler flags into Assembler Flags 2025-08-07 02:02:17 -05:00
Makefile
Makefile.help
Makefile.in Remove test-have-mamx-tile from Makefile.in 2025-08-23 15:58:00 -07:00
Makerules
NEWS manual: Refer to libc-alpha instead of a dead mailing list. 2025-08-25 16:45:42 -07:00
README
Rules
SECURITY.md
SHARED-FILES
abi-tags
aclocal.m4 x86: Set have-protected-data to no if unsupported 2025-08-22 17:55:32 -07:00
config.h.in
config.make.in
configure Don't pass -c to LIBC_TRY_TEST_CC_OPTION 2025-08-23 15:59:42 -07:00
configure.ac Don't pass -c to LIBC_TRY_TEST_CC_OPTION 2025-08-23 15:59:42 -07: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.