[FFmpeg-devel] [PATCH] libavcodec: fix building without asm

Michael Bradshaw mjbshaw at gmail.com
Fri Feb 5 21:33:22 CET 2016


Hi,

Attached patch fixes building ffmpeg on OS X with the following
configuration: --disable-optimizations --disable-asm

Without this patch the following error is observed:

LD ffmpeg_g
Undefined symbols for architecture x86_64:
  "_ff_spatial_idwt_init_mmx", referenced from:
      _ff_spatial_idwt_init2 in libavcodec.a(dirac_dwt.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [ffmpeg_g] Error 1


This is with clang from Apple LLVM 7.0.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavcodec-fix-building-without-asm.patch
Type: application/octet-stream
Size: 818 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160205/76862c03/attachment.obj>


More information about the ffmpeg-devel mailing list