From owner-freebsd-amd64@FreeBSD.ORG Sat Jul 24 01:20:16 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40D8F16A4CF for ; Sat, 24 Jul 2004 01:20:16 +0000 (GMT) Received: from robbins.dropbear.id.au (007.a.007.mel.iprimus.net.au [210.50.80.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8ECDF43D41 for ; Sat, 24 Jul 2004 01:20:15 +0000 (GMT) (envelope-from tim@robbins.dropbear.id.au) Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id BE2F74207; Sat, 24 Jul 2004 11:20:14 +1000 (EST) Date: Sat, 24 Jul 2004 11:20:14 +1000 From: Tim Robbins To: "Conrad J. Sabatier" Message-ID: <20040724012014.GB14088@cat.robbins.dropbear.id.au> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-amd64@freebsd.org Subject: Re: ELF32 (i386) binaries on amd64 -- any forecast? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2004 01:20:16 -0000 On Fri, Jul 23, 2004 at 06:51:51PM -0500, Conrad J. Sabatier wrote: > While attempting to run binaries compiled on my old 32-bit Athlon box > for i386 FreeBSD, I ran head-on, of course, into the problem of having > no loader for ELF32 on amd64. Is there currently any work in progress > on this? Will we eventually see full "COMPAT32" support come to pass? > > What is the intended functionality of the "COMPAT_IA32" option, and how > does one use it, exactly? Is it actually functional at present? > > This would be such an enormously useful capability to have, I'm sure > I'm not the only one with more than a passing interest. You need to run /usr/src/tools/lib32/build32.sh with cwd set to /usr/src to build the 32-bit loader & basic libraries. It works. :-) Tim