From: Waiman Long <longman@redhat.com>
To: Naresh Kamboju <naresh.kamboju@linaro.org>,
linux-mips@vger.kernel.org,
Linux-Next Mailing List <linux-next@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>,
lkft-triage@lists.linaro.org
Cc: Paul Burton <paul.burton@mips.com>, Will Deacon <will@kernel.org>,
Will Deacon <will.deacon@arm.com>,
Stephen Rothwell <sfr@canb.auug.org.au>,
Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
Ingo Molnar <mingo@redhat.com>,
Peter Zijlstra <peterz@infradead.org>,
Boqun Feng <boqun.feng@gmail.com>
Subject: Re: [next] [mips] spinlock.h:17:28: error: redefinition of 'queued_spin_unlock'
Date: Wed, 10 Feb 2021 10:02:40 -0500 [thread overview]
Message-ID: <8e1322cf-4498-43b6-1dbd-665b7f016815@redhat.com> (raw)
In-Reply-To: <CA+G9fYtkWdeL7-nfXW8+VbaCK7swinU_Ksn67RW4FFD+cx8VYg@mail.gmail.com>
On 2/10/21 12:30 AM, Naresh Kamboju wrote:
> While building Linux next tag 20210209 mips uImage.gz failed with below configs
>
> - mips (cavium_octeon_defconfig) with gcc-8, gcc-9 and gcc-10 - FAILED
> - mips (malta_defconfig) with gcc-8, gcc-9 and gcc-10 - FAILED
> - mips (nlm_xlp_defconfig) with gcc-8, gcc-9 and gcc-10 - FAILED
> - mips (defconfig) with gcc-8, gcc-9 and gcc-10 - FAILED
>
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=mips
> CROSS_COMPILE=mips-linux-gnu- 'CC=sccache mips-linux-gnu-gcc'
> 'HOSTCC=sccache gcc' uImage.gz
> In file included from /include/linux/spinlock.h:90,
> from /include/linux/ipc.h:5,
> from /include/uapi/linux/sem.h:5,
> from /include/linux/sem.h:5,
> from /include/linux/compat.h:14,
> from /arch/mips/kernel/asm-offsets.c:12:
> /arch/mips/include/asm/spinlock.h:17:28: error: redefinition of
> 'queued_spin_unlock'
> 17 | #define queued_spin_unlock queued_spin_unlock
> | ^~~~~~~~~~~~~~~~~~
>
> Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
>
> build link,
> https://builds.tuxbuild.com/1oF9lkBAeWM2WvR11O2Yun8ERNT/
>
I have just posted a patch to reorder qspinlock.h and qrwlock.h include
ordering. Hopefully that can fix the compilation problem though I don't
have a mips building environment to verify that.
Cheers,
Longman
next prev parent reply other threads:[~2021-02-10 15:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-10 5:30 Naresh Kamboju
2021-02-10 15:02 ` Waiman Long [this message]
2021-02-10 15:24 ` Naresh Kamboju
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=8e1322cf-4498-43b6-1dbd-665b7f016815@redhat.com \
--to=longman@redhat.com \
--cc=boqun.feng@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=lkft-triage@lists.linaro.org \
--cc=mingo@redhat.com \
--cc=naresh.kamboju@linaro.org \
--cc=paul.burton@mips.com \
--cc=peterz@infradead.org \
--cc=sfr@canb.auug.org.au \
--cc=tsbogend@alpha.franken.de \
--cc=will.deacon@arm.com \
--cc=will@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®