Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1051502imm; Wed, 22 Aug 2018 18:11:38 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwuZ8ID6gwtrB4IQDvyt1+b+tEMV/i44OAGCZKUnovy8nadDlfn1DA4tqzGVEANQs9WIgYQ X-Received: by 2002:a62:25c5:: with SMTP id l188-v6mr59538636pfl.179.1534986697942; Wed, 22 Aug 2018 18:11:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534986697; cv=none; d=google.com; s=arc-20160816; b=Bq/OrV+EUTRV+v5mOOMDpWjReBpCT/RTHbrQt5YhcHR+ZsghaaHBiYMyXqcAk1dXeq xa2EU9fKXhRg88zFimrzaTrKlgwLBQ9FcqL9UFFzs8ReOfm3fIgKXxsH/fBeYfLnc2Up HJawU8+MpucgVgY7b1sDf+VOKJCT7SBQ2M9iQjywuxWucBqIJ4hgXoNCMePPSI0YEwFX 3zeLtqax81rxOK0NWfPVSWmdZmOpNHTr3N6xlgadmZ+rLnTC4b0YBNY6stTG4ImqpYt8 vGEAHtLsxHeRFqtkSVtn4Ej51/kN252MqT6fEpgUdlvMuERnHULkcLqpb723F96Jmq+g JPfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=YikwTzOiUU6+3ltiG8EGma5/utoMJU1CL6wxHbd/yWw=; b=O1TYJoB2RBqckviS7d1qEwvKp8SJXgsWfgOUEaA8X4SfJOnlPlcAQz/rj+kGf8M4Q5 wyJLDPhbulk5ZcOOODwDPOiKEbxjSMIRhhCYLXa+ZiulOibDPFPQ8EtGHoc/dYLo1eZe hvwBddi9ng+58o6qEQkPsUkENfsNEi14+7vKe4O0NSdoyVDYwRFAeiq70f6g2NGuvGPv VpP2CGzL1x0HR4OQkb31jzfRYIVrt02+gQswnQRphK0o0x7h64uvdwaO53QVff5qVD7S X0UPzFzXpWQb2lM0ozKUQrCYHbikhkrFe151JgoMtfPIBYfCqNDldrwuWd1fUDXsItY7 X7pA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a25-v6si3049654pga.235.2018.08.22.18.11.22; Wed, 22 Aug 2018 18:11:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726264AbeHWEh1 (ORCPT + 99 others); Thu, 23 Aug 2018 00:37:27 -0400 Received: from nautica.notk.org ([91.121.71.147]:33711 "EHLO nautica.notk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726080AbeHWEh1 (ORCPT ); Thu, 23 Aug 2018 00:37:27 -0400 Received: by nautica.notk.org (Postfix, from userid 1001) id CC432C009; Thu, 23 Aug 2018 03:10:17 +0200 (CEST) Date: Thu, 23 Aug 2018 03:10:02 +0200 From: Dominique Martinet To: Linus Torvalds Cc: Nick Desaulniers , Kees Cook , Joe Perches , Jonathan Corbet , Masahiro Yamada , Arnd Bergmann , David Woodhouse , Linux Kernel Mailing List , Thomas Gleixner , Will Deacon , Geert Uytterhoeven , Ingo Molnar , Andrew Morton , Daniel Borkmann , Peter Anvin Subject: Re: [PATCH] include/linux/compiler*.h: make compiler-*.h mutually exclusive Message-ID: <20180823011002.GB6244@nautica> References: <20180822233724.110454-1-ndesaulniers@google.com> <20180823002508.GA822@nautica> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds wrote on Wed, Aug 22, 2018: > I've fixed that manually, but when I tried to test it I just hit the > > arch/x86/Makefile:179: *** Compiler lacks asm-goto support.. Stop. > > error. > > Do you have some experimental clang build with asm goto support? What > version? Or is it just that you're building ARM, not x86? I'm not building linux directly, but BPF programs that indirectly uses clang with bcc On fedora you can install bcc-tools and run e.g. /usr/share/bcc/tools/execsnoop that will compile something at runtime. If the package isn't available for your distro you can just install bcc and run the script from their repo[1] [1] https://raw.githubusercontent.com/iovisor/bcc/master/tools/execsnoop.py Thanks, -- Dominique