I have the same problem as described below, but on Mac OS X 10.4.6.
The bug was reported on May 24, 2005 (or possibly earlier). Certainly
Apple has had time to fix it. Will they? Just the latest frustration
trying to switch from Unix to Mac...
Bob
Subject: Re: problems with gprof on OS X Tiger
From: Diarmuid Corcoran <email@hidden>
Date: Tue, 24 May 2005 20:47:50 +0200
Hi,
Thanks for that info! I've bug reported this problem as "Problem ID:
4123355" last week. Haven't received any further information from apple
however.
/Diarmuid.
On May 24, 2005, at 8:14 PM, Jacinto S. wrote:
> I'm having the same problem: profiling works fine on 10.3.9 but not
> 10.4.1. Also, it's not solely an issue with gcc 4 as the same thing
> happens with gcc 3.3 and xlf 8.1.
>
>
>
>> After upgrading to OS X Tiger 'gprof' seems to be broken (for me
>> anyhow!). Included below is a sample of the broken profile. It seems
>> all times are reported as zero and the first entry in the flat
>> profile is 'past end of text [1]'. Has anybody else seen this? Can
it
>> have something to do with gcc4?
>> Thanks,
>> Diarmuid.
>>
>> % cumulative self self total
>> time seconds seconds calls ms/call ms/call name
>> 0.0 0.00 0.00 131911787 0.00 0.00 past end of text [1]
>> 0.0 0.00 0.00 81 0.00 0.00 __ZN14PrecisionTimer8tickToUsEy [25]
>> 0.0 0.00 0.00 81 0.00 0.00 __ZN17GetTimeOfDayTimer8tickToUsEy [26]
>> 0.0 0.00 0.00 27 0.00 0.00 __ZN14PrecisionTimer10startTimerEv [27]
>> 0.0 0.00 0.00 27 0.00 0.00 __ZN14PrecisionTimer15printTabAverageEv
[28]
>> 0.0 0.00 0.00 27 0.00 0.00 __ZN14PrecisionTimer6updateEy [29]
>> 0.0 0.00 0.00 27 0.00 0.00 __ZN14PrecisionTimer9stopTimerEv [30]
>> 0.0 0.00 0.00 18 0.00 0.00 __ZN8TestSort4getnEv [31]
>> 0.0 0.00 0.00 9 0.00 0.00 __ZN10BubbleSort4sortEPji [32]
>>
> _______________________________________________
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden