libstdc++/4435: Object file has undefined basic_string symbol as local.

pme@gcc.gnu.org pme@gcc.gnu.org
Tue Oct 2 14:48:00 GMT 2001


Synopsis: Object file has undefined basic_string symbol as local.

Responsible-Changed-From-To: unassigned->dje
Responsible-Changed-By: pme
Responsible-Changed-When: Tue Oct  2 14:48:17 2001
Responsible-Changed-Why:
    Thank you for your bug report.
    
    I'll ask Mr. Edelson to look into this one, as the AIX
    expert.  This may be one of those case where, after
    installation, you need to do a "chmod o-r" on the library.
    (AIX interprets that as an order to map parts of the
    library differently than normal at runtime -- and if that
    isn't a serious abuse of file permission design, I don't
    know what is. *grin*)  If you try this and it works, please
    let us know so that we can close this PR without taking up
    more of dje's time.
    
    
    As an aside,
    
    > None known.  I suspect that this statement in the
    > template in basic_string.h is at fault:
    > 
    >  size_type
    >  max_size() const { return _Rep::_S_max_size; }
    > 
    > If the variable _S_max_size is private to struct _Rep,
    > how can you hope to access it like this?
    
    None of the members of _Rep are private.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4435&database=gcc



More information about the Gcc-prs mailing list