This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: V3 vs. AIX
- To: dje at watson dot ibm dot com
- Subject: Re: V3 vs. AIX
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 05 Feb 2001 10:36:42 -0800
- Cc: bkoz at nabi dot net, gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <mark@codesourcery.com><200102051813.NAA27176@mal-ach.watson.ibm.com>
David --
I think your hypothesis is likely correct. After removing -berok, I
get:
d: 0711-317 ERROR: Undefined symbol: .std::string& std::string::_M_replace<cha\r const*>(std::__normal_iterator<char*, std::string>, std::__normal_iterator<ch\ar*, std::string>, char const*, char const*, std::forward_iterator_tag)
ld: 0711-317 ERROR: Undefined symbol: .std::string& std::string::_M_replace<cha\r*>(std::__normal_iterator<char*, std::string>, std::__normal_iterator<char*, s\td::string>, char*, char*, std::forward_iterator_tag)
ld: 0711-317 ERROR: Undefined symbol: .char* std::string::_S_construct<char con\st*>(char const*, char const*, std::allocator<char> const&, std::forward_iterat\or_tag)
ld: 0711-317 ERROR: Undefined symbol: .void __sink_unused_warning<char>(char)
ld: 0711-317 ERROR: Undefined symbol: .void
__sink_unused_warning<std::locale::\
So, now I get to go look at more template ugliness. One of these is
the function in question.
Why do we need -berok? There are only a few undefined symbols, and
they all look like they should probably be defined...
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com