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: Wed Aug 22 2018 - 23:45:16 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 815f0ddb346c196018d4d8f8f55c12b83da1de3f
commit: faa16bc404d72a5afb857c924c83a5f691f83386 lib: Use existing define with polynomial
date: 4 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