From owner-freebsd-current Mon Aug 13 13:30:18 2001 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (dsl092-013-169.sfo1.dsl.speakeasy.net [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 5AC5437B403; Mon, 13 Aug 2001 13:30:16 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.5/8.11.1) id f7DKUFp23986; Mon, 13 Aug 2001 13:30:15 -0700 (PDT) (envelope-from obrien) Date: Mon, 13 Aug 2001 13:30:15 -0700 From: "David O'Brien" To: Ruslan Ermilov Cc: Mark Peek , Bruce Evans , Warner Losh , current@FreeBSD.ORG Subject: Re: Cross builds and upgrade path from 4.x are broken in usr.bin/file Message-ID: <20010813133015.A12153@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20010810110151.B7988@sunbay.com> <20010810235643.Y23367-100000@besplex.bde.org> <20010810173751.B60193@sunbay.com> <20010810191407.A73485@sunbay.com> <20010810202300.A80439@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010810202300.A80439@sunbay.com>; from ru@FreeBSD.ORG on Fri, Aug 10, 2001 at 08:23:00PM +0300 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 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 On Fri, Aug 10, 2001 at 08:23:00PM +0300, Ruslan Ermilov wrote: > > Your solution does not work. You're creating binary files in HOST > > format during the build phase and expecting things such as alignment > > and endianness to be the same as the TARGET format. Unless the tools > > are built to output for either the appropriate architecture or in a > > portable, binary format, you will have problems reading the file on > > the TARGET platform. It probably works for you since you're doing a > > 4.X->5.0 upgrade on the same platform. > > > What? ``file -C'' produces different output on Alpha and on i386? > Are you sure? (Haven't checked myself.) They produce the same output, but in the general case they do not need to. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message