From: Nathan Chancellor <nathan@kernel.org>
To: Naresh Kamboju <naresh.kamboju@linaro.org>
Cc: clang-built-linux <llvm@lists.linux.dev>,
"open list" <linux-kernel@vger.kernel.org>,
linux-stable <stable@vger.kernel.org>,
lkft-triage@lists.linaro.org,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Sasha Levin" <sashal@kernel.org>,
"Nick Desaulniers" <ndesaulniers@google.com>,
"Anders Roxell" <anders.roxell@linaro.org>,
"Daniel Díaz" <daniel.diaz@linaro.org>,
"Dan Carpenter" <dan.carpenter@linaro.org>
Subject: Re: clang: Powerpc: clang-nightly-maple_defconfig — FAIL
Date: Wed, 14 Jun 2023 11:07:55 -0700 [thread overview]
Message-ID: <20230614180755.GA2035364@dev-arch.thelio-3990X> (raw)
In-Reply-To: <CA+G9fYvmqz3nQ=Cgs=7J6vtRj=OhbNzgkLPmxxN+vOBTU=9zVA@mail.gmail.com>
On Wed, Jun 14, 2023 at 07:43:45PM +0530, Naresh Kamboju wrote:
> Hi Nathan,
>
> On Tue, 13 Jun 2023 at 09:57, Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
> >
> > Hi Nathan,
> >
> > On Tue, 13 Jun 2023 at 00:24, Nathan Chancellor <nathan@kernel.org> wrote:
> > >
> > > Hi Naresh,
> > >
> > > On Tue, Jun 13, 2023 at 12:10:30AM +0530, Naresh Kamboju wrote:
> > > > [Please ignore if it is already reported]
> > > >
> > > > Following two builds failed on stable-rc 6.1.34-rc1.
> > > >
> > > > - Powerpc: clang-nightly-maple_defconfig — FAIL
> > > > - Powerpc: clang-nightly-cell_defconfig — FAIL
> > > >
>
> > > As always, thanks for the report. This is an LLVM regression/change in
> > > behavior caused by [1], which can break as-option and as-instr on
> > > releases prior to commit d5c8d6e0fa61 ("kbuild: Update assembler calls
> > > to use proper flags and language target"), as unsupported flags for the
> > > current target ('-x') may be present (KBUILD_CFLAGS is used for these
> > > tests instead of KBUILD_AFLAGS). Inside try-run, the macro behind
> > > as-instr and as-option, I see
> > >
> > > clang-17: error: unsupported option '-mno-prefixed' for target 'powerpc64le-linux-gnu'
> > > clang-17: error: unsupported option '-mno-pcrel' for target 'powerpc64le-linux-gnu'
> > > clang-17: error: unsupported option '-mno-altivec' for target 'powerpc64le-linux-gnu'
> > > clang-17: error: unsupported option '-mno-vsx' for target 'powerpc64le-linux-gnu'
> > > clang-17: error: unsupported option '-mno-mma' for target 'powerpc64le-linux-gnu'
> > > clang-17: error: unsupported option '-mno-spe' for target 'powerpc64le-linux-gnu'
> > >
> > > This has come up recently elsewhere in PowerPC, see
> > > commit 2b694fc96fe3 ("powerpc/boot: Disable power10 features after
> > > BOOTAFLAGS assignment"). While I think it is dubious that clang errors
> > > on these flags for the assembler target, this is already fixed on the
> > > Linux side by using KBUILD_AFLAGS for these make macros.
> > >
> > > I am preparing a series of d5c8d6e0fa61 and its dependencies for 6.1 but
> > > I want to do sufficient build testing first, which is currently running
> > > for me. Would you be able to point your matrix to [2] to make sure
> > > everything works properly with both GCC and LLVM? It is a work in
> > > progress as the second patch in the stack needs a proper commit message
> > > but it is the diff I expect to ship so that it all that matters.
> >
> > We'll start building [2] with GCC and LLVM by using tuxplans and
> > get back to you.
>
> LKFT has been configured to run GCC and LLVM in total 205 builds
> and all the builds have passed on your tree / branch [2]. You can find
> the list of builds including kselftest, perf, rcutorture, kunit, kmemleak
> and many more combinations and architectures.
>
> I request you to review the list of builds results and test results on
> projects page [3] [4]. I do not find any regressions compared with
> mainline master as sanity testing.
Thanks a lot for testing!
> Do you think LKFT should build your tree / branch often ?
> We are happy to test anytime.
No, this is an exceptional circumstance, not the norm. If I need wider
testing done in the future, I will keep you all in mind :)
> Thanks Daniel and Anders for your work.
>
> build_names: that got tested and all have passed.
>
<snip>
Great! I sent along the 6.1 backports now:
https://lore.kernel.org/20230612-6-1-asssembler-target-llvm-17-v1-0-75605d553401@kernel.org/
Thanks again for testing and the report, cheers!
Nathan
next prev parent reply other threads:[~2023-06-14 18:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-12 18:40 clang: Powerpc: clang-nightly-maple_defconfig — FAIL Naresh Kamboju
2023-06-12 18:54 ` Nathan Chancellor
2023-06-13 4:27 ` Naresh Kamboju
2023-06-14 14:13 ` Naresh Kamboju
2023-06-14 18:07 ` Nathan Chancellor [this message]
2025-09-19 11:17 ` clang nightly builds failing on PowerPc Dan Carpenter
2025-09-19 22:28 ` Nathan Chancellor
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=20230614180755.GA2035364@dev-arch.thelio-3990X \
--to=nathan@kernel.org \
--cc=anders.roxell@linaro.org \
--cc=dan.carpenter@linaro.org \
--cc=daniel.diaz@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkft-triage@lists.linaro.org \
--cc=llvm@lists.linux.dev \
--cc=naresh.kamboju@linaro.org \
--cc=ndesaulniers@google.com \
--cc=sashal@kernel.org \
--cc=stable@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