Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Aug 2002 11:13:22 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        hackers@freebsd.org
Subject:   Re: -fomit-frame-pointer for the world build
Message-ID:  <3D4ACBC2.DB52A15C@mindspring.com>
References:  <20020802215736.F97319-100000@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Dmitry Morozovsky wrote:
[ ... -fomit-frame-pointer ... ]
> Yes, Terry, I'd read this note. However, it does not clarify for me which
> exactly functionality is lost with omitting this.
> 
> I tried to build some binaries with -fomit..., then tried to debug it a
> bit, and gdb shows me both backtrace stack and arguments, so I was in
> doubt a bit -- so here is my question ;-)

Try it again on a SPARC or other RISC machine that pushes
register window frames on the stack after a certain function
call depth is achieved.

I was pretty sure at one time that the PPC platform had a
variant of this problem, as well.

If you want a definative answer, then the people to ask are
the GCC implementors, who put the option into the compiler
for a reason, and added the descriptive text to the .info
file in the first place.

Realize that this is a GCC issue, not a FreeBSD issue.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D4ACBC2.DB52A15C>