linux-mips
[Top] [All Lists]

Re: gcc -3.4.4 and linux-2.4.32

To: David Daney <ddaney@avtrex.com>
Subject: Re: gcc -3.4.4 and linux-2.4.32
From: Kishore K <hellokishore@gmail.com>
Date: Tue, 17 Jan 2006 17:37:41 +0530
Cc: linux-mips@linux-mips.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Q9H3iX+LKcE3T2HYxpSwAxoPjlVABmirT4vOvYvBfek5iHODSqmx+4t4iYlY4xTlmW0YNDXQs4P0oywrrhHYySMg1A4ogzWO0ko35nlBsUSn5M6B+oyMpbOIeOWXIUznFzqBVPkl2bU6Cmo5Z15z/l8NIOFjSZ9666qeWqAw82c=
In-reply-to: <43CBD91B.4020607@avtrex.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <f07e6e0601160423h5ce1c0d7lcb7e38f8509c4116@mail.gmail.com> <43CBD91B.4020607@avtrex.com>
Sender: linux-mips-bounce@linux-mips.org

On 1/16/06, David Daney <ddaney@avtrex.com> wrote:
Kishore K wrote:
> hi
> When 2.4.32 kernel (from linux-mips) is compiled with the tool chain
> based on gcc 3.4.4 and binutils 2.16.1, the kernel crashes on malta
> board. The crash file is enclosed along with the mail. If the same
> kernel is compiled with the tool chain based on gcc 3.3.6, no problem is
> observed.
>
> May I know, whether it is because of the changes in ABI in gcc 3.4.

Not exactly.  It has to do with -funit-at-a-time.  In the 2.4.x kernel
it is assumed that gcc will not reorder top level asm statements and
functions.  For gcc-3.3.x and earlier this was a valid assumption.  With
3.4.x and later it is not.

Thanks for the information.  The board is up, when the kernel is compiled with the above mentioned option.

--kishore



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