From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754147AbcAVTJq (ORCPT ); Fri, 22 Jan 2016 14:09:46 -0500 Received: from mail.kernel.org ([198.145.29.136]:49674 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753758AbcAVTJo (ORCPT ); Fri, 22 Jan 2016 14:09:44 -0500 Date: Fri, 22 Jan 2016 16:09:40 -0300 From: Arnaldo Carvalho de Melo To: Daniel Borkmann Cc: Adam Jackson , Alexei Starovoitov , Wang Nan , ast@kernel.org, linux-kernel@vger.kernel.org, Li Zefan , pi3orama@163.com, Dave Airlie Subject: Re: clang --target=bpf missing on f23 was: Re: [PATCH 1/2] perf test: Add libbpf relocation checker Message-ID: <20160122190940.GJ4034@kernel.org> References: <1453454841-232334-1-git-send-email-wangnan0@huawei.com> <1453454841-232334-2-git-send-email-wangnan0@huawei.com> <20160122154050.GH4034@kernel.org> <20160122170749.GA9608@ast-mbp.thefacebook.com> <20160122172222.GI4034@kernel.org> <1453484142.2587.7.camel@redhat.com> <56A26D32.90806@iogearbox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56A26D32.90806@iogearbox.net> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Jan 22, 2016 at 06:56:02PM +0100, Daniel Borkmann escreveu: > On 01/22/2016 06:35 PM, Adam Jackson wrote: > >On Fri, 2016-01-22 at 14:22 -0300, Arnaldo Carvalho de Melo wrote: > > > >> the 'bpf' target for clang is being used together with perf to > >>build scriptlets into object code that then gets uploaded to the kernel > >>via sys_bpf(), was the decision not to include 'bpf' just an accident? > > > >I wouldn't call it a "decision", that would imply intent. The main > >reason I explicitly list targets for llvm is to limit the CPU backends > >to arches Fedora actually runs on (which itself is because I really > >only care about llvmpipe, and am only touching llvm because it's in my > >way). Had no idea there was a bpf backend, so never thought to enable > >it. > > > >llvm-3.7.0-4.fc2{3,4} are building now with the bpf backend enabled, > >I'll create an update for F23 when it's built. > > Awesome, thanks! Seconded, thanks for the fast response and for adding the bpf target! Now that is a good, intentional decision 8-) - Arnaldo