This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failed to make h8300 toolchain.


Hello Khem and everyone,

Thank you, Khem.
When I patched and coufigured again I succeeded to install h8300 toolchain.
I appreciate your helpness.

-- Khem  wrote
you could try this patch/workaround

--- libstdc++-v3/./include/std/bitset.org 2009-06-23 11:48:50.000000000 -0700
+++ libstdc++-v3/./include/std/bitset 2009-06-23 11:49:58.000000000 -0700
@@ -1228,7 +1228,8 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GL
size_t __pos, size_t __n, _CharT __zero, _CharT __one)
{
reset();
- const size_t __nbits = std::min(_Nb, std::min(__n, __len - __pos));
+ const size_t __tmp = __len - __pos;
+ const size_t __nbits = std::min(_Nb, std::min(__n, __tmp));
for (size_t __i = __nbits; __i > 0; --__i)
{
const _CharT __c = __s[__pos + __nbits - __i];


Masahiro Ariga



--
For unsubscribe information see http://sourceware.org/lists.html#faq


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