From owner-freebsd-amd64@FreeBSD.ORG Wed Nov 28 14:02:11 2007 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C7AF16A421 for ; Wed, 28 Nov 2007 14:02:11 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.freebsd.org (Postfix) with ESMTP id F18BB13C457 for ; Wed, 28 Nov 2007 14:02:10 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.14.0/8.14.0) with ESMTP id lASE2A2L021996 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 28 Nov 2007 09:02:10 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id lASE1gHv035636; Wed, 28 Nov 2007 09:01:42 -0500 (EST) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="9OzUwXhHjb" Content-Transfer-Encoding: 7bit Message-ID: <18253.29916.822508.369692@grasshopper.cs.duke.edu> Date: Wed, 28 Nov 2007 09:01:41 -0500 (EST) To: freebsd-amd64@freebsd.org X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Subject: Wine? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2007 14:02:11 -0000 --9OzUwXhHjb Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit A search through the archives says that wine will only work in 32-bit mode. Of course, I only went searching for this *after* I slogged through trying to add FreeBSD support to signal_x86_64.c (diff attached in case anybody wants it). Then the build started dying in the rpc code because it was being compiled 64-bit. If it is truly the case that wine must be built 32-bit, then is it possible to setup a 32-bit FreeBSD in a chroot someplace, and build/install the relavant ports there? Also, on a somewhat related note, is Linux emulation (of 32-bit ELF) on par with i386 these days? Thanks, Drew --9OzUwXhHjb Content-Type: application/octet-stream Content-Description: x86_64 signal patch Content-Disposition: attachment; filename="wine.diff" Content-Transfer-Encoding: base64 LS0tIHdvcmsvd2luZS0wLjkuNDgvZGxscy9udGRsbC9zaWduYWxfeDg2XzY0LmMuYmFrCTIw MDctMTAtMjYgMTM6MjE6MTUuMDAwMDAwMDAwIC0wNDAwCisrKyB3b3JrL3dpbmUtMC45LjQ4 L2RsbHMvbnRkbGwvc2lnbmFsX3g4Nl82NC5jCTIwMDctMTEtMjcgMTQ6MzI6NTMuMTM2MDIz Mjg3IC0wNTAwCkBAIC05Miw2ICs5Miw0MyBAQAogI2RlZmluZSBGQVVMVF9BRERSRVNTICAo X19zaWdpbmZvLT5zaV9hZGRyKQogCiAjZW5kaWYgLyogbGludXggKi8KKyNpZiBkZWZpbmVk KF9fRnJlZUJTRF9fKQorI2luY2x1ZGUgPHN5cy9zaWduYWwuaD4KKwordHlwZWRlZiBzdHJ1 Y3Qgc2lnY29udGV4dCBTSUdDT05URVhUOworCisjIGRlZmluZSBIQU5ETEVSX0RFRihuYW1l KSB2b2lkIG5hbWUoIGludCBfX3NpZ25hbCwgc3RydWN0IF9fc2lnaW5mbyAqX19zaWdpbmZv LCBTSUdDT05URVhUICpfX2NvbnRleHQgKQorIyBkZWZpbmUgSEFORExFUl9DT05URVhUIChf X2NvbnRleHQpCisKKyNkZWZpbmUgUkFYX3NpZyhjb250ZXh0KSAgICAgKChjb250ZXh0KS0+ c2NfcmF4KQorI2RlZmluZSBSQlhfc2lnKGNvbnRleHQpICAgICAoKGNvbnRleHQpLT5zY19y YngpCisjZGVmaW5lIFJDWF9zaWcoY29udGV4dCkgICAgICgoY29udGV4dCktPnNjX3JjeCkK KyNkZWZpbmUgUkRYX3NpZyhjb250ZXh0KSAgICAgKChjb250ZXh0KS0+c2NfcmR4KQorI2Rl ZmluZSBSU0lfc2lnKGNvbnRleHQpICAgICAoKGNvbnRleHQpLT5zY19yc2kpCisjZGVmaW5l IFJESV9zaWcoY29udGV4dCkgICAgICgoY29udGV4dCktPnNjX3JkaSkKKyNkZWZpbmUgUkJQ X3NpZyhjb250ZXh0KSAgICAgKChjb250ZXh0KS0+c2NfcmJwKQorI2RlZmluZSBSOF9zaWco Y29udGV4dCkgICAgICAoKGNvbnRleHQpLT5zY19yOCkKKyNkZWZpbmUgUjlfc2lnKGNvbnRl eHQpICAgICAgKChjb250ZXh0KS0+c2NfcjkpCisjZGVmaW5lIFIxMF9zaWcoY29udGV4dCkg ICAgICgoY29udGV4dCktPnNjX3IxMCkKKyNkZWZpbmUgUjExX3NpZyhjb250ZXh0KSAgICAg KChjb250ZXh0KS0+c2NfcjExKQorI2RlZmluZSBSMTJfc2lnKGNvbnRleHQpICAgICAoKGNv bnRleHQpLT5zY19yMTIpCisjZGVmaW5lIFIxM19zaWcoY29udGV4dCkgICAgICgoY29udGV4 dCktPnNjX3IxMykKKyNkZWZpbmUgUjE0X3NpZyhjb250ZXh0KSAgICAgKChjb250ZXh0KS0+ c2NfcjE0KQorI2RlZmluZSBSMTVfc2lnKGNvbnRleHQpICAgICAoKGNvbnRleHQpLT5zY19y MTUpCisjZGVmaW5lIENTX3NpZyhjb250ZXh0KSAgICAgICgqKChXT1JEICopJihjb250ZXh0 KS0+c2NfY3MgKyAwKSkKKyNkZWZpbmUgR1Nfc2lnKGNvbnRleHQpICAgICAgKCooKFdPUkQg KikmKGNvbnRleHQpLT5zY19jcyArIDEpKQorI2RlZmluZSBGU19zaWcoY29udGV4dCkgICAg ICAoKigoV09SRCAqKSYoY29udGV4dCktPnNjX2NzICsgMikpCisjZGVmaW5lIFJTUF9zaWco Y29udGV4dCkgICAgICgoY29udGV4dCktPnNjX3JzcCkKKyNkZWZpbmUgUklQX3NpZyhjb250 ZXh0KSAgICAgKChjb250ZXh0KS0+c2NfcmlwKQorI2RlZmluZSBFRkxfc2lnKGNvbnRleHQp ICAgICAoKGNvbnRleHQpLT5zY19mbGFncykKKyNkZWZpbmUgVFJBUF9zaWcoY29udGV4dCkg ICAgKChjb250ZXh0KS0+c2NfdHJhcG5vKQorI2RlZmluZSBFUlJPUl9zaWcoY29udGV4dCkg ICAoKGNvbnRleHQpLT5zY19lcnIpCisKKyNkZWZpbmUgRlBVX3NpZyhjb250ZXh0KSAgICAg KChYTU1fU0FWRV9BUkVBMzIgKikoKGNvbnRleHQpLT5zY19mcHN0YXRlKSkKKworI2RlZmlu ZSBGQVVMVF9DT0RFICAgICAoX19zaWdpbmZvLT5zaV9jb2RlKQorI2RlZmluZSBGQVVMVF9B RERSRVNTICAoX19zaWdpbmZvLT5zaV9hZGRyKQorI2VuZGlmIC8qIEZyZWVCU0QgKi8KIAog ZW51bSBpMzg2X3RyYXBfY29kZQogewo= --9OzUwXhHjb--