ffmpeg --disable-altivec option

Joshua Root jmr at macports.org
Sun Mar 28 12:03:24 PDT 2010

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