From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752516AbdDMLkT (ORCPT ); Thu, 13 Apr 2017 07:40:19 -0400 Received: from foss.arm.com ([217.140.101.70]:53878 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752908AbdDMLkS (ORCPT ); Thu, 13 Apr 2017 07:40:18 -0400 Date: Thu, 13 Apr 2017 12:40:06 +0100 From: Kim Phillips To: David Carrillo-Cisneros Cc: , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Andi Kleen , Simon Que , Wang Nan , Jiri Olsa , He Kuang , Masami Hiramatsu , "Stephane Eranian" , Paul Turner Subject: Re: [PATCH 5/6] perf tools: disable JVMTI if no ELF support available Message-Id: <20170413124006.99ad48c9e88ccee2ba6258fd@arm.com> In-Reply-To: <20170412064919.92449-7-davidcc@google.com> References: <20170412064919.92449-1-davidcc@google.com> <20170412064919.92449-7-davidcc@google.com> Organization: ARM X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.30; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 11 Apr 2017 23:49:18 -0700 David Carrillo-Cisneros 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 > --- 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 Thanks, Kim