From owner-cvs-all Sat Nov 16 11:41: 2 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09A7337B401; Sat, 16 Nov 2002 11:41:01 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0CDF43E77; Sat, 16 Nov 2002 11:41:00 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id A35622A88D; Sat, 16 Nov 2002 11:41:00 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Ruslan Ermilov Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/i386/btx/lib Makefile In-Reply-To: <20021116065958.GA53717@sunbay.com> Date: Sat, 16 Nov 2002 11:41:00 -0800 From: Peter Wemm Message-Id: <20021116194100.A35622A88D@canning.wemm.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ruslan Ermilov wrote: > On Fri, Nov 15, 2002 at 01:07:23PM -0800, Peter Wemm wrote: > > Ruslan Ermilov wrote: > > > ru 2002/11/15 11:46:41 PST > > >=20 > > > Modified files: (Branch: RELENG_4) > > > sys/boot/i386/btx/lib Makefile=20 > > > Log: > > > MFC: 1.10. > > > =20 > > > The getobjformat(3) API was broken in 5.0-CURRENT -- it no longer > > > deletes object format options from the argument vector. Should > > > this be fixed before 5.0 is out? > > > =20 > > > (This is to restore the ability to downgrade to RELENG_4.) > >=20 > > Actually, getobjformat(3) was supposed to go away the moment the gcc folk= > s. > > Why does the world build care what the host environment is here? Wouldn't > > this just be making it harder to upgrade from older OS's? > >=20 > This is now necessary to build a RELENG_4 kernel on 5.0-CURRENT: Actually, this can be done a bit simpler by setting FMT to nothing. But that doesn't solve all the problems. We had to fix a bunch of inline assembler to make it work properly with gcc-3.x. These changes have not been made on RELENG_4. It would be dangerous to make the kernel appear to compile using the -current compiler when we'd be ending up producing a harmless looking kernel with code generation bugs. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message