From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16791 invoked by alias); 26 Nov 2011 20:48:08 -0000 Received: (qmail 16782 invoked by uid 22791); 26 Nov 2011 20:48:07 -0000 X-SWARE-Spam-Status: No, hits=-7.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 26 Nov 2011 20:47:51 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pAQKloKa003920 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 26 Nov 2011 15:47:50 -0500 Received: from host1.jankratochvil.net (ovpn-116-40.ams2.redhat.com [10.36.116.40]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id pAQKlmdZ015702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 26 Nov 2011 15:47:50 -0500 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id pAQKll5Q017661; Sat, 26 Nov 2011 21:47:47 +0100 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id pAQKlkTW017660; Sat, 26 Nov 2011 21:47:46 +0100 Date: Sat, 26 Nov 2011 20:48:00 -0000 From: Jan Kratochvil To: David Miller Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Fix build on sparc Message-ID: <20111126204746.GA17614@host1.jankratochvil.net> References: <20111126.143855.1966723588620210024.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111126.143855.1966723588620210024.davem@davemloft.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes 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: 2011-11/txt/msg00715.txt.bz2 On Sat, 26 Nov 2011 20:38:55 +0100, David Miller wrote: > sprintf_vma() expands to a printf format string appropriate for > a bfd_vma type, so the only proper cast is to that exact type. > > This fixes the build for me on sparc-*-linux*. It affects also i686-linux-gnu. It was discussed with a patch promise in: Re: [PATCH v2] Tracing notes and metadata http://sourceware.org/ml/gdb-patches/2011-11/msg00608.html Jan