From owner-freebsd-questions Fri Feb 5 06:49:27 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA26982 for freebsd-questions-outgoing; Fri, 5 Feb 1999 06:49:27 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from icicle.winternet.com (icicle.winternet.com [198.174.169.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA26949 for ; Fri, 5 Feb 1999 06:49:21 -0800 (PST) (envelope-from nrahlstr@mail.winternet.com) Received: (from adm@localhost) by icicle.winternet.com (8.8.8/8.8.8) id IAA14559; Fri, 5 Feb 1999 08:49:05 -0600 (CST) Received: from tundra.winternet.com(198.174.169.11) by icicle.winternet.com via smap (V2.0) id xma014534; Fri, 5 Feb 99 08:48:48 -0600 Received: (from nrahlstr@localhost) by tundra.winternet.com (8.8.7/8.8.4) id IAA07438; Fri, 5 Feb 1999 08:48:55 -0600 (CST) Message-ID: <19990205084855.C7211@winternet.com> Date: Fri, 5 Feb 1999 08:48:55 -0600 From: Nathan Ahlstrom To: Mark Powell , freebsd-questions@FreeBSD.ORG Subject: Re: make world with -fomit-frame-pointer doesn't work References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Mark Powell on Fri, Feb 05, 1999 at 10:34:44AM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark Powell wrote: > I remember in the dark days when the kernel wouldn't compile with the > -fomit-frame-pointer option. This was fixed and the source files that > wouldn't compile with the option on were handled by the Makefile compiling > them with -fno-omit-frame-pointer (I think). Fine and dandy. > However, I note that "make world" still barfs if the option is used. > Specifically, it gets to: > > ----- > building standard com_err library > ranlib libcom_err.a > cc -pg -O2 -fomit-frame-pointer -m486 -pipe > -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/lib/libcom_err/com_err.c -o > com_err.po > cc: -pg and -fomit-frame-pointer are incompatible > *** Error code 1 > ----- > > Shouldn't the build process be able to handle this case, as the kernel > build does? The kernel doesn't have to deal with this case unless you run 'config -p KERNEL', because it doesn't do profiling by default. -- Nathan Ahlstrom nrahlstr@winternet.com http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message