On Fri, 26 Nov 2010, Hisashi T Fujinaka wrote:
The errors start with a lot of things like:
/home/cross/sparc64/bin/../lib/gcc/sparc64--netbsd/4.1.3/../../../../sparc64--netbsd/bin/ld:
skipping incompatible
/usr/src/obj.sparc64/destdir.sparc64/usr/lib/sparc/libgcc_s.so when
searching for -lgcc_s
and ends with a lot of things like:
libstdc++_pic.a(wlocale-inst.so): In function `int
std::__int_to_char<wchar_t, unsigned long long>(wchar_t*, unsigned long
long, wchar_t const*, std::_Ios_Fmtflags, bool)':
wlocale-inst.cc:(.text._ZSt13__int_to_charIwyEiPT_T0_PKS0_St13_Ios_Fmtflagsb+0x40):
undefined reference to `__umoddi3'
wlocale-inst.cc:(.text._ZSt13__int_to_charIwyEiPT_T0_PKS0_St13_Ios_Fmtflagsb+0x68):
undefined reference to `__udivdi3'
libstdc++_pic.a(wlocale-inst.so): In function
`std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
std::num_get<wchar_t, std::istreambuf_iterator<wchar_t,
std::char_traits<wchar_t> > >::_M_extract_int<unsigned long
long>(std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,
std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,
std::ios_base&, std::_Ios_Iostate&, unsigned long long&) const':
wlocale-inst.cc:(.text._ZNKSt7num_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE14_M_extract_intIyEES3_S3_S3_RSt8ios_baseRSt12_Ios_IostateRT_+0x154):
undefined reference to `__udivdi3'
Huh, never mind. CVS is showing a lot of changes now. I probably did
something weird rsyncing to netbsd.org. I'll update if it still doesn't
work.