Go to file
H.J. Lu f05638731e
x86: Properly set x86 minimum ISA level [BZ #31883]
Properly set libc_cv_have_x86_isa_level in shell for MINIMUM_X86_ISA_LEVEL
defined as

(__X86_ISA_V1 + __X86_ISA_V2 + __X86_ISA_V3 + __X86_ISA_V4)

Also set __X86_ISA_V2 to 1 for i386 if __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
is defined.  There are no changes in config.h nor in config.make on x86-64.
On i386, -march=x86-64-v2 with GCC generates

 #define MINIMUM_X86_ISA_LEVEL 2

in config.h and

have-x86-isa-level = 2

in config.make.  This fixes BZ #31883.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit 29807a271e)
2024-06-15 11:13:10 +01:00
argp
assert
benchtests
bits socket: Use may_alias on sockaddr structs (bug 19622) 2024-05-27 17:25:13 +02:00
catgets
ChangeLog.old Create ChangeLog.old/ChangeLog.28 2024-01-31 01:34:58 +01:00
conform
csu
ctype
debug
dirent
dlfcn
elf elf: Avoid some free (NULL) calls in _dl_update_slotinfo 2024-06-03 19:05:39 +02:00
gmon
gnulib
hesiod
htl
hurd
iconv
iconvdata iconv: ISO-2022-CN-EXT: fix out-of-bound writes when writing escape sequence (CVE-2024-2961) 2024-04-17 14:05:08 -03:00
include version.h, include/features.h: Bump version to 2.39 2024-01-31 01:29:11 +01:00
inet socket: Use may_alias on sockaddr structs (bug 19622) 2024-05-27 17:25:13 +02:00
intl
io Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-05-28 07:30:07 +02:00
libio
locale
localedata localedata: ssy_ER: Fix syntax error 2024-06-14 19:22:51 +01:00
login login: structs utmp, utmpx, lastlog _TIME_BITS independence (bug 30701) 2024-05-02 13:20:27 +02:00
mach
malloc malloc: New test to check malloc alternate path using memory obstruction 2024-06-10 17:15:32 +02:00
manual misc: Add support for Linux uio.h RWF_NOAPPEND flag 2024-05-29 13:51:32 +02:00
math
mathvec
misc misc: Add support for Linux uio.h RWF_NOAPPEND flag 2024-05-29 13:51:32 +02:00
nis
nptl
nptl_db
nscd nscd: Use time_t for return type of addgetnetgrentX 2024-05-02 19:00:16 +02:00
nss
po po: Update translations 2024-01-31 01:10:02 +01:00
posix Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-05-28 07:30:07 +02:00
resolv Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-05-28 07:30:07 +02:00
resource Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-05-28 07:30:07 +02:00
rt Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-05-28 07:30:07 +02:00
scripts Update advisory format and introduce some automation 2024-01-30 13:58:57 -05:00
setjmp
signal Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-05-28 07:30:07 +02:00
socket Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-05-28 07:30:07 +02:00
soft-fp
stdio-common localedata: Use consistent values for grouping and mon_grouping 2024-01-25 11:41:02 +01:00
stdlib Use gcc __builtin_stdc_* builtins in stdbit.h if possible 2024-03-04 12:56:27 +01:00
string
sunrpc
support Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-05-28 07:30:07 +02:00
sysdeps x86: Properly set x86 minimum ISA level [BZ #31883] 2024-06-15 11:13:10 +01:00
sysvipc Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-05-28 07:30:07 +02:00
termios
time Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-05-28 07:30:07 +02:00
timezone
wcsmbs
wctype
.clang-format
.gitattributes
.gitignore
abi-tags
aclocal.m4
ADVISORIES Replace advisories directory 2024-01-31 02:12:43 +01:00
config.h.in x86: Define MINIMUM_X86_ISA_LEVEL in config.h [BZ #31676] 2024-04-25 13:16:51 +02:00
config.make.in
configure elf: Enable TLS descriptor tests on aarch64 2024-04-01 11:16:32 -07:00
configure.ac elf: Enable TLS descriptor tests on aarch64 2024-04-01 11:16:32 -07:00
CONTRIBUTED-BY
COPYING
COPYING.LIB
extra-lib.mk
gen-locales.mk
INSTALL INSTALL, install.texi: minor updates, regenerate 2024-01-31 00:13:43 +01:00
libc-abis
libof-iterator.mk
LICENSES Relicense IBM portions of resolv/base64.c resolv/res_debug.c. 2024-01-26 13:33:36 -05:00
MAINTAINERS
Makeconfig Force DT_RPATH for --enable-hardcoded-path-in-tests 2024-05-10 04:59:46 -07:00
Makefile Add a test to check for duplicate definitions in the static library 2024-05-04 13:29:48 +01:00
Makefile.help
Makefile.in
Makerules
NEWS NEWS: insert advisories and fixed bugs for 2.39 2024-01-30 22:40:34 +01:00
o-iterator.mk
README
Rules
SECURITY.md
SHARED-FILES
shlib-versions
test-skeleton.c
version.h version.h, include/features.h: Bump version to 2.39 2024-01-31 01:29:11 +01:00

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.