From owner-freebsd-current Mon Jun 24 9: 4:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by hub.freebsd.org (Postfix) with ESMTP id 0748E37B405; Mon, 24 Jun 2002 09:03:54 -0700 (PDT) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id g5OG3qf37795; Mon, 24 Jun 2002 09:03:52 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.6/8.11.0) id g5OG3qR30930; Mon, 24 Jun 2002 09:03:52 -0700 (PDT) (envelope-from jdp) Date: Mon, 24 Jun 2002 09:03:52 -0700 (PDT) Message-Id: <200206241603.g5OG3qR30930@vashon.polstra.com> To: current@freebsd.org From: John Polstra Cc: rwatson@freebsd.org Subject: Re: Bootstrap problems for asm In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article , Robert Watson 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