ericmckean / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

[OSX] build failures with Xcode 5.1 + nasm #755

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
v1.3.0-2167-g0678104
Xcode 5.1
Build version 5B130a
NASM version 0.98.40 (Apple Computer, Inc. build 11) compiled on Jan 15 2014

nasm -Ox -f macho64 -I./ -I".."/ -o vpx_ports/emms.asm.o ../vpx_ports/emms.asm
(null):0: fatal: command line optimization level must be 'v', 0..3 or <nn>

---
fixing -O and then -f macho, the build will fail with:
nasm -Ov -f macho -I./ -I".."/ -o vpx_ports/emms.asm.o ../vpx_ports/emms.asm
../vpx_ports/emms.asm:15: error: identifier expected after GLOBAL

Original issue reported on code.google.com by jz...@google.com on 4 Apr 2014 at 11:16

GoogleCodeExporter commented 9 years ago
Try installing yasm before building. This helped me.

Original comment by vojt...@gmail.com on 14 Jul 2014 at 2:23

GoogleCodeExporter commented 9 years ago
yasm is an option. The question here is if nasm should work or whether we need 
it at all.

Original comment by jz...@google.com on 14 Jul 2014 at 9:59

GoogleCodeExporter commented 9 years ago

Original comment by renganat...@google.com on 9 Oct 2014 at 10:33

GoogleCodeExporter commented 9 years ago
A potential fix for the non-Apple version is here:

https://gerrit.chromium.org/gerrit/#/c/72234

Original comment by jz...@google.com on 24 Nov 2014 at 8:10