Thread (6 messages) 6 messages, 3 authors, 2015-10-13

next-20151007 perf build error "tools/include/linux/compiler.h:66: error: dereferencing pointer ‘res.41’ does break strict-aliasing rules"

From: Vinson Lee <hidden>
Date: 2015-10-07 18:28:28

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help