gcc/libstdc++-v3
Joseph Myers 3c97fe777c Test for __cxa_thread_atexit_impl when cross-compiling libstdc++ for GNU targets.
I noticed that when testing glibc with a cross compiler I got

UNSUPPORTED: nptl/tst-thread_local1

because the libstdc++-v3 configuration for cross compiling defaulted
to __cxa_thread_atexit_impl not being available.  This patch fixes
GLIBCXX_CROSSCONFIG to run the same test (for the case covering
targets with glibc) for __cxa_thread_atexit_impl as for native
compilation, just as it runs most of the other tests done for native
compilation (for these targets, it's not possible to build libstdc++
without already having built libc, so link tests are OK).

Tested with no regressions for cross to arm-none-linux-gnueabi.

	* crossconfig.m4 (GLIBCXX_CROSSCONFIG) <*-linux* | *-uclinux* |
	*-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*>: Check for
	__cxa_thread_atexit_impl.
	* configure: Regenerate.

From-SVN: r228695
2015-10-11 23:34:28 +01:00
..
config Save-and-restore errno more carefully in libstdc++ 2015-10-01 12:23:39 +01:00
doc * doc/html/manual/errno.html: Add new file. 2015-10-01 17:02:54 +01:00
include Add include/experimental/bits dir 2015-10-09 12:11:54 +01:00
libsupc++ Implement N4514, C++ Extensions for Transactional Memory. 2015-10-04 15:17:19 -04:00
po libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00
python Remove pretty printing for 'any' with allocators 2015-10-03 13:09:36 +01:00
scripts Implement N4100 File System TS 2015-04-30 20:11:52 +01:00
src Fix comments saying why headers are included 2015-10-03 13:09:31 +01:00
testsuite re PR c++/67844 (Cannot make tuple of class with template constructor) 2015-10-05 12:57:20 +03:00
ChangeLog Test for __cxa_thread_atexit_impl when cross-compiling libstdc++ for GNU targets. 2015-10-11 23:34:28 +01:00
ChangeLog-1998 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-1999 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2000 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2001 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2002 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2003 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2004 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2005 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2006 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2007 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2008 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2009 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2010 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2011 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2012 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2013 * ChangeLog-2013: Correct an old entry. 2014-05-26 23:49:19 +02:00
ChangeLog-2014 Rotate libstdc++-v3/ChangeLog 2015-01-02 16:50:36 +00:00
Makefile.am Makefile.am (SUBDIRS): Move python to hosted_source. 2015-04-28 20:42:51 +01:00
Makefile.in libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00
README
acinclude.m4 * acinclude.m4 (GLIBCXX_ENABLE_DEBUG_FLAGS): Fix comment. 2015-10-02 22:47:38 +01:00
aclocal.m4 libstdc++: Bump to automake 1.11.6 2015-05-13 10:51:03 +00:00
config.h.in Fix semantics of Filesystem TS directory iterators 2015-09-23 12:26:45 +01:00
configure Test for __cxa_thread_atexit_impl when cross-compiling libstdc++ for GNU targets. 2015-10-11 23:34:28 +01:00
configure.ac Add C++11 header <cuchar>. 2015-09-04 12:13:34 +01:00
configure.host Use atomics in guard.cc / remove special casing in targets. 2015-06-12 09:53:24 +00:00
crossconfig.m4 Test for __cxa_thread_atexit_impl when cross-compiling libstdc++ for GNU targets. 2015-10-11 23:34:28 +01:00
fragment.am libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00
linkage.m4 linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New. 2013-02-11 12:50:13 -05:00

README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.