Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 1995 12:36:16 +0200
From:      Dirk Steinberg <Dirk.Steinberg@gmd.de>
To:        sos@FreeBSD.org, 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:  <9504251036.ZM3779@tonic.gmd.de>
In-Reply-To: "Soeren Schmidt" <sos@kmd-ac.dk> sos@FreeBSD.org (Soren Schmidt) "Re: Patches to compile Kernel and Libraries with '-O3 -fomit-frame-pointer'" (Apr 25, 10:02am)
References:  <199504250807.AA23658@dkuug.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 25, 10:02am, "Soeren Schmidt"Soren Schmidt wrote:
> Subject: Re: Patches to compile Kernel and Libraries with '-O3 -fomit-fram
> 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.

Well, ... I was dreaming when I wrote this. I actually remembered that
the dynamic linking didn't work, but that was really due to the csu/crt*
stuff. You may have noticed that my patches were refering to them,
and not to ld.so. ld.so works fine when compiled with "-O3
-fomit-frame-pointer".

I rebuild my complete system yesterday, and even linked init dynamically,
and everything run wonderfully.

Sorry for the misinformation.

	Dirk

-- 
------------------------------------------------------------------------------
Dirk W. Steinberg - German National Research Center for Computer Science (GMD)
Institute for Application-Oriented Software- and Systems Technology   (ISA-NW)
Network Engineering Department  -  Rathausallee 10  -   D-53754 Sankt Augustin
Phone: +49 2241 14-3182 - Fax: +49 2241 14-3038 - Email: Dirk.Steinberg@gmd.de



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