Date: Mon, 24 Oct 2011 08:21:29 -0500 From: "Li-Lun \"Leland\" Wang" <llwang@infor.org> To: perryh@pluto.rain.com Cc: freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: 32-bit binaries (e.g. wine) and 64-bit kernel structures Message-ID: <CAAMzD73=mQPv-FUa7ZBsFWntmK=RkVNide8pGUq8EzCa7Ln1qQ@mail.gmail.com> In-Reply-To: <4ea55387.DnwwF%2BhvqjtumYN4%perryh@pluto.rain.com> References: <CAAMzD71D%2B%2Bq_XjuCe=is2SAsW843_TNYmxaFOcjM4-%2BQ-jRrzg@mail.gmail.com> <4ea55387.DnwwF%2BhvqjtumYN4%perryh@pluto.rain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 24, 2011 at 7:01 AM, <perryh@pluto.rain.com> wrote: > "Li-Lun \"Leland\" Wang" <llwang@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAMzD73=mQPv-FUa7ZBsFWntmK=RkVNide8pGUq8EzCa7Ln1qQ>