i386_set_ldt and wine on AMD64

Roland Smith rsmith at xs4all.nl
Sat Dec 30 16:53:37 PST 2006

On Sat, Dec 30, 2006 at 05:10:08PM -0500, Siavosh Benabbas wrote:
> Hi,
> I know that this is brought up several time on this list, but I wanted to
> run wine on my FreeBSD AMD64 machine.
> I know that a 64-bit wine is nearly impossible but I thought that an i386
> compilation should work.

You'd need a cross-compiler to start with. That's the easy part.

Then you'd need ports infrastructure to compile 32-bit ports on amd64. At
this moment that doesn't exist yet: 

This could be a _huge_ undertaking, because things like patches and parts
of the port Makefile might depend on if you're cross-compiling or
not. I'm not sure if that is worth the effort. Time might be better
spent getting ports to compile natively for all supported platforms and
using a virtual machine for things that don't work.

Then you'd need to compile 32 bit versions of all the libraries that wine
depends on. If you have a look at the dependancies of wine, and recurse
through them, you'll see that this is a lot of libraries.

Do you have any programs that require amd64 because of address space or
other concerns? (if you have processes that run out of memory, have you
played with the kernel tunables? See /boot/defaults/loader.conf)
Otherwise, why not run i386 if you require wine?

R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20061231/2ffe5ceb/attachment.pgp

More information about the freebsd-amd64 mailing list