public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: "ariga masahiro" <ariga@link-lab.co.jp>
To: "Khem Raj" <raj.khem@gmail.com>
Cc: <crossgcc@sourceware.org>
Subject: Re: Failed to make h8300 toolchain.
Date: Wed, 24 Jun 2009 08:14:00 -0000	[thread overview]
Message-ID: <3D39E88D2A0B404BB323ADE9ED114C50@ariga> (raw)
In-Reply-To: <19c1b8a90906231152r7f4b13d6w2accaf70a6635093@mail.gmail.com>

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

      reply	other threads:[~2009-06-24  8:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-18  7:53 ariga masahiro
2009-06-22 20:45 ` Khem Raj
2009-06-23  1:06   ` ariga masahiro
2009-06-23 18:52     ` Khem Raj
2009-06-24  8:14       ` ariga masahiro [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D39E88D2A0B404BB323ADE9ED114C50@ariga \
    --to=ariga@link-lab.co.jp \
    --cc=crossgcc@sourceware.org \
    --cc=raj.khem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).