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

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
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).

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.