From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752778AbbG1VVp (ORCPT ); Tue, 28 Jul 2015 17:21:45 -0400 Received: from mail.kernel.org ([198.145.29.136]:50265 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751187AbbG1VVo (ORCPT ); Tue, 28 Jul 2015 17:21:44 -0400 Date: Tue, 28 Jul 2015 18:21:38 -0300 From: Arnaldo Carvalho de Melo To: Adrian Hunter Cc: Jiri Olsa , Peter Zijlstra , Ingo Molnar , linux-kernel@vger.kernel.org, Namhyung Kim Subject: Re: [RFC/BUG] perf tools: static build fails Message-ID: <20150728212138.GF575@kernel.org> References: <20150728151347.GA14740@krava.redhat.com> <20150728161139.GE575@kernel.org> <55B7F0C1.7050507@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55B7F0C1.7050507@intel.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, Jul 29, 2015 at 12:14:41AM +0300, Adrian Hunter escreveu: > On 28/07/2015 7:11 p.m., Arnaldo Carvalho de Melo wrote: > >Em Tue, Jul 28, 2015 at 05:13:47PM +0200, Jiri Olsa escreveu: > >>it's failing on perf-read-vdso32 tool.. attached patch fixes that > >>for me > >To build it statically: > > make -C tools/perf O=/tmp/build/perf LDFLAGS=-static install-bin > >Adrian, I wonder if building just these utilities non-statically when we > >ask for a static build of the main tool is ok, is it? > Not really. > Static build works for me, including building perf-read-vdso32 statically, > so I am not sure what the problem is? The static build stops for me way before getting to these utilities, so I don't know, I fixed an unrelated problem, but Jiri is the one having trouble in this one, Jiri, can you post the output of the build when it fails? - Arnaldo