lkml.org 
[lkml]   [2017]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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

    \
     
     \ /
      Last update: 2017-04-13 13:41    [W:4.157 / U:1.420 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site