Re: perf jvmti: unconditionally links against -lelf

2017-04-12 Thread Jiri Olsa
On Wed, Apr 12, 2017 at 09:58:26AM +, Alexey Brodkin wrote: > Hi Jiri, > > Just tried to cross-compile perf with pretty bare-minimal toolchain > which has no libelf installed for the target (for the record I used > SNPS ARC pre-built arc-2016.09 tools) like that: > --->8---

Re: [PATCH] perf tools: Fix static building

2016-08-31 Thread Jiri Olsa
option. > > Signed-off-by: Alexey Brodkin > Cc: Arnaldo Carvalho de Melo > Cc: Vineet Gupta > Cc: Wang Nan > Cc: Jiri Olsa > Cc: He Kuang > Cc: Masami Hiramatsu > Cc: Namhyung Kim > Cc: Peter Zijlstra > Cc: Zefan Li > Cc: pi3or...@163.com > --- >

Re: [PATCH] perf tools: Fix static building

2016-08-31 Thread Jiri Olsa
On Mon, Aug 22, 2016 at 08:33:42PM +0300, Alexey Brodkin wrote: > With commit e3d09ec8126f ("tools lib traceevent: Export dynamic symbols > used by traceevent plugins") we started to add "--dynamic-list" in > LDFLAGS. One side-effect of that was inability to build really > statically-linked perf.