linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* next-20151007 perf build error "tools/include/linux/compiler.h:66: error: dereferencing pointer ‘res.41’ does break strict-aliasing rules"
@ 2015-10-07 18:28 Vinson Lee
  2015-10-07 18:47 ` Arnaldo Carvalho de Melo
  2015-10-08  9:12 ` Jiri Olsa
  0 siblings, 2 replies; 6+ messages in thread
From: Vinson Lee @ 2015-10-07 18:28 UTC (permalink / raw)
  To: linux-next, Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Andi Kleen, Adrian Hunter, Jiri Olsa, Rabin Vincent,
	Martin Liška

Hi.

I hit this perf build error with next-20151007 with GCC 4.4.

  CC       util/annotate.o
cc1: warnings being treated as errors
util/annotate.c: In function ‘disasm__purge’:
linux-next/tools/include/linux/compiler.h:66: error: dereferencing
pointer ‘res.41’ does break strict-aliasing rules
linux-next/tools/include/linux/compiler.h:66: note: initialized from here
util/annotate.c: In function ‘symbol__annotate’:
linux-next/tools/include/linux/compiler.h:66: error: dereferencing
pointer ‘res.41’ does break strict-aliasing rules
linux-next/tools/include/linux/compiler.h:66: note: initialized from here
linux-next/tools/include/linux/compiler.h:52: error: dereferencing
pointer ‘res.32’ does break strict-aliasing rules
linux-next/tools/include/linux/compiler.h:52: note: initialized from here

Cheers,
Vinson

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

end of thread, other threads:[~2015-10-13 14:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-07 18:28 next-20151007 perf build error "tools/include/linux/compiler.h:66: error: dereferencing pointer ‘res.41’ does break strict-aliasing rules" Vinson Lee
2015-10-07 18:47 ` Arnaldo Carvalho de Melo
2015-10-08  9:12 ` Jiri Olsa
2015-10-13  0:48   ` Vinson Lee
2015-10-13  8:52     ` [PATCH] tools include: Fix strict-aliasing rules breakage " Jiri Olsa
2015-10-13 14:44       ` 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;
as well as URLs for NNTP newsgroup(s).