This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: V3 vs. AIX



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

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