libstdc++/8475: hash_map error message at run time about __default_alloc_template/force_new not defined
fdumas@ina.fr
fdumas@ina.fr
Wed Nov 6 04:16:00 GMT 2002
>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:
More information about the Gcc-prs
mailing list