From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124363 invoked by alias); 3 Aug 2015 17:12:34 -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 124281 invoked by uid 89); 3 Aug 2015 17:12:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: e06smtp15.uk.ibm.com Received: from e06smtp15.uk.ibm.com (HELO e06smtp15.uk.ibm.com) (195.75.94.111) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 03 Aug 2015 17:12:32 +0000 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 3 Aug 2015 18:12:29 +0100 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 3 Aug 2015 18:12:26 +0100 X-MailFrom: uweigand@de.ibm.com X-RcptTo: gdb-patches@sourceware.org Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 7A85D17D8042 for ; Mon, 3 Aug 2015 18:13:54 +0100 (BST) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t73HCP4134472116 for ; Mon, 3 Aug 2015 17:12:25 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t73HCO9F013104 for ; Mon, 3 Aug 2015 11:12:25 -0600 Received: from oc7340732750.ibm.com (dyn-9-152-213-24.boeblingen.de.ibm.com [9.152.213.24]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t73HCOqB013099; Mon, 3 Aug 2015 11:12:24 -0600 Received: by oc7340732750.ibm.com (Postfix, from userid 500) id 65CB4B043; Mon, 3 Aug 2015 19:12:24 +0200 (CEST) Subject: Re: [PATCH] Replace the block_found global with explicit data-flow To: sellcey@imgtec.com Date: Mon, 03 Aug 2015 17:12:00 -0000 From: "Ulrich Weigand" Cc: derodat@adacore.com (Pierre-Marie de Rodat), xdje42@gmail.com (Doug Evans), gdb-patches@sourceware.org (GDB Patches), palves@redhat.com (Pedro Alves) In-Reply-To: <1438619922.8302.6.camel@ubuntu-sellcey> from "Steve Ellcey" at Aug 03, 2015 09:38:42 AM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20150803171224.65CB4B043@oc7340732750.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15080317-0021-0000-0000-000004D18208 X-SW-Source: 2015-08/txt/msg00038.txt.bz2 Steve Ellcey wrote: > I am seeing a different build error that I think is due to this patch. > I only see it on an old CentOS 5.11 system with GCC 4.1.2, and only when > I build gdb as a 32 bit executable instead of a 64 bit executable. > > cc1: warnings being treated as errors > /scratch/sellcey/repos/gdb-build/src/binutils-gdb/gdb/cp-namespace.c: In function 'cp_lookup_symbol_via_imports': > /scratch/sellcey/repos/gdb-build/src/binutils-gdb/gdb/cp-namespace.c:482: warning: 'sym.block' may be used uninitialized in this function I've checked in a fix for that here: https://sourceware.org/ml/gdb-patches/2015-08/msg00018.html Bye, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com