public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* Build failure with probe patch
@ 2015-02-18 17:51 Steve Ellcey 
  2015-02-18 23:58 ` Sergio Durigan Junior
  0 siblings, 1 reply; 16+ messages in thread
From: Steve Ellcey  @ 2015-02-18 17:51 UTC (permalink / raw)
  To: jose.marchesi, gdb-patches


Is anyone else seeing this error when building the top-of-tree gdb:


cc1: warnings being treated as errors
/scratch/sellcey/gdb-bug/src/gdb/gdb/dtrace-probe.c: In function 'dtrace_get_probes':
/scratch/sellcey/gdb-bug/src/gdb/gdb/dtrace-probe.c:624: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[1]: *** [dtrace-probe.o] Error 1


I get this when building gdb on a CentOS 5 system with GCC 4.1.2 but I do not
see it when building on a Ubuntu 12.04 system with GCC 4.6.3.  I am not sure
if this is due to the old GCC or if it is a legitimate error.

Steve Ellcey
sellcey@imgtec.com

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

end of thread, other threads:[~2015-02-19 21:59 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-18 17:51 Build failure with probe patch Steve Ellcey 
2015-02-18 23:58 ` Sergio Durigan Junior
2015-02-19  0:48   ` Steve Ellcey
2015-02-19  4:39     ` Sergio Durigan Junior
2015-02-19 15:55     ` Jose E. Marchesi
2015-02-19 16:53       ` Pedro Alves
2015-02-19 17:32         ` Jose E. Marchesi
2015-02-19 17:48           ` Steve Ellcey
2015-02-19 20:41             ` Jose E. Marchesi
2015-02-19 21:18               ` Sergio Durigan Junior
2015-02-19 21:48                 ` Steve Ellcey
2015-02-19 21:52                   ` Sergio Durigan Junior
2015-02-19 21:59                     ` Steve Ellcey
2015-02-19 18:30           ` Pedro Alves
2015-02-19 20:11             ` Jose E. Marchesi
2015-02-19 10:43   ` Pedro Alves

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 read-only IMAP folder(s) and NNTP newsgroup(s).