From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44018C48BD3 for ; Wed, 26 Jun 2019 19:46:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A193216C8 for ; Wed, 26 Jun 2019 19:46:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726401AbfFZTqY (ORCPT ); Wed, 26 Jun 2019 15:46:24 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:50238 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726104AbfFZTqY (ORCPT ); Wed, 26 Jun 2019 15:46:24 -0400 Received: from p5b06daab.dip0.t-ipconnect.de ([91.6.218.171] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hgDro-00054F-Ep; Wed, 26 Jun 2019 21:46:04 +0200 Date: Wed, 26 Jun 2019 21:46:02 +0200 (CEST) From: Thomas Gleixner To: Nathan Chancellor cc: Kees Cook , Peter Zijlstra , Miguel Ojeda , "Gustavo A. R. Silva" , Joe Perches , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Borislav Petkov , "H. Peter Anvin" , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Kan Liang , linux-kernel , Shawn Landden , clang-built-linux@googlegroups.com, Josh Poimboeuf Subject: Re: [PATCH] perf/x86/intel: Mark expected switch fall-throughs In-Reply-To: <20190626190028.GA14249@archlinux-epyc> Message-ID: References: <3dc75cd4-9a8d-f454-b5fb-64c3e6d1f416@embeddedor.com> <20190625071846.GN3436@hirez.programming.kicks-ass.net> <201906251009.BCB7438@keescook> <20190625180525.GA119831@archlinux-epyc> <20190625202746.GA83499@archlinux-epyc> <20190626051035.GA114229@archlinux-epyc> <20190626190028.GA14249@archlinux-epyc> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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