Re: gcc -3.4.4 and linux-2.4.32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 1/16/06, David Daney <ddaney@xxxxxxxxxx> 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




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux