Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 14:53:36 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        John Polstra <jdp@polstra.com>
Cc:        current@freebsd.org
Subject:   Re: Bootstrap problems for asm
Message-ID:  <Pine.NEB.3.96L.1020624145112.32271N-100000@fledge.watson.org>
In-Reply-To: <200206241603.g5OG3qR30930@vashon.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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:

  20020624:
    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
robert@fledge.watson.org      Network Associates Laboratories



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020624145112.32271N-100000>