Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 1999 10:34:44 +0000 (GMT)
From:      Mark Powell <M.S.Powell@ais.salford.ac.uk>
To:        freebsd-questions@FreeBSD.ORG
Subject:   make world with -fomit-frame-pointer doesn't work
Message-ID:  <Pine.BSF.4.05.9902051029300.3332-100000@plato.salford.ac.uk>

next in thread | raw e-mail | index | archive | help
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?
Cheers.

Mark Powell - System Administrator (UNIX) - Clifford Whitworth Building
A.I.S., University of Salford, Salford, Manchester, UK.
Tel: +44 161 295 5936  Fax: +44 161 295 5888  www.pgp.com for PGP key
M.S.Powell@ais.salfrd.ac.uk (spell salford correctly to reply to me)


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?Pine.BSF.4.05.9902051029300.3332-100000>