From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16263 invoked by alias); 20 Aug 2009 19:37:49 -0000 Received: (qmail 16249 invoked by uid 22791); 20 Aug 2009 19:37:48 -0000 X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=BAYES_00,J_CHICKENPOX_43,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Aug 2009 19:37:37 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MeDS0-0005XU-Sg for binutils@sources.redhat.com; Thu, 20 Aug 2009 21:37:33 +0200 Received: from 66.227.30.35 ([66.227.30.35]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Aug 2009 21:37:32 +0200 Received: from lhyatt by 66.227.30.35 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Aug 2009 21:37:32 +0200 To: binutils@sources.redhat.com From: Lewis Hyatt Subject: Re: gprof and int overflow Date: Fri, 21 Aug 2009 01:50:00 -0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00389.txt.bz2 Ian Lance Taylor google.com> writes: > It's a limitation of the format of the gmon.out file. The counts are > defined to be 32-bit integers. I don't know of any workaround. > > Ian > > OK thanks... maybe some day there will be a -pg64 option to gcc or something like that, since these days I can overflow a 32-bit counter on my coffee break :-). -Lewis