[FFmpeg-devel] [PATCH] Fix compilation with nasm.

Michael Niedermayer michaelni at gmx.at
Tue Oct 8 13:37:42 CEST 2013


On Mon, Oct 07, 2013 at 10:04:27PM -0400, Ronald S. Bultje wrote:
> Hi,
> 
> On Mon, Oct 7, 2013 at 9:02 PM, Michael Niedermayer <michaelni at gmx.at>wrote:
> 
> > On Mon, Oct 07, 2013 at 08:36:22PM -0400, Ronald S. Bultje wrote:
> > > Hi,
> > >
> > > On Mon, Oct 7, 2013 at 8:33 PM, Michael Niedermayer <michaelni at gmx.at
> > >wrote:
> > >
> > > > On Tue, Oct 08, 2013 at 02:24:33AM +0200, Michael Niedermayer wrote:
> > > > > On Mon, Oct 07, 2013 at 08:06:47PM -0400, Ronald S. Bultje wrote:
> > > > > > From: "Ronald S. Bultje" <rsbultje at gmail.com>
> > > > > >
> > > > > > ---
> > > > > >  libavcodec/x86/fft.asm              | 3 +--
> > > > > >  libavcodec/x86/vp9dsp.asm           | 6 +++---
> > > > > >  libswresample/x86/audio_convert.asm | 3 +--
> > > > > >  libswresample/x86/rematrix.asm      | 3 +--
> > > > > >  4 files changed, 6 insertions(+), 9 deletions(-)
> > > > >
> > > > > applied
> > > >
> > > > hmm, seems only the vp9dsp change is neede for nasm so i applied only
> > > > that
> > >
> > >
> > > It fails for me, saying that alignment was specified twice with different
> > > values, and then aborts compilation. It's actually worse, it leaves
> > behind
> > > an empty object file, thus if you type "make" again it thinks it
> > succeeded,
> > > but then linking fails.
> > >
> > > Maybe that only happens on x86-64 or mac, not on other platforms?
> >
> > for me it works on x86-64 with
> > NASM version 2.09.10 compiled on Oct 17 2011
> > on linux
> >
> > but if the other hunks are needed too then they should be applied too
> >
> 
> Fails on:
> NASM version 2.10 compiled on Apr 19 2012
> Mac x86-64.

rest of the patch applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131008/f4ed2d04/attachment.asc>


More information about the ffmpeg-devel mailing list