Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2009 14:00:00 +0100
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        <freebsd-amd64@freebsd.org>, <freebsd-hackers@freebsd.org>
Subject:   i386_set_ldt on FreeBSD 7.x amd64
Message-ID:  <34D8564661E84455B8DA136799C649ED@multiplay.co.uk>

next in thread | raw e-mail | index | archive | help
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@multiplay.co.uk.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34D8564661E84455B8DA136799C649ED>