This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

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)


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