Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752731AbbBSK5I (ORCPT ); Thu, 19 Feb 2015 05:57:08 -0500 Received: from filtteri2.pp.htv.fi ([213.243.153.185]:57930 "EHLO filtteri2.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752075AbbBSK5G (ORCPT ); Thu, 19 Feb 2015 05:57:06 -0500 Date: Thu, 19 Feb 2015 12:56:56 +0200 From: Aaro Koskinen To: He Kuang Cc: namhyung@kernel.org, mingo@redhat.com, wangnan0@huawei.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] perf: fix building error in x86_64 Message-ID: <20150219105656.GA8558@fuloong-minipc.musicnaut.iki.fi> References: <20150213053106.GH30788@sejong> <1423811474-13266-1-git-send-email-hekuang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1423811474-13266-1-git-send-email-hekuang@huawei.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 Content-Length: 630 Lines: 22 Hi, On Fri, Feb 13, 2015 at 03:11:14PM +0800, He Kuang wrote: > When build with ARCH=x86_64, perf failed to compile with following error: > > tests/builtin-test.o:(.data+0x158): undefined reference to `test__perf_time_to_tsc' [...] > +ifeq ($(ARCH), x86_64) > + override ARCH := x86 > +endif The same error happens also with ARCH=i386. So I think both cases should be fixed. A. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/