Re: perf jvmti: unconditionally links against -lelf

2017-04-12 Thread Alexey Brodkin
Hi Jiri, On Wed, 2017-04-12 at 12:19 +0200, Jiri Olsa wrote: > 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 > >

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---

perf jvmti: unconditionally links against -lelf

2017-04-12 Thread Alexey Brodkin
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 make NO_LIBELF=1 --->8 And got the following buil