From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 26 09:44:02 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 D06D916A4CE; Mon, 26 Jul 2004 09:44:02 +0000 (GMT) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 896E443D31; Mon, 26 Jul 2004 09:44:02 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1Bp21Z-000OPk-NK; Mon, 26 Jul 2004 12:44:01 +0300 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Tim Robbins In-reply-to: Your message of Sat, 24 Jul 2004 11:20:14 +1000 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 26 Jul 2004 12:44:01 +0300 From: Danny Braniss Message-Id: <20040726094402.896E443D31@mx1.FreeBSD.org> 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: Mon, 26 Jul 2004 09:44:03 -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. :-) > not for me ;-( i get: [...] /r+d/5.2/src/secure/lib/libcrypto/i386/sha1-586.s:1532: Error: `56(%esp)' is not a valid 64 bit base/index expression is this fixable? danny