[MPlayer-dev-eng] [PATCH] Fix crash when using win32 codecs on mac osx / intel

Alexander Strange astrange at ithinksw.com
Mon Aug 27 17:01:04 CEST 2007


On Aug 27, 2007, at 10:54 AM, Guillaume Poirier wrote:

> Hi,
>
> Ulion wrote:
>> 2007/8/27, Diego Biurrun <diego at biurrun.de>:
>>> The main problem is that -mstackrealign was introduced in gcc  
>>> 4.2, so
>>> we cannot use it unconditionally.  I will revert your patch for  
>>> now, if
>>> you can come up with a more general solution, that would be welcome.
>>>
>>> Diego
>>
>> +  # Gcc earlier version on apple has flag -mstackrealign for  
>> intel x86 platform.
>> +  # Or gcc version above 4.2 has flag -fstackrealign.
>
>
> I'm curious: how did you managed to get GCC 4.2 on OSX? Tiger only
> ships 4.0.1! Are you using Leopard, or did you pull Apple's GCC 4.2
> from SVN and compiled it yourself?
>
> Guillaume

Apple's 4.0.1 supports -mstackrealign; not sure when it was added.

Unfortunately their SVN is still at gcc-4.0.1, I suspect it's going  
to stay nearly the same in Leopard...



More information about the MPlayer-dev-eng mailing list