i386_set_ldt on FreeBSD 7.x amd64

Kostik Belousov kostikbel at gmail.com
Sun Jul 19 13:48:56 UTC 2009


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
> 
> 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:
> 
> Opening audio decoder: [dmo] Win32/DMO decoders
> install_fs: Invalid argument
> Couldn't install fs segment, expect segfault
> 
> Looking at the code the call to i386_set_ldt is failing
> is there any know workaround?
> 
> 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=233316+0+archive/2008/freebsd-amd64/20081214.freebsd-amd64
> 
> The latest version I can find is:
> http://people.freebsd.org/~kib/misc/amd64_ldt-pre.4.patch
> 
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20090719/411ec300/attachment.pgp


More information about the freebsd-amd64 mailing list