From: Heiko Carstens <hca@linux.ibm.com>
To: Naresh Kamboju <naresh.kamboju@linaro.org>
Cc: llvm@lists.linux.dev, linux-s390@vger.kernel.org,
clang-built-linux <clang-built-linux@googlegroups.com>,
open list <linux-kernel@vger.kernel.org>,
Nathan Chancellor <nathan@kernel.org>,
Nick Desaulniers <ndesaulniers@google.com>,
Alexander Egorenkov <egorenar@linux.ibm.com>,
Christian Borntraeger <borntraeger@de.ibm.com>,
Vasily Gorbik <gor@linux.ibm.com>,
Andreas Krebbel <krebbel@linux.ibm.com>,
Ulrich Weigand <Ulrich.Weigand@de.ibm.com>,
Jonas Paulsson <paulsson@linux.vnet.ibm.com>
Subject: Re: clang-13: s390/kernel/head64.S:24:17: error: invalid operand for instruction
Date: Mon, 11 Oct 2021 12:00:49 +0200 [thread overview]
Message-ID: <YWQLUd+BQ1Cc88HG@osiris> (raw)
In-Reply-To: <CA+G9fYuqwJD5bFO74vG6Mvbbt1G8rxzd_NDHg-gtOZ6rPjeu3A@mail.gmail.com>
On Mon, Oct 11, 2021 at 11:47:42AM +0530, Naresh Kamboju wrote:
> [Please ignore this email if it is already reported ]
>
> Following s390 builds failed due to warnings / errors.
>
> metadata:
> git_describe: v5.15-rc5
> git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git_short_log: 64570fbc14f8 (\"Linux 5.15-rc5\")
> target_arch: s390
> toolchain: clang-13
>
>
> Fail (2861 errors) s390 (tinyconfig) with clang-nightly
> @ https://builds.tuxbuild.com/1zL35IUSGhDGeVuyIrAp7eyzEUi/
> Fail (2861 errors) s390 (tinyconfig) with clang-13
> @ https://builds.tuxbuild.com/1zL35Hn7wjErKsLDM6zAgh27BYJ/
> Fail (4112 errors) s390 (allnoconfig) with clang-13
> @ https://builds.tuxbuild.com/1zL35HR60hSFvBmAcYJvKHm8Lko/
> Fail (4112 errors) s390 (allnoconfig) with clang-nightly
> @ https://builds.tuxbuild.com/1zL35DTlrX9qRGCtGqgtmmMDjnQ/
> Fail (23048 errors) s390 (defconfig) with clang-13
> @ https://builds.tuxbuild.com/1zL35DE2KWQUPxbbXeTbwIJaWXS/
> Fail (23045 errors) s390 (defconfig) with clang-nightly
> @ https://builds.tuxbuild.com/1zL35EgeQfWQDXDupp4itkUO5At/
>
>
> Build errors log:
> ----------------
> arch/s390/kernel/head64.S:24:17: error: invalid operand for instruction
> lctlg %c0,%c15,.Lctl-.LPG1(%r13) # load control registers
> ^
> arch/s390/kernel/head64.S:40:8: error: invalid operand for instruction
> lpswe .Ldw-.(%r13) # load disabled wait psw
You need to pass LLVM_IAS=0 on the make command line on s390 since
commit f12b034afeb3 ("scripts/Makefile.clang: default to LLVM_IAS=1").
LLVM's integrated assembler doesn't seem to work well when compiling
the kernel for s390 yet.
next prev parent reply other threads:[~2021-10-11 10:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-11 6:17 clang-13: s390/kernel/head64.S:24:17: error: invalid operand for instruction Naresh Kamboju
2021-10-11 10:00 ` Heiko Carstens [this message]
2021-10-11 17:31 ` Nick Desaulniers
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=YWQLUd+BQ1Cc88HG@osiris \
--to=hca@linux.ibm.com \
--cc=Ulrich.Weigand@de.ibm.com \
--cc=borntraeger@de.ibm.com \
--cc=clang-built-linux@googlegroups.com \
--cc=egorenar@linux.ibm.com \
--cc=gor@linux.ibm.com \
--cc=krebbel@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=naresh.kamboju@linaro.org \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=paulsson@linux.vnet.ibm.com \
/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