ELF32 (i386) binaries on amd64 -- any forecast?

Danny Braniss danny at cs.huji.ac.il
Mon Jul 26 02:44:03 PDT 2004


> 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




More information about the freebsd-amd64 mailing list