arch/powerpc/boot/../../../lib/xz/xz_crc32.c:18:10: fatal error: linux/crc32poly.h: No such file or directory

From: kbuild test robot
Date: Sat Sep 29 2018 - 04:50:00 EST


Hi Krzysztof,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e704966c45e48d0220d1ee5e463034ae493a95b2
commit: faa16bc404d72a5afb857c924c83a5f691f83386 lib: Use existing define with polynomial
date: 9 weeks ago
config: powerpc-skiroot_defconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout faa16bc404d72a5afb857c924c83a5f691f83386
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=powerpc

All errors (new ones prefixed by >>):

In file included from arch/powerpc/boot/../../../lib/decompress_unxz.c:233:0,
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>
^~~~~~~~~~~~~~~~~~~
compilation terminated.

vim +18 arch/powerpc/boot/../../../lib/xz/xz_crc32.c

> 18 #include <linux/crc32poly.h>
19 #include "xz_private.h"
20

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip