Build failure for today's tree, Fedora-32

From: Ben Greear
Date: Mon Sep 21 2020 - 15:55:28 EST


Hello,

I'm seeing this build failure, any idea what is the issue? I've cleared my ccache (ccache --clear)
but that did not help. A pull from this morning builds on Fedora-29 with same .config file. I tried
that same commit on my F32 system to no success, so it seems like it might be something with
my F32 compiler/system.

[greearb@bendt7 linux-linus-x64-dbg]$ make bzImage
GEN Makefile
CC arch/x86/kernel/asm-offsets.s
In file included from /home/greearb/git/linux-linus/arch/x86/include/uapi/asm/siginfo.h:13,
from /home/greearb/git/linux-linus/include/uapi/linux/signal.h:6,
from /home/greearb/git/linux-linus/include/linux/signal_types.h:10,
from /home/greearb/git/linux-linus/include/linux/sched.h:30,
from /home/greearb/git/linux-linus/include/linux/uaccess.h:6,
from /home/greearb/git/linux-linus/arch/x86/include/asm/fpu/xstate.h:5,
from /home/greearb/git/linux-linus/arch/x86/include/asm/pgtable.h:26,
from /home/greearb/git/linux-linus/include/linux/pgtable.h:6,
from /home/greearb/git/linux-linus/include/linux/kasan.h:14,
from /home/greearb/git/linux-linus/include/linux/slab.h:136,
from /home/greearb/git/linux-linus/include/linux/crypto.h:20,
from /home/greearb/git/linux-linus/arch/x86/kernel/asm-offsets.c:9:
/home/greearb/git/linux-linus/include/asm-generic/siginfo.h: In function ‘copy_siginfo’:
/home/greearb/git/linux-linus/include/asm-generic/siginfo.h:30:20: error: ‘__ARCH_SI_PREAMBLE_SIZE’ undeclared (first use in this function)
30 | memcpy(to, from, __ARCH_SI_PREAMBLE_SIZE + sizeof(from->_sifields._sigchld));
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/greearb/git/linux-linus/include/asm-generic/siginfo.h:30:20: note: each undeclared identifier is reported only once for each function it appears in
In file included from /home/greearb/git/linux-linus/include/linux/sched/signal.h:6,
from /home/greearb/git/linux-linus/include/linux/rcuwait.h:6,
from /home/greearb/git/linux-linus/include/linux/percpu-rwsem.h:7,
from /home/greearb/git/linux-linus/include/linux/fs.h:33,
from /home/greearb/git/linux-linus/include/linux/cgroup.h:17,
from /home/greearb/git/linux-linus/include/linux/memcontrol.h:13,
from /home/greearb/git/linux-linus/include/linux/swap.h:9,
from /home/greearb/git/linux-linus/include/linux/suspend.h:5,
from /home/greearb/git/linux-linus/arch/x86/kernel/asm-offsets.c:13:
/home/greearb/git/linux-linus/include/linux/signal.h: At top level:
/home/greearb/git/linux-linus/include/linux/signal.h:14:20: error: conflicting types for ‘copy_siginfo’
14 | static inline void copy_siginfo(kernel_siginfo_t *to,
| ^~~~~~~~~~~~
In file included from /home/greearb/git/linux-linus/arch/x86/include/uapi/asm/siginfo.h:13,
from /home/greearb/git/linux-linus/include/uapi/linux/signal.h:6,
from /home/greearb/git/linux-linus/include/linux/signal_types.h:10,
from /home/greearb/git/linux-linus/include/linux/sched.h:30,
from /home/greearb/git/linux-linus/include/linux/uaccess.h:6,
from /home/greearb/git/linux-linus/arch/x86/include/asm/fpu/xstate.h:5,
from /home/greearb/git/linux-linus/arch/x86/include/asm/pgtable.h:26,
from /home/greearb/git/linux-linus/include/linux/pgtable.h:6,
from /home/greearb/git/linux-linus/include/linux/kasan.h:14,
from /home/greearb/git/linux-linus/include/linux/slab.h:136,
from /home/greearb/git/linux-linus/include/linux/crypto.h:20,
from /home/greearb/git/linux-linus/arch/x86/kernel/asm-offsets.c:9:
/home/greearb/git/linux-linus/include/asm-generic/siginfo.h:24:20: note: previous definition of ‘copy_siginfo’ was here
24 | static inline void copy_siginfo(struct siginfo *to, struct siginfo *from)
| ^~~~~~~~~~~~
In file included from /home/greearb/git/linux-linus/include/linux/sched/signal.h:6,
from /home/greearb/git/linux-linus/include/linux/rcuwait.h:6,
from /home/greearb/git/linux-linus/include/linux/percpu-rwsem.h:7,
from /home/greearb/git/linux-linus/include/linux/fs.h:33,
from /home/greearb/git/linux-linus/include/linux/cgroup.h:17,
from /home/greearb/git/linux-linus/include/linux/memcontrol.h:13,
from /home/greearb/git/linux-linus/include/linux/swap.h:9,
from /home/greearb/git/linux-linus/include/linux/suspend.h:5,
from /home/greearb/git/linux-linus/arch/x86/kernel/asm-offsets.c:13:
/home/greearb/git/linux-linus/include/linux/signal.h:35:5: error: conflicting types for ‘copy_siginfo_to_user’
35 | int copy_siginfo_to_user(siginfo_t __user *to, const kernel_siginfo_t *from);
| ^~~~~~~~~~~~~~~~~~~~
In file included from /home/greearb/git/linux-linus/arch/x86/include/uapi/asm/siginfo.h:13,
from /home/greearb/git/linux-linus/include/uapi/linux/signal.h:6,
from /home/greearb/git/linux-linus/include/linux/signal_types.h:10,
from /home/greearb/git/linux-linus/include/linux/sched.h:30,
from /home/greearb/git/linux-linus/include/linux/uaccess.h:6,
from /home/greearb/git/linux-linus/arch/x86/include/asm/fpu/xstate.h:5,
from /home/greearb/git/linux-linus/arch/x86/include/asm/pgtable.h:26,
from /home/greearb/git/linux-linus/include/linux/pgtable.h:6,
from /home/greearb/git/linux-linus/include/linux/kasan.h:14,
from /home/greearb/git/linux-linus/include/linux/slab.h:136,
from /home/greearb/git/linux-linus/include/linux/crypto.h:20,
from /home/greearb/git/linux-linus/arch/x86/kernel/asm-offsets.c:9:
/home/greearb/git/linux-linus/include/asm-generic/siginfo.h:35:12: note: previous declaration of ‘copy_siginfo_to_user’ was here
35 | extern int copy_siginfo_to_user(struct siginfo __user *to, const struct siginfo *from);
| ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [/home/greearb/git/linux-linus/scripts/Makefile.build:117: arch/x86/kernel/asm-offsets.s] Error 1
make[1]: *** [/home/greearb/git/linux-linus/Makefile:1198: prepare0] Error 2
make: *** [/home/greearb/git/linux-linus/Makefile:185: __sub-make] Error 2


Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com