Messages in this thread | | | Date | Thu, 13 Apr 2017 12:40:06 +0100 | From | Kim Phillips <> | Subject | Re: [PATCH 5/6] perf tools: disable JVMTI if no ELF support available |
| |
On Tue, 11 Apr 2017 23:49:18 -0700 David Carrillo-Cisneros <davidcc@google.com> 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@google.com> > ---
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@arm.com>
Thanks,
Kim
| |