This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: ./map_insert.exe: relocation error: ./map_insert.exe: undefined symbol: _ZSt14_S_rb_tree_red
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: bkoz at redhat dot com (Benjamin Kosnik)
- Cc: bug-binutils at gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Fri, 15 Feb 2002 12:26:42 -0500 (EST)
- Subject: Re: ./map_insert.exe: relocation error: ./map_insert.exe: undefined symbol: _ZSt14_S_rb_tree_red
> > under the "######## hmmmmm, the rediculous hacks section....".
>
> The link map stuff is not on by default: have you explicitly turned
> support for it on?
Are you sure? I see a linker.map file in the src build directory.
This is linux not hpux. It has:
######## hmmmmm, the rediculous hacks section....
## std::_S_rb_tree_red
_ZSt14_S_rb_tree_red;
## std::_S_rb_tree_black
_ZSt16_S_rb_tree_black;
...
I tried turning these off but it made no different wrt the relocation
error.
The main reason I mentioned the linker map was it seemed to indicated
that there are issues on other OS's with these symbols. I think this
is a binutils problem because I looked at the assembler output for
stl-inst.cc and map_insert.cc, and couldn't see any problem that
was obvious.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)