i386_set_ldt and wine on AMD64

Siavosh Benabbas sbenabas at gmail.com
Sat Dec 30 15:13:03 PST 2006


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.
>From what I gathered from the archives the FreeBSD AMD64 doesn't have the
i386_{get/set}_ldt functions in i386/Linux compatibility modes which are
needed for wine, and old and/or Linux 32-bit java virtual machines. It seems
that the same functionality is available in Linux-AMD64. From what I
understand the AMD64 architecture doesn't have LDT/GDT in 64-bit mode but it
does have them in Long mode+compatibility mode which is the mode that 32-bit
apps are run in.

Is there any chance that i363_set_ldt support will be added to
FreeBSD-AMD64?
Thanks,
S. Benabbas


More information about the freebsd-amd64 mailing list