Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1315225

Re: clang --target=bpf missing on f23 was: Re: [PATCH 1/2] perf test: Add libbpf relocation checker

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: clang --target=bpf missing on f23 was: Re: [PATCH 1/2] perf test: Add libbpf relocation checker
Date Fri, 22 Jan 2016 20:10:02 +0100
Message-ID <qTPfQ-8lG-9@gated-at.bofh.it> (permalink)
References <qTGcy-25g-19@gated-at.bofh.it> <qTGcy-25g-27@gated-at.bofh.it> <qTM8i-5YV-15@gated-at.bofh.it> <qTNnI-73X-7@gated-at.bofh.it> <qTNH4-7bM-17@gated-at.bofh.it> <qTNQJ-7gK-1@gated-at.bofh.it> <qTOa6-7nC-1@gated-at.bofh.it>
X-Original-To Daniel Borkmann <daniel@iogearbox.net>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-URL http://acmel.wordpress.com
User-Agent Mutt/1.5.23 (2014-03-12)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 25
Organization linux.* mail to news gateway
X-Original-Cc Adam Jackson <ajax@redhat.com>, Alexei Starovoitov <alexei.starovoitov@gmail.com>, Wang Nan <wangnan0@huawei.com>, ast@kernel.org, linux-kernel@vger.kernel.org, Li Zefan <lizefan@huawei.com>, pi3orama@163.com, Dave Airlie <airlied@redhat.com>
X-Original-Date Fri, 22 Jan 2016 16:09:40 -0300
X-Original-Message-ID <20160122190940.GJ4034@kernel.org>
X-Original-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>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1315225

Show key headers only | View raw


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

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] perf bpf: Fix relocation error Wang Nan <wangnan0@huawei.com> - 2016-01-22 10:30 +0100
  [PATCH 1/2] perf test: Add libbpf relocation checker Wang Nan <wangnan0@huawei.com> - 2016-01-22 10:30 +0100
    Re: [PATCH 1/2] perf test: Add libbpf relocation checker Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-22 16:50 +0100
      Re: [PATCH 1/2] perf test: Add libbpf relocation checker Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2016-01-22 18:10 +0100
        clang --target=bpf missing on f23 was:  Re: [PATCH 1/2] perf test:  Add libbpf relocation checker Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-22 18:30 +0100
          Re: clang --target=bpf missing on f23 was:  Re: [PATCH 1/2] perf  test: Add libbpf relocation checker Adam Jackson <ajax@redhat.com> - 2016-01-22 18:40 +0100
            Re: clang --target=bpf missing on f23 was:  Re: [PATCH 1/2] perf  test: Add libbpf relocation checker Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2016-01-22 18:50 +0100
              Re: clang --target=bpf missing on f23 was:  Re: [PATCH 1/2] perf  test: Add libbpf relocation checker David Airlie <airlied@redhat.com> - 2016-01-22 22:10 +0100
            Re: clang --target=bpf missing on f23 was:  Re: [PATCH 1/2] perf  test: Add libbpf relocation checker Daniel Borkmann <daniel@iogearbox.net> - 2016-01-22 19:00 +0100
              Re: clang --target=bpf missing on f23 was:  Re: [PATCH 1/2] perf  test: Add libbpf relocation checker Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-22 20:10 +0100

csiph-web