Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933033AbcJHCEi (ORCPT ); Fri, 7 Oct 2016 22:04:38 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:3143 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932830AbcJHCEh (ORCPT ); Fri, 7 Oct 2016 22:04:37 -0400 Subject: Re: [PATCH v2 00/18] perf clang: Support compiling BPF script on the fly To: Arnaldo Carvalho de Melo References: <1474874832-134786-1-git-send-email-wangnan0@huawei.com> <20161005232057.GL30363@kernel.org> CC: , , , , Arnaldo Carvalho de Melo , Alexei Starovoitov , He Kuang , Jiri Olsa From: "Wangnan (F)" Message-ID: <57F85402.6010200@huawei.com> Date: Sat, 8 Oct 2016 10:03:46 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20161005232057.GL30363@kernel.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.111.66.109] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 913 Lines: 25 On 2016/10/6 7:20, Arnaldo Carvalho de Melo wrote: > Em Mon, Sep 26, 2016 at 07:26:54AM +0000, Wang Nan escreveu: >> This patch add builtin clang, allow perf compile BPF scripts on the fly. >> This is the first step to implement what I announced at LinuxCon 2016 NA: > Ok, so I refreshed this series to apply against my latest perf/core and > put it in a tmp.perf/builtin-clang, will continue testing it tomorrow > after checking if fedora24 has those llvm-dev and libclang-dev that can > be used with this, do you know if it works on that distro? Sorry for the late. I only tested on ubuntu. I can see a llvm-static package for fedora: https://apps.fedoraproject.org/packages/llvm-static/ but for clang I can find only dynamic libraries: https://apps.fedoraproject.org/packages/clang-libs/ I think we can make it work by changing 'libclang$(l).a' to 'libclang$(l).so' in commit 1125e7f6cf29. Thank you.