lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180827113037.gbtnbhcwebcwei57@unicorn.suse.cz>
Date:   Mon, 27 Aug 2018 13:30:37 +0200
From:   Michal Kubecek <mkubecek@...e.cz>
To:     linux-kernel@...r.kernel.org
Cc:     Krzysztof Kozlowski <krzk@...nel.org>,
        Benjamin Herrenschmidt <benh@...nel.crashing.org>,
        Paul Mackerras <paulus@...ba.org>,
        Michael Ellerman <mpe@...erman.id.au>
Subject: regression: broken ppc64le build with CONFIG_KERNEL_XZ=y

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.

Michal Kubecek

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ