[MPlayer-dev-eng] [PATCH] Fix MPlayer to compile on Darwin/x86_86

Guillaume POIRIER poirierg at gmail.com
Tue Jun 2 14:40:29 CEST 2009


Hi,

On Tue, Jun 2, 2009 at 12:26 PM, Reimar Döffinger
<Reimar.Doeffinger at gmx.de>wrote:

> On Tue, Jun 02, 2009 at 11:35:17AM +0200, Guillaume Poirier wrote:
> > Le 2 juin 09 à 11:31, Guillaume POIRIER a écrit :
> > > Hi there,
> > > With the attached patch and the following configure flags:
> >
> > That patch. :-P
>
> You'll have to explain the "g" to "r" change, I can't really see a
> reason why it should be necessary.


I have not found where in Apple's doc that information is written. However,
here's what one of Apple's engineer has responded to me about that problem:


This is a courtesy email regarding Bug ID# 6910963.
Engineering has provided the following feedback regarding this issue:
Thank you for the additional information.
The asm code is wrong for 64-bit.  The software needs porting to work.  You
cannot use the "g" constraint for mov.  mov will take an "r" for example of
a constraint that will work.


Other than that, Apple's doc about porting code to 64-bits is here:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/MachOTopics/1-Articles/x86_64_code.html

Guillaume
-- 
Only a very small fraction of our DNA does anything; the rest is all
comments and ifdefs.

Bette Davis <http://www.brainyquote.com/quotes/authors/b/bette_davis.html>
- "Brought up to respect the conventions, love had to end in marriage.
I'm
afraid it did."



More information about the MPlayer-dev-eng mailing list