From owner-freebsd-questions@FreeBSD.ORG Thu Oct 14 18:46:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16FF516A4CE for ; Thu, 14 Oct 2004 18:46:03 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id E28FD43D2D for ; Thu, 14 Oct 2004 18:46:02 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4090C51509; Thu, 14 Oct 2004 11:46:02 -0700 (PDT) Date: Thu, 14 Oct 2004 11:46:02 -0700 From: Kris Kennaway To: Subhro Message-ID: <20041014184602.GB6381@xor.obsecurity.org> References: <20041014000024.T27161@dante.zefram.net> <20041014011057.P22475@dante.zefram.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Bn2rw/3z4jIqBvZU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: John Gillis cc: FreeBSD Questions Subject: Re: Compiling 4-RELEASE on 5-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 18:46:03 -0000 --Bn2rw/3z4jIqBvZU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Oct 14, 2004 at 12:31:33PM +0530, Subhro wrote: > > What about my question about boot strapping? Does that ensure that > > I could compile the world/kernel of 4.x on 5.3? > > John > No it does not. To be precise as far as I know, there is no way you > can compile a native 4.X binary of any kind (application, kernel, > bootstrap, you name it) on a 5.X box. It's not so hard, you just extract a 4.x system image into a directory and chroot to it, and build from there. With more work you could do it without the chroot. However, to answer the original question: binaries built by the 5.x system toolchain cannot be run on 4.x. The main barrier is that 5.x binaries usually use syscalls that are not present in the 4.x kernel, so you'll get signal 12 errors if you try and run them. Kris --Bn2rw/3z4jIqBvZU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBbslpWry0BWjoQKURAhGvAJ4l+2Zzr9U3t64X4boPU78EG8V2cACeM4ni byXBQVTyU01mnqfivsZQbnE= =54Pe -----END PGP SIGNATURE----- --Bn2rw/3z4jIqBvZU--