All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nathan Chancellor <nathan@kernel.org>
To: Naresh Kamboju <naresh.kamboju@linaro.org>
Cc: clang-built-linux <clang-built-linux@googlegroups.com>,
	linux-stable <stable@vger.kernel.org>,
	llvm@lists.linux.dev,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Sasha Levin <sashal@kernel.org>,
	Nick Desaulniers <ndesaulniers@google.com>,
	Arnaldo Carvalho de Melo <acme@redhat.com>,
	Arnaldo Carvalho de Melo <acme@kernel.org>
Subject: Re: i386: tinyconfig: perf_event.h:838:21: error: invalid output size for constraint '=q'
Date: Mon, 25 Oct 2021 07:41:25 -0700	[thread overview]
Message-ID: <YXbCFdz4R7cikpnE@archlinux-ax161> (raw)
In-Reply-To: <CA+G9fYuhRwQhByNkWQ4OLP7y5vBTGoWdW4KrJSzJizVsDzWQSA@mail.gmail.com>

Hi Naresh,

On Sun, Oct 24, 2021 at 08:05:01AM +0530, Naresh Kamboju wrote:
> Following i386 tinyconfig  clang-13 and clang-nightly failed on
> stable-rc queue/5.4.
> 
> Fail (119 errors) with status message
> 'failure while building tuxmake target(s): default': ea3681525113
>  ("net: enetc: fix ethtool counter name for PM0_TERR")
>  i386 (tinyconfig) with clang-nightly
> @ https://builds.tuxbuild.com/1zvtvNS4eyYkOMiXtFgR7n1k0Yc/
> 
> 
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=i386
> CROSS_COMPILE=i686-linux-gnu- HOSTCC=clang CC=clang
> In file included from /builds/linux/arch/x86/events/amd/core.c:12:
> /builds/linux/arch/x86/events/amd/../perf_event.h:838:21: error:
> invalid output size for constraint '=q'
>         u64 disable_mask = __this_cpu_read(cpu_hw_events.perf_ctr_virt_mask);
> 
> build link,
> https://builds.tuxbuild.com/1zvtvNS4eyYkOMiXtFgR7n1k0Yc/
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

I am surprised this is being reported as a new issue for 5.4, as it
should have always had this error [1]. We did not fix this until 5.9
[2], meaning that 5.10 and beyond is fine. The series that did fix it
was rather long so I am not sure it is suitable for stable. My
recommendation is to disable i386 testing for 5.4 and earlier with
clang.

[1]: https://github.com/ClangBuiltLinux/linux/issues/194
[2]: https://git.kernel.org/linus/ba77c568f3160657a5f7905289c07d18c2dfde78

Cheers,
Nathan

  reply	other threads:[~2021-10-25 14:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-24  2:35 i386: tinyconfig: perf_event.h:838:21: error: invalid output size for constraint '=q' Naresh Kamboju
2021-10-25 14:41 ` Nathan Chancellor [this message]
2021-10-25 16:36   ` 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=YXbCFdz4R7cikpnE@archlinux-ax161 \
    --to=nathan@kernel.org \
    --cc=acme@kernel.org \
    --cc=acme@redhat.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=gregkh@linuxfoundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.