[Aboriginal] Tiny patch for linux-kernel build issue

geoffroy weisenhorn geoffroy.weisenhorn at gmail.com
Wed Jun 15 09:39:31 PDT 2011


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 290d89e8689fcefb2344fab9aa1aaeb5279eb5bb
Type: application/octet-stream
Size: 650 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/aboriginal-landley.net/attachments/20110615/9c1c4112/attachment-0002.obj>


More information about the Aboriginal mailing list