This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: testresults, linuxppc-2000, powerpc-unknown-linux-gnu
Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr> writes:
| Phil Edwards <pedwards@disaster.jaj.com> writes:
|
| [...]
|
| | For non-native-tools building, I use a unified GCC+binutils source tree,
| | and just use --with-gnu-ld (with no =pathname argument). The configure
| | and build pick up on the presence of GNU ld sources living *right there*
| | and behave correctly, but if the sources aren't *right there* then weirdness
| | and pain happens later. As long as it's unified, it's okay.
|
| Excellent! I'll try that.
Well, I managed to build the compiler itself on a solrair-2.7; but
libstdc++-v3 shocked on locale-inst.lo with
/BASE/dosreis/egcs/libstdc++-v3/include/bits/locale_facets.tcc: In function
`_OutIter std::_S_fill(_OutIter, _CharT, int) [with _CharT = char, _OutIter
= std::ostreambuf_iterator<char, std::char_traits<char> >]':
/BASE/dosreis/egcs/libstdc++-v3/include/bits/locale_facets.tcc:1020: instantiated from `std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> >
std::_S_output_float(std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> >, std::ios_base&, _CharT, const char*, unsigned int) [with _CharT = char]'
/BASE/dosreis/egcs/libstdc++-v3/include/bits/locale_facets.tcc:1071: instantiated from `_OutIter std::num_put<_CharT, _OutIter>::do_put(_OutIter, std::ios_base&, _CharT, double) const [with _CharT = char, _OutIter = std::ostreambuf_iterator<char, std::char_traits<char> >]'
/BASE/dosreis/egcs/libstdc++-v3/src/locale-inst.cc:82: instantiated from here
/BASE/dosreis/egcs/libstdc++-v3/include/bits/locale_facets.tcc:762: invalid use
of member `std::iterator_traits<std::ostreambuf_iterator<char,
std::char_traits<char> > >::iterator_category'
make[4]: *** [locale-inst.lo] Error 1
Line 762 is:
template <typename _CharT, typename _OutIter>
inline _OutIter
_S_fill(_OutIter __s, _CharT __fill, int __padding)
{
return _S_fill(__s, __fill, __padding,
iterator_traits<_OutIter>::iterator_category()); // <=
}
More on that latter. I'm tired and gonna to bed :-)
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com