From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966622AbbBCT7A (ORCPT ); Tue, 3 Feb 2015 14:59:00 -0500 Received: from wolverine02.qualcomm.com ([199.106.114.251]:18541 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756139AbbBCT65 (ORCPT ); Tue, 3 Feb 2015 14:58:57 -0500 X-IronPort-AV: E=McAfee;i="5600,1067,7701"; a="193607514" From: Christopher Covington X-IronPort-AV: E=Sophos;i="5.09,514,1418112000"; d="scan'208";a="26783947" Message-ID: <54D1287D.5020502@quicinc.com> Date: Tue, 3 Feb 2015 14:58:53 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Thunderbird/33.0 MIME-Version: 1.0 To: Wang Nan , Namhyung Kim , Jiri Olsa , "linux-kernel@vger.kernel.org" , Arnaldo Carvalho de Melo CC: Li Zefan , Ingo Molnar , Subject: Re: [PATCH] perf: fix building error in x86_64 when dwarf unwind is on. References: 1421029255-23039-1-git-send-email-wangnan0@huawei.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01F.na.qualcomm.com (10.85.0.32) To nalasexr01a.na.qualcomm.com (10.49.56.21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Commit c6e5e9fbc3ea1c1a5648a3498d085fc3978df2d4 breaks the following make invocation (-j, -C, O=, LDFLAGS=, and build directory prefix stripped to simplify report): make ARCH=x86_64 CROSS_COMPILE= EXTRA_CFLAGS= config/Makefile:128: The path 'python-config' is not executable. config/Makefile:349: 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 config/Makefile:401: Disabling post unwind, no support found. config/Makefile:439: No libaudit.h found, disables 'trace' tool, please install audit-libs-devel or libaudit-dev config/Makefile:453: slang not found, disables TUI support. Please install slang-devel or libslang-dev config/Makefile:466: GTK2 not found, disables GTK2 support. Please install gtk2-devel or libgtk2.0-dev config/Makefile:494: Missing perl devel files. Disabling perl scripting support, consider installing perl-ExtUtils-Embed config/Makefile:525: No python-config tool was found config/Makefile:525: Python support will not be built config/Makefile:597: No bfd.h/libbfd found, install binutils-dev[el]/zlib-static to gain symbol demangling config/Makefile:627: No numa.h found, disables 'perf bench numa mem' benchmark, please install numactl-devel/libnuma-devel/libnuma-dev Auto-detecting system features: ... dwarf: [ OFF ] ... glibc: [ on ] ... gtk2: [ OFF ] ... libaudit: [ OFF ] ... libbfd: [ OFF ] ... libelf: [ on ] ... libnuma: [ OFF ] ... libperl: [ OFF ] ... libpython: [ OFF ] ... libslang: [ OFF ] ... libunwind: [ OFF ] ... libdw-dwarf-unwind: [ OFF ] ... zlib: [ on ] [...] AR x86_64-linux-gnu/perf/libperf.a LINK x86_64-linux-gnu/perf/perf x86_64-linux-gnu/perf/tests/builtin-test.o:(.data+0x158): undefined reference to `test__perf_time_to_tsc' collect2: ld returned 1 exit status Thanks, Chris