Date: Fri, 5 Feb 1999 08:48:55 -0600 From: Nathan Ahlstrom <nrahlstr@winternet.com> To: Mark Powell <M.S.Powell@ais.salford.ac.uk>, freebsd-questions@FreeBSD.ORG Subject: Re: make world with -fomit-frame-pointer doesn't work Message-ID: <19990205084855.C7211@winternet.com> In-Reply-To: <Pine.BSF.4.05.9902051029300.3332-100000@plato.salford.ac.uk>; from Mark Powell on Fri, Feb 05, 1999 at 10:34:44AM %2B0000 References: <Pine.BSF.4.05.9902051029300.3332-100000@plato.salford.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Powell <M.S.Powell@ais.salford.ac.uk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990205084855.C7211>