[Aboriginal] Tiny patch for linux-kernel build issue

Rob Landley rob at landley.net
Thu Jun 16 05:45:05 PDT 2011


On 06/15/2011 11:39 AM, geoffroy weisenhorn wrote:
> Hello,
> 
> I have found a issue when launching linux-kernel.sh on i686 host. In
> short when compiling
> Linux kernel, build script is blocked by mktimeconst who seems to be
> failed on an infinite loop...
> After investigation I found a bug in kernel/mktimeconst.c
> 
> This code come from patch linux-noperl-timeconst.patch
> this test would never be true:  if (mul32 >= (1L<<31)) (line 125 in
> mktimeconst.c)
> 
> I propose a one character patch :
>  25c125
> < +				if (mul32 >= (1UL<<31))
> ---
>> +				if (mul32 >= (1L<<31))
> 
> With this change linux-kernel build successfully.
> 
> Geoffroy.

Applied.

Thanks,

Rob


 1308228305.0


More information about the Aboriginal mailing list