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: Tue Sep 18 2018 - 23:57:14 EST


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