From: Wu Zhangjin <wuzhangjin@gmail.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: Alexander Clouter <alex@digriz.org.uk>, linux-mips@linux-mips.org
Subject: Re: [PATCHv2] MIPS: fix vmlinuz build for 32bit-only math shells
Date: Sat, 23 Jan 2010 19:56:16 +0800 [thread overview]
Message-ID: <1264247776.14811.8.camel@falcon> (raw)
In-Reply-To: <20100122145256.GA5570@linux-mips.org>
On Fri, 2010-01-22 at 15:52 +0100, Ralf Baechle wrote:
> On Wed, Jan 20, 2010 at 08:50:07PM +0000, Alexander Clouter wrote:
>
> > Counter to the documentation for the dash shell, it seems that on my
> > x86_64 filth under Debian only does 32bit math. As I have configured my
>
> POSIX apparently specifies at least "long" type arithmetic for shells, so
> if your dash indeed is a 64-bit binary it's in violation of POSIX. What
> does
>
> file $(which $SHELL)
>
> say?
>
> The dash binary on my Fedora 12 i386 seems to perform 64-bit arithmetic.
>
Hi, Ralf
on my yeeloong laptop, with dash(0.5.5.1-3) in o32 ABI, it also can only
execute 32-bit numbers, but on my thinkpad SL400(i686, dash version is
0.5.5.1-2), it works well with 64-bit arithmetic.
So, it means dash not always works normally, perhaps there is a bug
there, or the bug only exists on MIPS machines?
Best Regards,
Wu Zhangjin
next prev parent reply other threads:[~2010-01-23 12:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-20 20:50 [PATCHv2] MIPS: fix vmlinuz build for 32bit-only math shells Alexander Clouter
2010-01-21 5:23 ` Wu Zhangjin
2010-01-22 14:52 ` Ralf Baechle
2010-01-22 21:39 ` Alexander Clouter
2010-01-23 11:56 ` Wu Zhangjin [this message]
2010-01-26 12:44 ` Ralf Baechle
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=1264247776.14811.8.camel@falcon \
--to=wuzhangjin@gmail.com \
--cc=alex@digriz.org.uk \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/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 NNTP newsgroup(s).