gcc/libstdc++-v3
Dodji Seketeli c8ab2cfaff Add missing explicit instantiation for std::lower_bound template
Since commit r195676[1], it looks like
libstdc++-v3/src/c++11/hashtable_c++0x.cc is missing an explicit
instantiation for std::lower_bound.  This leads to libstdc++.so having
the symbol for that (missing) instantiation be undefined, thus
preventing executables from being linked with libstdc++.

The patchlet below seems to fixed the issue for me.

Boostrapped and tested on x86_64-unknown-linux-gnu.

[1]:

    commit bc36b44c7cb0e5e97ac807b8fb17507e0fb09008
    Author: fdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
    Date:   Fri Feb 1 20:44:41 2013 +0000

	2013-02-01  François Dumont  <fdumont@gcc.gnu.org>

	    * include/bits/hashtable_policy.h
	    (_Prime_rehash_policy::_M_next_bkt)
	    (_Prime_rehash_policy::_M_need_rehash): Move definition...
	    * src/c++11/hashtable_c++0x.cc: ... here.
	    * src/shared/hashtable-aux.cc: Remove c++config.h include.
	    * config/abi/gnu.ver (GLIBCXX_3.4.18): Export _Prime_rehash_policy
	    symbols.

	git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195676 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog

	* libstdc++-v3/src/c++11/hashtable_c++0x.cc (namespace std): Add
	missing instantiation for std::lower_bound template.

From-SVN: r195783
2013-02-06 09:18:26 +01:00
..
config Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
doc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
include functional_hash.h (std::__is_fast_hash<>): New. 2013-02-04 21:14:07 +00:00
libsupc++ Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
po Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
python Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
scripts Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
src Add missing explicit instantiation for std::lower_bound template 2013-02-06 09:18:26 +01:00
testsuite functional_hash.h (std::__is_fast_hash<>): New. 2013-02-04 21:14:07 +00:00
ChangeLog Add missing explicit instantiation for std::lower_bound template 2013-02-06 09:18:26 +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
Makefile.am Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
Makefile.in gthr.m4: New. 2012-10-15 13:10:30 +00:00
README mainpage.html: Add in corrected links. 2008-02-12 02:10:57 +00:00
acinclude.m4 Restrict -Wa,-nH use to Solaris (PR libstdc++/55594) 2013-01-08 09:47:55 +00:00
aclocal.m4 acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Remove ENABLE_PARALLEL. 2012-09-28 19:48:27 +00:00
config.h.in re PR libstdc++/55741 (bootstrap fails in libstdc++-v3/src/c++11/thread.cc) 2012-12-20 14:36:56 +00:00
configure Restrict -Wa,-nH use to Solaris (PR libstdc++/55594) 2013-01-08 09:47:55 +00:00
configure.ac Optimize bulk mode for normal_distribution<double> for SSE3. 2012-09-26 13:10:26 +00:00
configure.host config.gcc: Match arm*-*-linux-* for ARM Linux/GNU. 2012-10-15 21:12:23 +00:00
crossconfig.m4 crossconfig.m4: Since we know that all TPF builds are cross- builds and cannot run... 2012-05-02 15:34:31 -04:00
fragment.am fragment.am (CONFIG_CXXFLAGS): Remove EXTRA_CXX_FLAGS. 2012-09-29 04:08:17 +00:00
linkage.m4 re PR libstdc++/32666 (FAIL: abi_check hppa) 2009-01-15 20:02:11 +00: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.