From owner-freebsd-emulation@FreeBSD.ORG Tue Oct 25 01:15:00 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACAC71065674; Tue, 25 Oct 2011 01:15:00 +0000 (UTC) (envelope-from llwang@llwang.org) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5DBED8FC12; Tue, 25 Oct 2011 01:14:59 +0000 (UTC) Received: by gyd8 with SMTP id 8so8197226gyd.13 for ; Mon, 24 Oct 2011 18:14:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.176.69 with SMTP id a45mr37227511yhm.47.1319505299403; Mon, 24 Oct 2011 18:14:59 -0700 (PDT) Sender: llwang@llwang.org Received: by 10.236.47.168 with HTTP; Mon, 24 Oct 2011 18:14:59 -0700 (PDT) In-Reply-To: <4ea6657e.2VBpjdwl/pfQOFcl%perryh@pluto.rain.com> References: <4ea55387.DnwwF+hvqjtumYN4%perryh@pluto.rain.com> <4ea6657e.2VBpjdwl/pfQOFcl%perryh@pluto.rain.com> Date: Mon, 24 Oct 2011 20:14:59 -0500 X-Google-Sender-Auth: Dz-pQpeEMF5I6WmeIqIKWr_ZFf8 Message-ID: From: "Li-Lun \"Leland\" Wang" To: perryh@pluto.rain.com Content-Type: text/plain; charset=UTF-8 Cc: freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: 32-bit binaries (e.g. wine) and 64-bit kernel structures X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2011 01:15:00 -0000 On Tue, Oct 25, 2011 at 2:30 AM, wrote: > "Li-Lun \"Leland\" Wang" 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