./map_insert.exe: relocation error: ./map_insert.exe: undefined symbol: _ZSt14_S_rb_tree_red

John David Anglin dave@hiauly1.hia.nrc.ca
Fri Feb 15 09:27:00 GMT 2002


> > 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)



More information about the Libstdc++ mailing list