From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13610 invoked by alias); 18 Feb 2015 17:51:45 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 13579 invoked by uid 89); 18 Feb 2015 17:51:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 18 Feb 2015 17:51:43 +0000 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 81C475925A23F; Wed, 18 Feb 2015 17:51:37 +0000 (GMT) Received: from BAMAIL02.ba.imgtec.org (10.20.40.28) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 18 Feb 2015 17:51:40 +0000 Received: from ubuntu-sellcey.mips.com (10.20.3.58) by bamail02.ba.imgtec.org (10.20.40.28) with Microsoft SMTP Server id 14.3.174.1; Wed, 18 Feb 2015 09:51:37 -0800 Received: by ubuntu-sellcey.mips.com (sSMTP sendmail emulation); Wed, 18 Feb 2015 09:51:36 -0800 From: "Steve Ellcey " Date: Wed, 18 Feb 2015 17:51:00 -0000 To: , Subject: Build failure with probe patch User-Agent: Heirloom mailx 12.5 6/20/10 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-ID: X-SW-Source: 2015-02/txt/msg00492.txt.bz2 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