This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/13686] Missing symbol in libstdc++ from std::map
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2004 21:33:24 -0000
- Subject: [Bug libstdc++/13686] Missing symbol in libstdc++ from std::map
- References: <20040114211911.13686.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-01-14 21:33 -------
Actually, this wasn't even so hard. Take this example:
--------------------------
#include <map>
int main ()
{
std::map<int,int> m;
m[1] = 1;
}
--------------------------
This yields:
lib/base> /home/bangerth/bin/gcc-3.4-pre/bin/c++ x.cc
lib/base> ./a.out
./a.out: relocation error: ./a.out: symbol
_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_, version
GLIBCXX_3.4 not defined in file libstdc++.so.6 with link time reference
I'm on x86 linux, btw.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13686