From: Nathan Chancellor <nathan@kernel.org>
To: Naresh Kamboju <naresh.kamboju@linaro.org>
Cc: llvm@lists.linux.dev, open list <linux-kernel@vger.kernel.org>,
Linux-Next Mailing List <linux-next@vger.kernel.org>,
lkft-triage@lists.linaro.org, borislav.petkov@amd.com,
"H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Subject: Re: x86/include/asm/arch_hweight.h:49:15: error: invalid input size for constraint 'D'
Date: Tue, 7 Feb 2023 09:28:58 -0700 [thread overview]
Message-ID: <Y+J8SobyVojJWuFv@dev-arch.thelio-3990X> (raw)
In-Reply-To: <CA+G9fYuSWodh1teau4jGG_P15yT-ev1+bS7HAAmMu5D5J-d2vw@mail.gmail.com>
Hi Naresh,
On Tue, Feb 07, 2023 at 01:27:05PM +0530, Naresh Kamboju wrote:
> Following Build regressions warnings / errors noticed on Linux next-20230207.
>
> Regressions found on x86_64:
>
> - build/clang-15-lkftconfig-compat
> - build/clang-nightly-lkftconfig
> - build/clang-15-lkftconfig
> - build/clang-15-lkftconfig-kcsan
> - build/clang-lkftconfig
>
> In file included from arch/x86/entry/vdso/vdso32/vgetcpu.c:2:
> In file included from arch/x86/entry/vdso/vdso32/../vgetcpu.c:8:
> In file included from include/linux/kernel.h:22:
> In file included from include/linux/bitops.h:68:
> In file included from arch/x86/include/asm/bitops.h:420:
> arch/x86/include/asm/arch_hweight.h:49:15: error: invalid input size
> for constraint 'D'
> : REG_IN (w));
> ^
> In file included from arch/x86/entry/vdso/vdso32/vgetcpu.c:2:
> In file included from arch/x86/entry/vdso/vdso32/../vgetcpu.c:8:
> In file included from include/linux/kernel.h:25:
> In file included from include/linux/math.h:6:
> arch/x86/include/asm/div64.h:85:34: error: invalid output size for
> constraint '=a'
> asm ("mulq %2; divq %3" : "=a" (q)
> ^
> 2 errors generated.
>
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Thanks a lot for the report as always! Looks like there is a fix pending
on the list:
https://lore.kernel.org/Y+IsCWQdXEr8d9Vy@linutronix.de/
Cheers,
Nathan
next prev parent reply other threads:[~2023-02-07 16:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-07 7:57 x86/include/asm/arch_hweight.h:49:15: error: invalid input size for constraint 'D' Naresh Kamboju
2023-02-07 16:28 ` Nathan Chancellor [this message]
2023-02-07 16:30 ` Borislav Petkov
2023-02-07 16:37 ` Nathan Chancellor
2023-02-07 16:44 ` Borislav Petkov
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=Y+J8SobyVojJWuFv@dev-arch.thelio-3990X \
--to=nathan@kernel.org \
--cc=bigeasy@linutronix.de \
--cc=borislav.petkov@amd.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=lkft-triage@lists.linaro.org \
--cc=llvm@lists.linux.dev \
--cc=naresh.kamboju@linaro.org \
--cc=tglx@linutronix.de \
/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