i386_set_ldt on FreeBSD 7.x amd64

Steven Hartland killing at multiplay.co.uk
Sun Jul 19 13:10:57 UTC 2009


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.

   Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.



More information about the freebsd-hackers mailing list