Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 09:03:52 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        current@freebsd.org
Cc:        rwatson@freebsd.org
Subject:   Re: Bootstrap problems for asm
Message-ID:  <200206241603.g5OG3qR30930@vashon.polstra.com>
In-Reply-To: <Pine.NEB.3.96L.1020624112750.32271H-100000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1020624112750.32271H-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.NEB.3.96L.1020624112750.32271H-100000@fledge.watson.org>,
Robert Watson  <rwatson@FreeBSD.ORG> wrote:
> 
> On Mon, 24 Jun 2002, John Polstra wrote:
> 
> > > /cboss/freebsd/commit/src/libexec/rtld-elf/rtld.c: In function
> > > `atomic_decr_int':
> > > /cboss/freebsd/commit/src/libexec/rtld-elf/i386/rtld_machdep.h:58:
> > > inconsistent operand constraints in an `asm'
> > > *** Error code 1
> > 
> > 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".

John
-- 
  John Polstra
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa


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?200206241603.g5OG3qR30930>