32-bit binaries (e.g. wine) and 64-bit kernel structures
Li-Lun "Leland" Wang
llwang at infor.org
Mon Oct 24 13:21:30 UTC 2011
On Mon, Oct 24, 2011 at 7:01 AM, <perryh at pluto.rain.com> wrote:
> "Li-Lun \"Leland\" Wang" <llwang at infor.org> wrote:
>
>> ... the kernel or LD should know a 32-bit binary is being run
>> and return proper structures, as is done in Mac OS.
>>
>> ... Do we have plans to fix this kind of problems in general?
>> Although wine port on FreeBSD is only supported for ARCH=i386,
>> could there be workarounds?
>
> Does it work if you run the 32-bit app in a 32-bit jail?
> If so, it might be a workaround (or, arguably, a solution).
I can't test the same app directly in the 32-bit jail because a lot of
things (e.g. certain devices in the devfs) are not available in the
jail. However, I do believe the 64-bit kernel returns 64-bit
structures even in 32-bit jails.
-- llwang
More information about the freebsd-amd64
mailing list