OSDN Git Service

s390: disable gcc plugins
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 24 Jul 2018 05:55:18 +0000 (07:55 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 24 Jul 2018 06:10:52 +0000 (08:10 +0200)
commit2fba3573f1cf876ad94992c256c5c410039e60b4
tree12d9fb98d4dbc89acc566d3e6d46f56ccbad2561
parentd72e90f33aa4709ebecc5005562f52335e106a60
s390: disable gcc plugins

The s390 build currently fails with the latent entropy plugin:

arch/s390/kernel/als.o: In function `verify_facilities':
als.c:(.init.text+0x24): undefined reference to `latent_entropy'
als.c:(.init.text+0xae): undefined reference to `latent_entropy'
make[3]: *** [arch/s390/boot/compressed/vmlinux] Error 1
make[2]: *** [arch/s390/boot/compressed/vmlinux] Error 2
make[1]: *** [bzImage] Error 2

This will be fixed with the early boot rework from Vasily, which
is planned for the 4.19 merge window.

For 4.18 the simplest solution is to disable the gcc plugins and
reenable them after the early boot rework is upstream.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/Kconfig