mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Build failure for today's tree, Fedora-32
Date: Mon, 21 Sep 2020 12:50:13 -0700	[thread overview]
Message-ID: <10ab525d-cd22-18ec-3c82-c651a6749c0e@candelatech.com> (raw)

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

             reply	other threads:[~2020-09-21 19:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-21 19:50 Ben Greear [this message]
2020-09-21 22:06 ` Ben Greear

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10ab525d-cd22-18ec-3c82-c651a6749c0e@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®