Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gdb says that it can't compute the CFA



On 15/06/2014 1:47 PM, Martin Husemann wrote:
> On Sun, Jun 15, 2014 at 03:51:19AM +1000, Darren Reed wrote:
>> Is there any way to get around this problem with gdb on sparc64?
>>
>> #3  0x0000000000103278 in main (
>>     argc=<error reading variable: can't compute CFA for this frame>,
>>     argv=<error reading variable: can't compute CFA for this frame>)
> 
> This is a general gcc 4.8 problem - depending on optimization and various
> other settings, debug info is not always available for some frames.
> Especially for -O0 it is unusable unless you specify things like 
> -fvar-tracking -fvar-tracking-assignments.

So why do we ship gcc 4.8 then? Wait, I don't want to know...

When the decision was made to go to gcc 4.8, was this issue known?
On second thoughts, I'm not sure I want to know the answer to that
either!

Darren




Home | Main Index | Thread Index | Old Index