Go to file
Nick Alcock bc174f20b8 Ignore __stack_chk_fail* in the rtld mapfile computation [BZ #7065]
The previous commit prevented rtld itself from being built with
-fstack-protector, but this is not quite enough.  We identify which
objects belong in rtld via a test link and analysis of the resulting
mapfile.  That link is necessarily done against objects that are
stack-protected, so drags in __stack_chk_fail_local, __stack_chk_fail,
and all the libc and libio code they use.

To stop this happening, use --defsym in the test librtld.map-production
link to force the linker to predefine these two symbols (to 0, but it
could be to anything).  (In a real link, this would of course be
catastrophic, but these object files are never used for anything else.)
2016-12-26 10:08:51 +01:00
argp Installed-header hygiene (BZ#20366): Simple self-contained fixes. 2016-09-23 08:43:55 -04:00
assert assert.h: allow gcc to detect assert(a = 1) errors 2016-12-18 01:30:51 -08:00
benchtests Add configure check for python program 2016-12-22 23:07:52 +05:30
bits Refactor long double information into bits/long-double.h. 2016-12-14 18:27:56 +00:00
catgets
conform Enable linknamespace testing for libdl and libcrypt. 2016-11-16 22:47:57 +00:00
crypt New string function explicit_bzero (from OpenBSD). 2016-12-16 16:21:54 -05:00
csu Disable stack protector in early static initialization [BZ #7065] 2016-12-26 10:08:45 +01:00
ctype
debug New string function explicit_bzero (from OpenBSD). 2016-12-16 16:21:54 -05:00
dirent support: Introduce new subdirectory for test infrastructure 2016-12-09 08:18:27 +01:00
dlfcn support: Introduce new subdirectory for test infrastructure 2016-12-09 08:18:27 +01:00
elf Ignore __stack_chk_fail* in the rtld mapfile computation [BZ #7065] 2016-12-26 10:08:51 +01:00
gmon Installed-header hygiene (BZ#20366): obsolete BSD u_* types. 2016-09-23 08:43:56 -04:00
gnulib
grp
gshadow
hesiod
hurd hurd: fix using hurd.h in C++ programs 2016-12-04 23:18:32 +01:00
iconv gconv.h: fix build with GCC 7 2016-11-06 21:33:10 +01:00
iconvdata gconv: Adjust GBK to support the Euro sign 2016-11-29 18:35:21 +01:00
include Do not stack-protect ifunc resolvers [BZ #7065] 2016-12-26 10:08:41 +01:00
inet inet: Make IN6_IS_ADDR_UNSPECIFIED etc. usable with POSIX [BZ #16421] 2016-12-09 11:27:44 +01:00
intl hurd: fix pathconf visibility 2016-09-18 23:45:12 +02:00
io support: Introduce new subdirectory for test infrastructure 2016-12-09 08:18:27 +01:00
libidn
libio support: Introduce new subdirectory for test infrastructure 2016-12-09 08:18:27 +01:00
locale Bug 20729: Include libc-internal.h where required. 2016-10-31 16:46:57 -04:00
localedata localedata: GBK: add mapping for 0x80->Euro sign [BZ #20864] 2016-11-26 17:20:22 -05:00
login
mach Fix old-style function definition 2016-09-20 23:10:51 +02:00
malloc support: Introduce new subdirectory for test infrastructure 2016-12-09 08:18:27 +01:00
manual Configure support for --enable-stack-protector [BZ #7065] 2016-12-26 10:08:19 +01:00
math Add roundeven, roundevenf, roundevenl. 2016-12-21 01:48:27 +00:00
mathvec
misc Disable stack protector in early static initialization [BZ #7065] 2016-12-26 10:08:45 +01:00
nis Fix nss_nisplus build with mainline GCC (bug 20978). 2016-12-21 23:44:01 +00:00
nptl Initialize the stack guard earlier when linking statically [BZ #7065] 2016-12-26 10:08:34 +01:00
nptl_db Remove cached PID/TID in clone 2016-11-24 19:38:51 -02:00
nscd Fix incorrect double-checked locking related to _res_hconf.initialized. 2016-08-18 20:53:37 +02:00
nss Add deferred cancellation regression test for getpwuid_r. 2016-12-23 13:39:23 -05:00
po
posix support: Introduce new subdirectory for test infrastructure 2016-12-09 08:18:27 +01:00
pwd
resolv Bug 20729: Fix build failures on ppc64 and other arches. 2016-11-02 13:01:36 -04:00
resource
rt support: Introduce new subdirectory for test infrastructure 2016-12-09 08:18:27 +01:00
scripts scripts/test_printers_common.py: Log GDB error message 2016-12-23 15:13:28 +01:00
setjmp
shadow
signal Installed-header hygiene (BZ#20366): time.h types. 2016-09-23 08:43:56 -04:00
socket Installed-header hygiene (BZ#20366): conditionally defined structures. 2016-09-23 08:43:56 -04:00
soft-fp [soft-fp] Add support for various half-precision conversion routines. 2016-09-21 21:02:54 +00:00
stdio-common Fix crypt snprintf namespace (bug 20829). 2016-11-16 22:46:48 +00:00
stdlib Refactor long double information into bits/long-double.h. 2016-12-14 18:27:56 +00:00
streams
string Disable stack protector in early static initialization [BZ #7065] 2016-12-26 10:08:45 +01:00
sunrpc Fix build-and-build-again bug in sunrpc tests. 2016-11-14 14:25:11 -05:00
support Fix assertion failure on test timeout 2016-12-15 17:25:12 +01:00
sysdeps Compile the dynamic linker without stack protection [BZ #7065] 2016-12-26 10:08:48 +01:00
sysvipc Installed-header hygiene (BZ#20366): time.h types. 2016-09-23 08:43:56 -04:00
termios
time support: Introduce new subdirectory for test infrastructure 2016-12-09 08:18:27 +01:00
timezone
wcsmbs Add tst-wcstod-round 2016-08-19 11:17:07 -05:00
wctype
.gitattributes
.gitignore
abi-tags
aclocal.m4
BUGS
ChangeLog Ignore __stack_chk_fail* in the rtld mapfile computation [BZ #7065] 2016-12-26 10:08:51 +01:00
ChangeLog.1
ChangeLog.2
ChangeLog.3
ChangeLog.4
ChangeLog.5
ChangeLog.6
ChangeLog.7
ChangeLog.8
ChangeLog.9
ChangeLog.10
ChangeLog.11
ChangeLog.12
ChangeLog.13
ChangeLog.14
ChangeLog.15
ChangeLog.16
ChangeLog.17
ChangeLog.old-ports
ChangeLog.old-ports-aarch64
ChangeLog.old-ports-aix
ChangeLog.old-ports-alpha
ChangeLog.old-ports-am33
ChangeLog.old-ports-arm
ChangeLog.old-ports-cris
ChangeLog.old-ports-hppa
ChangeLog.old-ports-ia64
ChangeLog.old-ports-linux-generic
ChangeLog.old-ports-m68k
ChangeLog.old-ports-microblaze
ChangeLog.old-ports-mips
ChangeLog.old-ports-powerpc
ChangeLog.old-ports-tile
config.h.in Do not stack-protect ifunc resolvers [BZ #7065] 2016-12-26 10:08:41 +01:00
config.make.in Disable stack protector in early static initialization [BZ #7065] 2016-12-26 10:08:45 +01:00
configure Do not stack-protect ifunc resolvers [BZ #7065] 2016-12-26 10:08:41 +01:00
configure.ac Do not stack-protect ifunc resolvers [BZ #7065] 2016-12-26 10:08:41 +01:00
CONFORMANCE
COPYING
COPYING.LIB
cppflags-iterator.mk
extra-lib.mk support: Introduce new subdirectory for test infrastructure 2016-12-09 08:18:27 +01:00
extra-modules.mk
gen-locales.mk
INSTALL Configure support for --enable-stack-protector [BZ #7065] 2016-12-26 10:08:19 +01:00
libc-abis
LICENSES
Makeconfig Expose linking against libsupport as make dependency 2016-12-13 07:58:41 +01:00
Makefile Installed header hygiene (BZ#20366): Test of installed headers. 2016-09-23 08:43:56 -04:00
Makefile.in
Makerules Install libm.a as linker script (bug 20539). 2016-12-08 17:25:59 +03:00
NAMESPACE
NEWS Update NEWS feature test macro description of TS 18661-1 support. 2016-12-22 00:04:58 +00:00
o-iterator.mk
README
README.pretty-printers Fix failing pretty printer tests when CPPFLAGS has optimizations. 2016-12-23 13:46:56 -05:00
Rules Add configure check for python program 2016-12-22 23:07:52 +05:30
shlib-versions
test-skeleton.c support: Introduce new subdirectory for test infrastructure 2016-12-09 08:18:27 +01:00
version.h
WUR-REPORT

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.  The current
GNU/Hurd support requires out-of-tree patches that will eventually be
incorporated into an official GNU C Library release.

When working with Linux kernels, this version of the GNU C Library
requires Linux kernel version 3.2 or later on all architectures except
i[4567]86 and x86_64, where Linux kernel version 2.6.32 or later
suffices.

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
	hppa-*-linux-gnu	Not currently functional without patches.
	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
	sh[34]-*-linux-gnu
	sparc*-*-linux-gnu
	sparc64*-*-linux-gnu
	tilegx-*-linux-gnu
	tilepro-*-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.