Re: [Linux-6.11-rc4] perf BROKEN with LLVM/Clang 19.1.0-rc3
From: Sedat Dilek
Date: Thu Aug 22 2024 - 14:30:05 EST
On Thu, Aug 22, 2024 at 8:20 PM Arnaldo Carvalho de Melo
<acme@xxxxxxxxxx> wrote:
>
> On Thu, Aug 22, 2024 at 11:17:21AM -0700, Namhyung Kim wrote:
> > > On Thu, Aug 22, 2024 at 7:40 PM Arnaldo Carvalho de Melo
> > > <acme@xxxxxxxxxx> wrote:
> > > > From 155212c965b5b23a90b8558449dbfd1c60dad934 Mon Sep 17 00:00:00 2001
> > > > From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> > > > Date: Thu, 22 Aug 2024 14:13:49 -0300
> > > > Subject: [PATCH 1/1] perf python: Disable -Wno-cast-function-type-mismatch if
> > > > present on clang
> > > >
> > > > The -Wcast-function-type-mismatch option was introduced in clang 19 and
> > > > its enabled by default, since we use -Werror, and python bindings do
> > > > casts that are valid but trips this warning, disable it if present.
> > > >
> > > > Reported-by: Sedat Dilek <sedat.dilek@xxxxxxxxx>
> > > > Tested-by: Sedat Dilek <sedat.dilek@xxxxxxxxx>
> > > > Cc: Ian Rogers <irogers@xxxxxxxxxx>
> > > > Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> > > > Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
> > > > Cc: Nathan Chancellor <nathan@xxxxxxxxxx>
> > > > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> > > > Link: https://lore.kernel.org/lkml/CA+icZUVtHn8X1Tb_Y__c-WswsO0K8U9uy3r2MzKXwTA5THtL7w@xxxxxxxxxxxxxx
> > > > Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> >
> > Can we also add 'Fixes' tag to make this picked by stable kernels?
>
> Fixes what? This isn't a regression, clang 19 isn't available for Fedora
> 40, the most recent.
>
> - Arnaldo
>From [1]:
LLVM Release Schedule - 19.1.x:
Jul 23rd: release/19.x branch created
Jul 26th: 19.1.0-rc1
Aug 6th: 19.1.0-rc2
Aug 20th: 19.1.0-rc3
Sep 3rd: 19.1.0 <--- XXX
Sep 17th: 19.1.1
Oct 1st: 19.1.2
Oct 15th: 19.1.3
Oct 29th: 19.1.4
Nov 12th: 19.1.5
Nov 26th: 19.1.6 (if necessary)
-Sedat-
[1] https://github.com/ClangBuiltLinux/linux/issues/2040