32-bit binaries (e.g. wine) and 64-bit kernel structures

Li-Lun "Leland" Wang llwang at infor.org
Tue Oct 25 01:15:00 UTC 2011


On Tue, Oct 25, 2011 at 2:30 AM,  <perryh at pluto.rain.com> wrote:
> "Li-Lun \"Leland\" Wang" <llwang at infor.org> wrote:
>> ... I do believe the 64-bit kernel returns 64-bit
>> structures even in 32-bit jails.
>
> That is arguably a bug in the jail support :(

I think the only difference as a i386 jail is that the libraries are
built 32bit, and setting of certain environment variables to tell
uname to return i386, and possibly some make variables in make.conf to
specify the CPUTYPE or ARCH.  These won't affect how the 64bit kernel
acts---you are still using the same kernel.

-- llwang


More information about the freebsd-emulation mailing list