linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Build failure for today's tree, Fedora-32
@ 2020-09-21 19:50 Ben Greear
  2020-09-21 22:06 ` Ben Greear
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Greear @ 2020-09-21 19:50 UTC (permalink / raw)
  To: Linux Kernel Mailing List

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@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Build failure for today's tree, Fedora-32
  2020-09-21 19:50 Build failure for today's tree, Fedora-32 Ben Greear
@ 2020-09-21 22:06 ` Ben Greear
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Greear @ 2020-09-21 22:06 UTC (permalink / raw)
  To: Linux Kernel Mailing List

On 9/21/20 12:50 PM, Ben Greear wrote:
> 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.

Looks like my git tree was corrupted.  A fresh one is working better.

Thanks,
Ben


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-21 22:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-21 19:50 Build failure for today's tree, Fedora-32 Ben Greear
2020-09-21 22:06 ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).