| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: [PATCHv2] MIPS: fix vmlinuz build for 32bit-only math shells |
| From: | Wu Zhangjin <wuzhangjin@gmail.com> |
| Date: | Sat, 23 Jan 2010 19:56:16 +0800 |
| Cc: | Alexander Clouter <alex@digriz.org.uk>, linux-mips@linux-mips.org |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:organization:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=Bdssmb+AsKKrZ1rv9CoQRmRlv1o3OoxBzH6mH4eRyJ8=; b=SlUUb1EdbmbZKIR+5vS7HTcJn5rRXLWSGv9IwM06wqUaVCpAcS76/s0n0pbz4Ci2Pm oUtJFP3MbRk1463QSSrmBywNNZz7w1hg7JAeezxU99CLmt8Ug3kcjpB76Zc/us0l1UuC DM1c3DOcEC02TJ6Ecl5Pttl3YXCon/8ASFtgI= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=nqK9N8ptTwHC3spjaqyBKOyJso8wYMA0S8pKsK3KiuYEEXoYDSaYOtLLRM13VMQ1i1 VHOkspzG+ZCaktrgqJBIUC46UjQ1lC55hkGVNs5/A+D8WMSPIHh1R1SGlS1nMSLRwuPS LJzRsd3h0+WnV0wRoAsEOW4kTYFhYwftP/SnY= |
| In-reply-to: | <20100122145256.GA5570@linux-mips.org> |
| Organization: | DSLab, Lanzhou University, China |
| References: | <vs6k27-7b2.ln1@chipmunk.wormnet.eu> <20100122145256.GA5570@linux-mips.org> |
| Reply-to: | wuzhangjin@gmail.com |
| Sender: | linux-mips-bounce@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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2/2] MIPS: Decode c0_config4 for large TLBs., David Daney |
|---|---|
| Next by Date: | Re: [PATCH] MIPS: cleanup switches with cases that can be merged, Ralf Baechle |
| Previous by Thread: | Re: [PATCHv2] MIPS: fix vmlinuz build for 32bit-only math shells, Alexander Clouter |
| Next by Thread: | Re: [PATCHv2] MIPS: fix vmlinuz build for 32bit-only math shells, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |