Opened 13 years ago
Last modified 13 years ago
#30490 closed defect
ffmpeg: yasm required to build for arch=i386 — at Version 2
Reported by: | bruno.herbelin@… | Owned by: | devans@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.0 |
Keywords: | yasm | Cc: | |
Port: | ffmpeg |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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 ?
Change History (2)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to devans@… |
---|---|
Priority: | Low → Normal |
Summary: | Yasm required to build ffmpeg for arch=i386 → ffmpeg: yasm required to build for arch=i386 |
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.