Re: [PATCH 5/6] perf tools: disable JVMTI if no ELF support available
From: Kim Phillips
Date: Thu Apr 13 2017 - 07:40:23 EST
On Tue, 11 Apr 2017 23:49:18 -0700
David Carrillo-Cisneros <davidcc@xxxxxxxxxx> wrote:
> The build of JVMTI depends on LIBELF (-lelf). Make Makefile.conf
> check this dependendancy and notify user when not present.
>
> Signed-off-by: David Carrillo-Cisneros <davidcc@xxxxxxxxxx>
> ---
This fixes cross-building perf for arm64 on Ubuntu, as well as native.
Before this patch this error:
LINK libperf-jvmti.so
/usr/lib/gcc-cross/aarch64-linux-gnu/6/../../../../aarch64-linux-gnu/bin/ld: cannot find -lelf
collect2: error: ld returned 1 exit status
was avoided with make NO_JVMTI=1.
So for this and the rest of the series, FWIW:
Tested-by: Kim Phillips <kim.phillips@xxxxxxx>
Thanks,
Kim