From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754403AbbHXUnM (ORCPT ); Mon, 24 Aug 2015 16:43:12 -0400 Received: from e35.co.us.ibm.com ([32.97.110.153]:60509 "EHLO e35.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752300AbbHXUnK (ORCPT ); Mon, 24 Aug 2015 16:43:10 -0400 X-Helo: d03dlp03.boulder.ibm.com X-MailFrom: sukadev@linux.vnet.ibm.com X-RcptTo: linux-kernel@vger.kernel.org Date: Mon, 24 Aug 2015 13:41:29 -0700 From: Sukadev Bhattiprolu To: Arnaldo Carvalho de Melo Cc: Adrian Hunter , linux-kernel@vger.kernel.org Subject: Re: Build failure due to Intel PT Message-ID: <20150824204129.GB9131@us.ibm.com> References: <20150824185131.GA6606@us.ibm.com> <20150824200458.GD19203@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150824200458.GD19203@kernel.org> X-Operating-System: Linux 2.0.32 on an i486 User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15082420-0013-0000-0000-000016DFCE44 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnaldo Carvalho de Melo [acme@kernel.org] wrote: | | > Besides adding a 'default' case, can this file be skipped when building on | > non-x86 architectures? | | Not sure, what about processing a perf.data file generated on a x86 | system using a PowerPC workstation? I am not sure either. Is that well supported? Anyway, I tried to build with WERROR=0 and get link errors like: linux-acme.git/tools/perf/perf-obj/libperf.a(libperf-in.o): In function `intel_pt_synth_branch_sample': sources/linux-acme.git/tools/perf/util/intel-pt.c:871: undefined reference to `tsc_to_perf_time' linux-acme.git/tools/perf/perf-obj/libperf.a(libperf-in.o): In function `intel_pt_sample': sources/linux-acme.git/tools/perf/util/intel-pt.c:915: undefined reference to `tsc_to_perf_time' sources/linux-acme.git/tools/perf/util/intel-pt.c:962: undefined reference to `tsc_to_perf_time' linux-acme.git/tools/perf/perf-obj/libperf.a(libperf-in.o): In function `intel_pt_process_event': sources/linux-acme.git/tools/perf/util/intel-pt.c:1454: undefined reference to `perf_time_to_tsc' ...