public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Build failure due to Intel PT
@ 2015-08-24 18:51 Sukadev Bhattiprolu
  2015-08-24 20:04 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 7+ messages in thread
From: Sukadev Bhattiprolu @ 2015-08-24 18:51 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, adrian.hunter; +Cc: linux-kernel


I am trying to build perf tool on Powerpc and get this:

util/intel-pt-decoder/intel-pt-insn-decoder.c: In function ‘intel_pt_insn_decoder’:
util/intel-pt-decoder/intel-pt-insn-decoder.c:138:3: error: switch missing default case [-Werror=switch-default]
   switch (insn->immediate.nbytes) {
   ^
cc1: all warnings being treated as errors

Besides adding a 'default' case, can this file be skipped when building on
non-x86 architectures?

I am on the perf/core branch, with HEAD pointing to:

	commit c0b4dffbc529244d3e4e3bd392f2bffa2d8531a7
	Author: Arnaldo Carvalho de Melo <acme@redhat.com>
	Date:   Mon Aug 24 13:33:14 2015 -0300

	perf annotate: Reset the dso find_symbol cache when removing symbols

Sukadev


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-08-25 14:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-24 18:51 Build failure due to Intel PT Sukadev Bhattiprolu
2015-08-24 20:04 ` Arnaldo Carvalho de Melo
2015-08-24 20:41   ` Sukadev Bhattiprolu
2015-08-25  7:20   ` Adrian Hunter
2015-08-25 11:35     ` Arnaldo Carvalho de Melo
2015-08-25 11:41       ` Adrian Hunter
2015-08-25 14:24         ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox