[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190626200306.GA72437@archlinux-epyc>
Date: Wed, 26 Jun 2019 13:03:06 -0700
From: Nathan Chancellor <natechancellor@...il.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Kees Cook <keescook@...omium.org>,
Peter Zijlstra <peterz@...radead.org>,
Miguel Ojeda <miguel.ojeda.sandonis@...il.com>,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>,
Joe Perches <joe@...ches.com>, Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>,
"maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" <x86@...nel.org>,
Kan Liang <kan.liang@...ux.intel.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
Shawn Landden <shawn@....icu>,
clang-built-linux@...glegroups.com,
Josh Poimboeuf <jpoimboe@...hat.com>
Subject: Re: [PATCH] perf/x86/intel: Mark expected switch fall-throughs
On Wed, Jun 26, 2019 at 09:46:02PM +0200, Thomas Gleixner wrote:
> On Wed, 26 Jun 2019, Nathan Chancellor wrote:
> > On Wed, Jun 26, 2019 at 05:18:37PM +0200, Thomas Gleixner wrote:
> > > tarball with log and the preprocessed source and run scripts:
> > >
> > > https://tglx.de/~tglx/tc-crash.tar.bz2
> > >
> > > The machine runs up to date debian stretch which has backports enabled and
> > > I just used the install command from the github project page you linked
> > > to. Getting started section.
> > >
> > Great, thank you! It explodes during lowering, which is a backend issue
> > so that's fun :/
> >
> > My guess is that this is a problem with -march=native on that version of
> > LLVM (since a newer one works). Could you try this patch that makes that
> > opt-in and see if that fixes it?
> >
> > https://github.com/nathanchance/tc-build/commit/9f1ae41cd4246f9e4d011542f094aa0df2c069b4
>
> clang --version
> clang version 3.8.1-24 (tags/RELEASE_381/final)
> Target: x86_64-pc-linux-gnu
> Thread model: posix
> InstalledDir: /usr/bin
>
> ./build-llvm.py
> ...
> LLVM build duration: 0:03:14
>
> Tested-by: Thomas Gleixner <tglx@...utronix.de>
Fantastic, thank you!
https://github.com/ClangBuiltLinux/tc-build/pull/19
Should be merged soon hopefully.
Cheers,
Nathan
Powered by blists - more mailing lists