linux-mips
[Top] [All Lists]

Re: [PATCHv2] MIPS: fix vmlinuz build for 32bit-only math shells

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCHv2] MIPS: fix vmlinuz build for 32bit-only math shells
From: Alexander Clouter <alex@digriz.org.uk>
Date: Fri, 22 Jan 2010 21:39:26 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <20100122145256.GA5570@linux-mips.org>
Organization: diGriz
References: <vs6k27-7b2.ln1@chipmunk.wormnet.eu> <20100122145256.GA5570@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
Hi,

* Ralf Baechle <ralf@linux-mips.org> [2010-01-22 15:52:56+0100]:
>
> 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.
>
/me points to the 'Counter to the documentation for the dash shell...' 
        he put in his description...

> What does
> 
>   file $(which $SHELL)
> 
> say?
> 
Well, 'bash' (x86-64) as thats my *interactive* shell, I use dash for 
the non-interactive stuff.

> The dash binary on my Fedora 12 i386 seems to perform 64-bit arithmetic.
> 
...does it really matter, we still are leaving all the 32bit users out 
there in the lurch?

When I get around to looking at the problem further I'll report it to 
the Debian folk...meanwhile, builds on 32bit math only shells is broken 
for vmlinuz regardless of my borkened shell :)

Cheers

-- 
Alexander Clouter
.sigmonster says:   We are not anticipating any emergencies.

<Prev in Thread] Current Thread [Next in Thread>