From owner-freebsd-stable Fri Oct 27 16:17:11 2000 Delivered-To: freebsd-stable@freebsd.org Received: from saarinen.org (saarinen.org [203.79.82.14]) by hub.freebsd.org (Postfix) with ESMTP id 7250937B479 for ; Fri, 27 Oct 2000 16:17:09 -0700 (PDT) Received: from vimfuego.saarinen.org (softdnserr [::ffff:192.168.1.1]) (IDENT: foobar) by saarinen.org with esmtp; Sat, 28 Oct 2000 12:17:08 +1300 Date: Sat, 28 Oct 2000 12:17:07 +1300 (NZDT) From: Juha Saarinen To: Randell Jesup Cc: Michel Talon , "freebsd-stable@FreeBSD.ORG" Subject: Re: "Malloc type lacks magic" show-stopper solved In-Reply-To: Message-ID: X-S: Always Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > True - profiling code hooks (-pg) aren't compatible with > -fomit-frame-pointer. So? If I want to compile a version for profiling > the kernel, I'll compile a version for that purpose. No, what I meant is that by default, profiling the kernel is enabled. You can set NOPROFILE=true, but that's only for the system libraries, AFAICT. How would you do the same for the kernel? > > I suspect gcc does that optimization at the -O level. It may do > more of it at -O2 or -O3. Yes, if I read the http://gcc.gnu.org/onlinedocs/gcc_2.html#SEC11 page right, it would seem to do just that (plus -fomit-frame-pointer in some cases). -- Juha To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message