From owner-freebsd-current Mon Jun 24 11:58:37 2002 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 9314B37B412 for ; Mon, 24 Jun 2002 11:58:27 -0700 (PDT) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.3/8.12.3) with SMTP id g5OIwNw6037598; Mon, 24 Jun 2002 14:58:23 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Mon, 24 Jun 2002 14:58:23 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: John Polstra Cc: current@freebsd.org Subject: Re: Bootstrap problems for asm In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 s/real-time/run-time/ s/rwatson/rmoron/ :-) (Thanks to Scott Long for pointing this out) Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Mon, 24 Jun 2002, Robert Watson wrote: > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message