From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754376AbbHJO5J (ORCPT ); Mon, 10 Aug 2015 10:57:09 -0400 Received: from mail.kernel.org ([198.145.29.136]:56276 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754059AbbHJO5G (ORCPT ); Mon, 10 Aug 2015 10:57:06 -0400 Date: Mon, 10 Aug 2015 11:57:02 -0300 From: Arnaldo Carvalho de Melo To: Andi Kleen Cc: Jiri Olsa , linux-kernel@vger.kernel.org, Andi Kleen Subject: Re: [PATCH] perf, tools: Support static linking with libdw Message-ID: <20150810145702.GB20967@kernel.org> References: <1438985928-14457-1-git-send-email-andi@firstfloor.org> <20150808152913.GH8624@krava.brq.redhat.com> <20150808164219.GD1747@two.firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150808164219.GD1747@two.firstfloor.org> 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 Sat, Aug 08, 2015 at 06:42:19PM +0200, Andi Kleen escreveu: > > please also update the warning, as now it's not obvious you need > > to install also bz2 libs (bzip2-devel on Fedora) for dwarf support.. > > we already have check for lzma > > The package should already pull it in as a dependency. Noticed that this regresses my environment, Fedora 21: [acme@zoo linux]$ rm -rf /tmp/build/perf ; mkdir -p /tmp/build/perf ; m make: Entering directory '/home/git/linux/tools/perf' BUILD: Doing 'make -j4' parallel build Auto-detecting system features: ... dwarf: [ OFF ] ... glibc: [ on ] ... gtk2: [ on ] ... libaudit: [ on ] ... libbfd: [ on ] ... libelf: [ on ] ... libnuma: [ on ] ... libperl: [ on ] ... libpython: [ on ] ... libslang: [ on ] ... libunwind: [ on ] ... libdw-dwarf-unwind: [ on ] ... zlib: [ on ] ... lzma: [ on ] config/Makefile:267: No libdw.h found or old libdw.h found or elfutils is older than 0.138, disables dwarf support. Please install new elfutils-devel/libdw-dev MKDIR /tmp/build/perf/util/ Have not investigated, just noticed that dwarf is disabled if this patch is applied, removing it for now, will check later. - Arnaldo