From owner-freebsd-hackers Fri Aug 2 11:14:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E442B37B400 for ; Fri, 2 Aug 2002 11:14:17 -0700 (PDT) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90A7143E65 for ; Fri, 2 Aug 2002 11:14:17 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0929.cvx21-bradley.dialup.earthlink.net ([209.179.195.164] helo=mindspring.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17agwG-0005Kd-00; Fri, 02 Aug 2002 11:14:12 -0700 Message-ID: <3D4ACBC2.DB52A15C@mindspring.com> Date: Fri, 02 Aug 2002 11:13:22 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dmitry Morozovsky Cc: hackers@freebsd.org Subject: Re: -fomit-frame-pointer for the world build References: <20020802215736.F97319-100000@woozle.rinet.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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