From owner-freebsd-amd64@FreeBSD.ORG Sun Jul 19 13:48:56 2009 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 6E007106566C for ; Sun, 19 Jul 2009 13:48:56 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id C16CF8FC12 for ; Sun, 19 Jul 2009 13:48:55 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n6JDmotx018892 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 19 Jul 2009 16:48:50 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n6JDmodA074285; Sun, 19 Jul 2009 16:48:50 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n6JDmoaw074284; Sun, 19 Jul 2009 16:48:50 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 19 Jul 2009 16:48:50 +0300 From: Kostik Belousov To: Steven Hartland Message-ID: <20090719134850.GX55190@deviant.kiev.zoral.com.ua> References: <34D8564661E84455B8DA136799C649ED@multiplay.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+mxGJWuoTNnwmYgC" Content-Disposition: inline In-Reply-To: <34D8564661E84455B8DA136799C649ED@multiplay.co.uk> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-hackers@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: i386_set_ldt on FreeBSD 7.x amd64 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: Sun, 19 Jul 2009 13:48:56 -0000 --+mxGJWuoTNnwmYgC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 19, 2009 at 02:00:00PM +0100, Steven Hartland wrote: > I'm trying to convert some audio streams and the only app > which seems to be capable of this mplayer with the w32codecs >=20 > Unfortunately the machine is 7.1 amd64. I've compiled the > binaries up on an old i386 box but when running said bins > on the amd64 box it errors with: >=20 > Opening audio decoder: [dmo] Win32/DMO decoders > install_fs: Invalid argument > Couldn't install fs segment, expect segfault >=20 > Looking at the code the call to i386_set_ldt is failing > is there any know workaround? >=20 > Looking on Google there is a thread: > i386_set_ldt and wine on AMD64 which mentions some patches by kib > but no mention if this ever worked. > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D233316+0+archive/2008/free= bsd-amd64/20081214.freebsd-amd64 >=20 > The latest version I can find is: > http://people.freebsd.org/~kib/misc/amd64_ldt-pre.4.patch >=20 > Anyone info appreciated. The patches were committed to HEAD. mplayer/win32 codecs were tested, it was one of the goal of the patch to have these codecs working on amd64. No MFC to 7.x is planned. --+mxGJWuoTNnwmYgC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEUEARECAAYFAkpjJEIACgkQC3+MBN1Mb4guwwCXRAoJ6mAcg0GlFx/+raJkL3CE YwCgnSR5epkm6IhtThiOZ13smDRyXak= =fswh -----END PGP SIGNATURE----- --+mxGJWuoTNnwmYgC--