On Mon, 24 Jun 2002, John Polstra wrote:

> > > There is a problem at the moment in compiling that file without -O.  Is
> > > your /etc/make.conf standard, or did you specifically ask for no
> > > optimization? 
> > 
> > I haven't made any explicit changes to the optimization level; on the
> > other hand, perhaps that should be CFLAGS+=?
> > 
> > Here's my make.conf:
> > 
> > CFLAGS=-pipe
> > NOPROFILE=      yes
> > NO_WERROR=yes
> > NO_PERL=yes
> That's the problem.  The default CFLAGS setting in
> /etc/defaults/make.conf is "-O -pipe".  You have eliminated the "-O". 

Do you mind if I add an entry to UPDATING:

    Building the real time loader (rtld) currently requires optimization
    to be enabled for the build.  If you override CFLAGS in make.conf,
    make sure that -O is included in in your definition of the variable,
    or you may get assembler errors compiling rtld.


Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
[EMAIL PROTECTED]      Network Associates Laboratories

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to