[lkml]   [2018]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: regression: broken ppc64le build with CONFIG_KERNEL_XZ=y
On Mon, Aug 27, 2018 at 01:30:37PM +0200, Michal Kubecek wrote:
> Building 4.19-rc1 kernel with CONFIG_KERNEL_XZ=y fails with this error:
> BOOTCC arch/powerpc/boot/decompress.o
> In file included from arch/powerpc/boot/../../../lib/decompress_unxz.c:233,
> from arch/powerpc/boot/decompress.c:42:
> arch/powerpc/boot/../../../lib/xz/xz_crc32.c:18:10: fatal error: linux/crc32poly.h: No such file or directory
> #include <linux/crc32poly.h>
> ^~~~~~~~~~~~~~~~~~~
> This is caused by commit faa16bc404d7 ("lib: Use existing define with
> polynomial") which added include of <linux/crc32poly.h>; when compiling
> arch/powerpc/boot/decompress.c, the include/ directory is not searched
> so that the header file is not found.
> The solution is probably adding -I directive to some place in
> arch/powerpc/boot/Makefile but I don't dare to guess where.


Thanks for letting know. I wonder why kbuild test robot did not catch
this... I just got back from vacation so I will need few days to look
into it.

Best regards,

 \ /
  Last update: 2018-08-28 20:44    [W:0.032 / U:5.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site