Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2000 12:17:07 +1300 (NZDT)
From:      Juha Saarinen <juha@saarinen.org>
To:        Randell Jesup <rjesup@wgate.com>
Cc:        Michel Talon <michel@lpthe.jussieu.fr>, "freebsd-stable@FreeBSD.ORG" <freebsd-stable@FreeBSD.ORG>
Subject:   Re: "Malloc type lacks magic" show-stopper solved
Message-ID:  <Pine.LNX.4.21.0010281207170.16125-100000@vimfuego.saarinen.org>
In-Reply-To: <ybupuklopxh.fsf@jesup.eng.tvol.net.jesup.eng.tvol.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>         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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0010281207170.16125-100000>