public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf tools: Kill off -Wcast-align
@ 2009-10-26  5:40 Paul Mundt
  2009-10-26  6:25 ` Ingo Molnar
  2009-10-26 11:38 ` [tip:perf/urgent] perf tools: Remove -Wcast-align tip-bot for Paul Mundt
  0 siblings, 2 replies; 9+ messages in thread
From: Paul Mundt @ 2009-10-26  5:40 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel

The present use of -Wcast-align causes the build to blow up on SH due to
generating a "cast increases required alignment of target type" error on
each invocation of list_for_each_entry().

It seems that this was previously reported and killed off in the ia64
support patch, but nothing seems to have happened with that. Presumably
the same problem still remains there, too.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

---

 tools/perf/Makefile |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 88c51b8..39a84be 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -177,8 +177,7 @@ endif
 # Include saner warnings here, which can catch bugs:
 #
 
-EXTRA_WARNINGS := -Wcast-align
-EXTRA_WARNINGS := $(EXTRA_WARNINGS) -Wformat
+EXTRA_WARNINGS := -Wformat
 EXTRA_WARNINGS := $(EXTRA_WARNINGS) -Wformat-security
 EXTRA_WARNINGS := $(EXTRA_WARNINGS) -Wformat-y2k
 EXTRA_WARNINGS := $(EXTRA_WARNINGS) -Wshadow

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

end of thread, other threads:[~2009-10-28  0:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-26  5:40 [PATCH] perf tools: Kill off -Wcast-align Paul Mundt
2009-10-26  6:25 ` Ingo Molnar
2009-10-26  9:47   ` Paul Mundt
2009-10-26 10:08     ` Pekka Enberg
2009-10-26 11:21       ` Ingo Molnar
2009-10-26 22:40     ` David Miller
2009-10-27 13:50       ` Ingo Molnar
2009-10-28  0:59         ` David Miller
2009-10-26 11:38 ` [tip:perf/urgent] perf tools: Remove -Wcast-align tip-bot for Paul Mundt

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