Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2001 09:54:04 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        "David O'Brien" <obrien@FreeBSD.ORG>
Cc:        Mark Peek <mark@whistle.com>, Bruce Evans <bde@zeta.org.au>, Warner Losh <imp@harmony.village.org>, current@FreeBSD.ORG
Subject:   Re: Cross builds and upgrade path from 4.x are broken in usr.bin/file
Message-ID:  <20010814095404.A71466@sunbay.com>
In-Reply-To: <20010813133015.A12153@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Mon, Aug 13, 2001 at 01:30:15PM -0700
References:  <20010810110151.B7988@sunbay.com> <20010810235643.Y23367-100000@besplex.bde.org> <20010810173751.B60193@sunbay.com> <p05100300b799a7ab0ef4@[207.76.207.129]> <20010810191407.A73485@sunbay.com> <p05100305b799bb5daf9c@[207.76.207.129]> <20010810202300.A80439@sunbay.com> <20010813133015.A12153@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 13, 2001 at 01:30:15PM -0700, David O'Brien wrote:
> 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.
> 
What I hear?  Hell, then my solution (or something similar) should be
committed, as it at least unbreaks the 4.x -> 5.0 upgrade path, which
I am mostly concerned about (on the same arch).

(Currently, it is broken because ./file depends on libc.so.5 while in
-STABLE it is still libc.so.4.)


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

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?20010814095404.A71466>