This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libstdc++/8475: hash_map error message at run time about __default_alloc_template/force_new not defined


>Number:         8475
>Category:       libstdc++
>Synopsis:       hash_map  error message at run time about __default_alloc_template/force_new not defined
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 06 04:16:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Frederic Dumas
>Release:        gcc (GCC) 3.3 20021029
>Organization:
>Environment:
linux P4
>Description:
#include <ext/hash_map>
using namespace __gnu_cxx;
template class hash_map< int, int >;
int main() { };

> g++ -O3 test_hash.cpp -o test_hash
> ./test_hash
./test_hash: relocation error: ./test_hash: symbol _ZNSt24__default_alloc_templateILb1ELi0EE12_S_force_newE, version GLIBCPP_3.2 not defined in file libstdc++.so.5 with link time reference

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]