Re: [PATCH v2 00/18] perf clang: Support compiling BPF script on the fly

From: Wangnan (F)
Date: Fri Oct 07 2016 - 22:04:52 EST




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.