From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11663 invoked by alias); 5 Aug 2009 15:08:20 -0000 Received: (qmail 11654 invoked by uid 22791); 5 Aug 2009 15:08:19 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 05 Aug 2009 15:08:13 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n75F7lSV025157; Wed, 5 Aug 2009 11:07:48 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n75F7ku6004944; Wed, 5 Aug 2009 11:07:46 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n75F7jTc013505; Wed, 5 Aug 2009 11:07:46 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 9A02537857C; Wed, 5 Aug 2009 09:07:41 -0600 (MDT) To: "Ulrich Weigand" Cc: gdb-patches@sourceware.org Subject: Re: RFA: fix warning building spu-tdep.c References: <200908051350.n75DoUex005822@d12av02.megacenter.de.ibm.com> From: Tom Tromey Reply-To: tromey@redhat.com Date: Wed, 05 Aug 2009 15:08:00 -0000 In-Reply-To: <200908051350.n75DoUex005822@d12av02.megacenter.de.ibm.com> (Ulrich Weigand's message of "Wed\, 5 Aug 2009 15\:50\:29 +0200 \(CEST\)") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 X-SW-Source: 2009-08/txt/msg00074.txt.bz2 >>>>> "Ulrich" == Ulrich Weigand writes: Ulrich> Huh. I'm assuming this happens when using --enable-targets=all Ulrich> on a 32-bit host with a 32-bit primary target, right? Yes, that's right. Ulrich> If you change this to cast to "int" instead, this would be OK with me. Thanks. I'll commit this shortly. Ulrich> I'll have a look at how this can be fixed. Probably we need to Ulrich> enable support only with --enable-64-bit-bfd. Yeah. Maybe I ought to configure with that option. Tom