I am attempting to build kernel-4.18.0-193 and I’m getting:
make 'HOSTCFLAGS=-O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14
-fasynchronous-unwind-tables -fstack-clash-protection'
'HOSTLDFLAGS=-Wl,-z,relro -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -s ARCH=s390 V=1 -j2 KCFLAGS=
WITH_GCOV=0 bzImage
In file included from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/uaccess.h:5,
from arch/s390/mm/maccess.c:11:
./arch/s390/include/asm/irqflags.h:35:28: error: inlining failed in call to
always_inline '__arch_local_irq_ssm': function attribute mismatch
static inline notrace void __arch_local_irq_ssm(unsigned long flags)
^~~~~~~~~~~~~~~~~~~~
arch/s390/mm/maccess.c:113:2: note: called from here
__arch_local_irq_ssm(flags);
This is using gcc-8.2.1. I can’t see anything obvious.
Neale
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390