[MPlayer-dev-eng] [PATCH] fix compiling in non-linux system

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Oct 9 10:37:54 CEST 2012


Xidorn Quan <quanxunzhen at gmail.com> wrote:

>On Tue, Oct 9, 2012 at 1:44 PM, Bernd Ernesti <
>mplayer-dev-eng at lists.veego.de> wrote:
>
>> On Tue, Oct 09, 2012 at 12:51:07PM +0800, Xidorn Quan wrote:
>> > Hi,
>> >
>> > According to man page of gcc, value native for -march and -mtune is
>> > only supported on Linux at present. Using this value causes
>compiler
>> > generates unrecongized instructions on OS X.
>>
>> You should better check why your clang is not detected instead of
>adding
>> this broken patch.
>>
>> Bernd
>>
>> P.S. Your man page is wrong.
>>
>
>Clang doesn't support value "native" at all. I manually set argument
>--cc=gcc-4.7 for configure, then make, it reported something like:
>
>> {standard input}:172:no such instruction: `vcvtsi2sd (%rdx),
>%xmm1,%xmm1'

To me this looks like it works perfectly, but your binutils are broken/outdated and cannot work properly with your gcc version.



More information about the MPlayer-dev-eng mailing list