ffmpeg --disable-altivec option

tome at QX.Net tome at QX.Net
Sun Mar 28 17:24:23 PDT 2010


Thanks Josh,

Now, I am not sure just what to do next.  Since receiving your reply I have:

% sudo port uninstall ffmpeg
% sudo port clean --all ffmpeg
% sudo port install ffmpeg

The resultant ffmpeg did not indicate --disable-altivec in the header and my test case failed with 'illegal instruction.'

What should I have done?

Sorry for my confusion and thanks for your help,
Tom



>------- Original Message -------
>From    : Joshua Root[mailto:jmr at macports.org]
>Sent    : 3/28/2010 3:03:24 PM
>To      : tome at qx.net
>Cc      : macports-users at lists.macosforge.org
>Subject : RE: Re: ffmpeg --disable-altivec option
>
 >On 2010-3-29 05:19 , tome at QX.Net wrote:
>>> ------- Original Message -------
>> >From    : Ryan Schmidt[ mailto:ryandesign at macports.org ]
>>> Sent    : 3/28/2010 12:48:07 PM
>>> To      : tome at qx.net
>>> Cc      : macports-users at lists.macosforge.org
>>> Subject : RE: Re: ffmpeg --disable-altivec option
>>>
>  >>
>> On Mar 28, 2010, at 11:11, tome at QX.Net wrote:
> 
>>> I need to install ffmpeg with the --disable-altivec option.  Is that possible?
> 
>> I don't see an option for that in the portfile. Out of curiosity, why do you need this option?
> 
> I have a G3 PPC.  Altivec was a G4 implementation ( Velocity Engine ).  Without disabling altivec I get 'illegal instruction' failures from ffmpeg.  
> As a note, I have installed the same release of ffmpeg from source, with --disable-altivec, and it works fine.  I had to have help from the 
> ffmpeg user mailing list to discover this.  I would like to get my 'stuff' under MacPorts, but the install I did would not work because of 'illegal 
> instructions.'  Is a patch possible?  Thanks for your help!  Best regards, Tom

I've changed the portfile to add --disable-altivec to the configure args
when building on a PPC CPU that does not have a vector unit.

- Josh




More information about the macports-users mailing list