[MacPorts] #30490: ffmpeg: yasm required to build for arch=i386

MacPorts noreply at macports.org
Sun Jul 31 04:21:48 PDT 2011


#30490: ffmpeg: yasm required to build for arch=i386
--------------------------------------+-------------------------------------
 Reporter:  bruno.herbelin@…          |       Owner:  devans@…           
     Type:  defect                    |      Status:  new                
 Priority:  Normal                    |   Milestone:                     
Component:  ports                     |     Version:  2.0.0              
 Keywords:  yasm                      |        Port:  ffmpeg             
--------------------------------------+-------------------------------------
Description changed by ryandesign@…:

Old description:

> Compilation of port ffmpeg fails if macport build_arch is i386 (on a
> x86_64 machine):
> It is not a C error, but a gcc asm problem;  " ‘asm’ operand has
> impossible constraints " (i don't remember which file, but it was in
> libavcodec).
>
> To fix this, I added
> --enable-yasm
> to the list of configure.args in the Portfile of ffmpeg.
>
> Of course, yasm should also be added as a dependency to ffmpeg. I would
> recommend to enable yasm for all architecture (no need to make different
> behavior between 32 and 64 bits).
>
> Thanks for the good work with macports !
>

> PS: this is not the same as Ticket #30137, but related ?

New description:

 Compilation of port ffmpeg fails if macport build_arch is i386 (on a
 x86_64 machine):
 It is not a C error, but a gcc asm problem;  " ‘asm’ operand has
 impossible constraints " (i don't remember which file, but it was in
 libavcodec).

 To fix this, I added
 {{{
 --enable-yasm
 }}}
 to the list of configure.args in the Portfile of ffmpeg.

 Of course, yasm should also be added as a dependency to ffmpeg. I would
 recommend to enable yasm for all architecture (no need to make different
 behavior between 32 and 64 bits).

 Thanks for the good work with macports !


 PS: this is not the same as Ticket #30137, but related ?

--

-- 
Ticket URL: <https://trac.macports.org/ticket/30490#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list