Go to file
Joseph Myers e6e2424390 Fix malloc tests build with GCC 10.
GCC mainline has recently added warn_unused_result attributes to some
malloc-like built-in functions, where glibc previously had them in its
headers only for __USE_FORTIFY_LEVEL > 0.  This results in those
attributes being newly in effect for building the glibc testsuite, so
resulting in new warnings that break the build where tests
deliberately call such functions and ignore the result.  Thus patch
duly adds calls to DIAG_* macros around those calls to disable the
warning.

Tested with build-many-glibcs.py for aarch64-linux-gnu.

	* malloc/tst-calloc.c: Include <libc-diag.h>.
	(null_test): Ignore -Wunused-result around calls to calloc.
	* malloc/tst-mallocfork.c: Include <libc-diag.h>.
	(do_test): Ignore -Wunused-result around call to malloc.
2019-06-10 22:12:08 +00:00
argp
assert
benchtests Improve string benchtest timing 2019-05-21 15:19:06 +01:00
bits Linux: Add the tgkill function 2019-05-14 22:55:51 +02:00
catgets
ChangeLog.old
conform
crypt
csu
ctype
debug
dirent
dlfcn dlfcn: Guard __dlerror_main_freeres with __libc_once_get (once) [BZ# 24476] 2019-05-15 23:34:55 +02:00
elf elf: Add tst-ldconfig-bad-aux-cache test [BZ #18093] 2019-05-23 11:49:44 +02:00
gmon
gnulib
grp nss: Turn __nss_database_lookup into a compatibility symbol 2019-05-15 15:07:49 +02:00
gshadow
hesiod
htl
hurd
iconv iconv: Use __twalk_r in __gconv_release_shlib 2019-06-04 14:13:44 +02:00
iconvdata
include Linux: Add getdents64 system call 2019-06-07 09:27:01 +02:00
inet Add INADDR_ALLSNOOPERS_GROUP from Linux 5.1 to netinet/in.h. 2019-06-03 11:16:02 +00:00
intl
io
libio libio: Fix gconv-related memory leak [BZ #24583] 2019-05-21 12:03:54 +02:00
locale
localedata tt_RU: Add lang_name [BZ #24370] 2019-05-28 22:13:32 +02:00
login
mach
malloc Fix malloc tests build with GCC 10. 2019-06-10 22:12:08 +00:00
manual Linux: Add getdents64 system call 2019-06-07 09:27:01 +02:00
math
mathvec
misc
nis nss_nis, nss_nisplus: Remove RES_USE_INET6 handling 2019-05-16 17:23:23 +02:00
nptl nptl: Add comment to __pthread_get_minstack about external users 2019-05-27 12:57:45 +02:00
nptl_db
nscd nss: Turn __nss_database_lookup into a compatibility symbol 2019-05-15 15:07:49 +02:00
nss nss_files: Remove RES_USE_INET6 from hosts processing 2019-05-16 15:11:23 +02:00
po
posix
pwd
resolv nss_dns: Check for proper A/AAAA address alignment 2019-05-24 22:14:04 +02:00
resource
rt
scripts Remove support for PowerPC SPE extension (powerpc*-*-*gnuspe*). 2019-05-22 10:05:40 -04:00
setjmp
shadow
signal Linux: Add the tgkill function 2019-05-14 22:55:51 +02:00
socket
soft-fp
stdio-common
stdlib
string
sunrpc
support support: Expose sbindir as support_sbindir_prefix 2019-05-20 21:15:35 +02:00
sysdeps Linux: Add getdents64 system call 2019-06-07 09:27:01 +02:00
sysvipc
termios
time
timezone
wcsmbs wcsmbs: Fix data race in __wcsmbs_clone_conv [BZ #24584] 2019-05-21 12:04:55 +02:00
wctype
.gitattributes
.gitignore
abi-tags
aclocal.m4
ChangeLog Fix malloc tests build with GCC 10. 2019-06-10 22:12:08 +00:00
config.h.in
config.make.in Make --bindir effective 2019-05-14 11:04:33 -03:00
configure
configure.ac
COPYING
COPYING.LIB
extra-lib.mk
gen-locales.mk
INSTALL
libc-abis
libof-iterator.mk
LICENSES
MAINTAINERS
Makeconfig
Makefile
Makefile.in
Makerules
NEWS Linux: Add getdents64 system call 2019-06-07 09:27:01 +02:00
o-iterator.mk
README
Rules
shlib-versions
test-skeleton.c
version.h

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.

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
	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
	ia64-*-linux-gnu
	m68k-*-linux-gnu
	microblaze*-*-linux-gnu
	mips-*-linux-gnu
	mips64-*-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
	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 http://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 http://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 http://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.