Have you been able to vary the compiler and/or vary the assembler? That's the first thing I try when getting this kind of error.
I wish I could offer a wider (and newer!) variety of BINUTILS and GCC via Chicory, but time has been limited to run those recently. You could drop-in different releases, point at them, and see if stuff works. Cannot count the number of times a build required some odd release (other than what my dev/build system had) of any of a half dozen tools (not just BINUTILS and GCC, but stuff like Perl or Make). But this sounds more like a header mismatch. Are all the supporting sources, headers, and co-reqs current? Looks like it's complaining about a macro in the headers co-resident with the kernel. Possibly a tripped #ifdef? Have you tried building this kernel on other architectures? (Just for reference.) -- R; <>< On 6/22/20 1:39 AM, Neale Ferguson wrote: > 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 -- -- R; <>< ---------------------------------------------------------------------- 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
