Received: by 10.192.165.148 with SMTP id m20csp1478005imm; Thu, 10 May 2018 11:18:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpJv9mLnZKqbqkYCOSNeYZLnIyVmH9zVwMW5AKYf5x2u81WAlXve8kDYz/fTL1sTDKcicS/ X-Received: by 2002:a62:d9d9:: with SMTP id b86-v6mr2343115pfl.41.1525976287898; Thu, 10 May 2018 11:18:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525976287; cv=none; d=google.com; s=arc-20160816; b=JiIBYZDmfP8YmIz7lY7puSZCykJbn2jJggB7wnEOxVPrmGG6+y3H+ZS6pBUId4LNHX GTUYTWCZKqadddTp5FPZmIdJZD9Ur+osHwlf6G/3TQVXpk4spyhnOmCd6UMd9HKNMVAr 4vIvTo/kPIs8ZvbDgx/QSh8aguzTjGpoEGR2PHoQFx57ym+uv4QFy6u0A7z9Ez3ZsM6x TBr/y4qlRHUIu0SYnEC0Jce7jQl2r0BCMMnVAK1l5c2jb2EazoHR60nplUeUA+yYS0xm pLA9vetvbrcKczlq7fe4J6/SvhAa6DLaBz1Lip7Vl+WlGU4EYhhOpRgRYqEZqeCcjFh/ e5gw== 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=+K4dG6bH8LI8kZ88swoXVKonJSyPW8TvLn13ERD+QEs=; b=eDIHiAqGGNdmuw9MorNCm0ojEziBaNNQAMPsj4OKILQWDKiprXgGqmgWqgTvn4g6i0 v2GwYSb9imJ36Kw6E1vap2bq5xtgp4qXjejCrEAsEqrgbiEFPcEAb6ODGqUuxIY5oSyc j2CC8UbOOXb2mz5J6Tay/T8/Ih5lG0tClACq68nZw7FXf0fO06+VzQAyIvaJPVFbymeY y7e8zXuTk+MLJh8AWicNr6czlW46QkFzjLCpmKJCqsulaAVXf0nJObnnhHDjivaY95Pw GvVGN/+aK2e7VTVP66VqtMYzHnaNIS20lQHhBKQx6RxJGneRkUi+BVfqmr6gh5XxQmRd 9tXQ== 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 l8-v6si1083631pgr.343.2018.05.10.11.17.53; Thu, 10 May 2018 11:18:07 -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 S1757307AbeEJSRK (ORCPT + 99 others); Thu, 10 May 2018 14:17:10 -0400 Received: from mail.skyhub.de ([5.9.137.197]:37862 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756741AbeEJSRJ (ORCPT ); Thu, 10 May 2018 14:17:09 -0400 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JxwQM9X7x1Nh; Thu, 10 May 2018 20:16:51 +0200 (CEST) Received: from pd.tnic (p200300EC2BC8BE00CCA7BC9076439171.dip0.t-ipconnect.de [IPv6:2003:ec:2bc8:be00:cca7:bc90:7643:9171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id BFD4B1EC05B0; Thu, 10 May 2018 20:16:51 +0200 (CEST) Date: Thu, 10 May 2018 20:16:44 +0200 From: Borislav Petkov To: Alexei Starovoitov Cc: Peter Zijlstra , Yonghong Song , mingo@kernel.org, torvalds@linux-foundation.org, ast@fb.com, daniel@iogearbox.net, linux-kernel@vger.kernel.org, x86@kernel.org, netdev@vger.kernel.org, kernel-team@fb.com, Thomas Gleixner Subject: Re: [PATCH bpf v3] x86/cpufeature: bpf hack for clang not supporting asm goto Message-ID: <20180510181644.GE15757@pd.tnic> References: <20180504033119.2130788-1-yhs@fb.com> <20180510100634.GZ12217@hirez.programming.kicks-ass.net> <20180510155240.5s2fpgm2fwal3jlj@ast-mbp.dhcp.thefacebook.com> <20180510162028.GB16130@pd.tnic> <20180510175833.nujqinu26mydeape@ast-mbp.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180510175833.nujqinu26mydeape@ast-mbp.dhcp.thefacebook.com> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 10, 2018 at 10:58:35AM -0700, Alexei Starovoitov wrote: > libbcc is a library. It's not only used by bcc scripts, but by production > services that compile bpf programs with clang. Let me get this straight: libbcc fails to compile because it includes (through some long include chain) the kernel header arch/x86/include/asm/cpufeature.h. Is that it? -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.