From owner-freebsd-hackers Tue Apr 25 03:36:53 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id DAA23834 for hackers-outgoing; Tue, 25 Apr 1995 03:36:53 -0700 Received: from tonic.gmd.de (tonic.gmd.de [192.76.247.81]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id DAA23827 ; Tue, 25 Apr 1995 03:36:49 -0700 Received: (from dws@localhost) by tonic.gmd.de (8.6.9/8.6.9) id MAA03780; Tue, 25 Apr 1995 12:36:16 +0200 Date: Tue, 25 Apr 1995 12:36:16 +0200 From: Dirk Steinberg Message-Id: <9504251036.ZM3779@tonic.gmd.de> In-Reply-To: "Soeren Schmidt" 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> Reply-To: Dirk.Steinberg@gmd.de X-Mailer: Z-Mail (3.2.0 06sep94) To: sos@FreeBSD.org, julian@ref.tfs.com (Julian Elischer) Subject: Re: Patches to compile Kernel and Libraries with '-O3 -fomit-frame-pointer' Cc: Dirk.Steinberg@gmd.de, hackers@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Sender: hackers-owner@FreeBSD.org Precedence: bulk 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