Date: Tue, 25 Apr 1995 10:02:21 +0000 (GMT) From: sos@FreeBSD.org (Soren Schmidt) To: julian@ref.tfs.com (Julian Elischer) Cc: Dirk.Steinberg@gmd.de, hackers@FreeBSD.org Subject: Re: Patches to compile Kernel and Libraries with '-O3 -fomit-frame-pointer' Message-ID: <199504250807.AA23663@dkuug.dk> In-Reply-To: <199504250717.AAA05801@ref.tfs.com> from "Julian Elischer" at Apr 25, 95 00:17:36 am
next in thread | previous in thread | raw e-mail | index | archive | help
In reply to Julian Elischer who wrote:
> has anyone followed up on this?
No, not really, but I've compiled my system with:
-O2 -m486 -fomit-frame-pointer
for a long time, no problems at all except for the csu/crt* stuff
which must be compiled without -fomit-frame-pointer to work.
> > /usr/libexec/ld.so fails horribly when compiled with "-fomit-frame-pointer".
> > I learned the hard way :-( (after compiling /bin and /sbin dynamically...).
hHmm, strange, that works fine for me.
> > For the kernel compile, the functions dummyinit() in in kern/init_main.c
> > and dummy_cleanup() in kern/kern_xxx.c get optimized away by gcc
> > when compiling with an optimization setting higher than "-O2", e.g.
> > "-O3".
Thats right, I've seen this too (and fixed the ugly way :-)
PS: julian do you still have the patches around ??
I'd inclined to look at it...
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Soren Schmidt (sos@FreeBSD.org | sos@kmd-ac.dk) FreeBSD Core Team
..
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504250807.AA23663>
