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



In article <20140615121743.GA8082%mail.duskware.de@localhost>,
Martin Husemann  <martin%duskware.de@localhost> wrote:
>On Sun, Jun 15, 2014 at 06:41:07PM +1000, Darren Reed wrote:
>> So why do we ship gcc 4.8 then? Wait, I don't want to know...
>
>The typical combination of "-O2 -g" works pretty well, but the whole
>problem is not well understood (e.g.: would a gdb update help?). The
>-O0 -g case is stupid, but an issue for gcc upstream.
>
>Instead of compiling local parts of the tree with DBG=-g I swichted
>to doing the full build with MKDEBUG=yes MKDEBUGLIB=yes, wich is a
>great improvement overall (and I always have debug info available quickly
>when some issue comes up).

Same here. Having symbols always available is a great productivity boost :-)

christos



Home | Main Index | Thread Index | Old Index