I wanted to build cef from source code. I am using Mavericks 64-bit
I downloaded cef 1547 and chromium 29.0.1547.80
used next commands:
gclient sync --jobs 8
./cef_create_projects.sh
./build_projects.sh Debug
and build fails:
- Code: Select all
** BUILD FAILED **
The following build commands failed:
CompileC ../../xcodebuild/ffmpeg.build/Debug/ffmpegsumo.build/Objects-normal/x86_64/hpeldsp_init.o libavcodec/x86/hpeldsp_init.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
CompileC ../../xcodebuild/ffmpeg.build/Debug/ffmpegsumo.build/Objects-normal/x86_64/vp3dsp_init.o libavcodec/x86/vp3dsp_init.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
CompileC ../../xcodebuild/ffmpeg.build/Debug/ffmpegsumo.build/Objects-normal/x86_64/float_dsp_init.o libavutil/x86/float_dsp_init.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
(3 failures)
Up in LOG i found this:
- Code: Select all
pathToChromium/src/third_party/ffmpeg/libavutil/x86/float_dsp_init.c:67:10: error: index register is 32-bit, but base register is 64-bit
"pswapd (%5, %1), %%mm1 \n"
^
<inline asm>:2:15: note: instantiated into assembly here
pswapd (%rcx, %edi), %mm1
^
pathToChromium/src/third_party/ffmpeg/libavutil/x86/float_dsp_init.c:68:10: error: index register is 32-bit, but base register is 64-bit
"movq (%5, %0), %%mm0 \n"
^
<inline asm>:3:15: note: instantiated into assembly here
movq (%rcx, %r10d), %mm0
^
pathToChromium/src/third_party/ffmpeg/libavutil/x86/float_dsp_init.c:69:10: error: index register is 32-bit, but base register is 64-bit
"pswapd (%4, %1), %%mm5 \n"
^
<inline asm>:4:15: note: instantiated into assembly here
pswapd (%rdx, %edi), %mm5
^
pathToChromium/src/third_party/ffmpeg/libavutil/x86/float_dsp_init.c:70:10: error: index register is 32-bit, but base register is 64-bit
"movq (%3, %0), %%mm4 \n"
^
<inline asm>:5:15: note: instantiated into assembly here
movq (%rsi, %r10d), %mm4
^
pathToChromium/src/third_party/ffmpeg/libavutil/x86/float_dsp_init.c:80:10: error: index register is 32-bit, but base register is 64-bit
"movq %%mm1, (%2, %0) \n"
^
<inline asm>:15:23: note: instantiated into assembly here
movq %mm1, (%r9, %r10d)
^
pathToChromium/src/third_party/ffmpeg/libavutil/x86/float_dsp_init.c:81:10: error: index register is 32-bit, but base register is 64-bit
"movq %%mm2, (%2, %1) \n"
^
<inline asm>:16:23: note: instantiated into assembly here
movq %mm2, (%r9, %edi)
^
pathToChromium/src/third_party/ffmpeg/libavutil/x86/float_dsp_init.c:98:10: error: index register is 32-bit, but base register is 64-bit
"movaps (%5, %1), %%xmm1 \n"
^
<inline asm>:2:20: note: instantiated into assembly here
movaps (%rcx, %edi), %xmm1
^
pathToChromium/src/third_party/ffmpeg/libavutil/x86/float_dsp_init.c:99:10: error: index register is 32-bit, but base register is 64-bit
"movaps (%5, %0), %%xmm0 \n"
^
<inline asm>:3:20: note: instantiated into assembly here
movaps (%rcx, %r10d), %xmm0
^
pathToChromium/src/third_party/ffmpeg/libavutil/x86/float_dsp_init.c:100:10: error: index register is 32-bit, but base register is 64-bit
"movaps (%4, %1), %%xmm5 \n"
^
<inline asm>:4:20: note: instantiated into assembly here
movaps (%rdx, %edi), %xmm5
^
pathToChromium/src/third_party/ffmpeg/libavutil/x86/float_dsp_init.c:101:10: error: index register is 32-bit, but base register is 64-bit
"movaps (%3, %0), %%xmm4 \n"
^
<inline asm>:5:20: note: instantiated into assembly here
movaps (%rsi, %r10d), %xmm4
^
pathToChromium/src/third_party/ffmpeg/libavutil/x86/float_dsp_init.c:113:10: error: index register is 32-bit, but base register is 64-bit
"movaps %%xmm1, (%2, %0) \n"
^
<inline asm>:17:28: note: instantiated into assembly here
movaps %xmm1, (%r9, %r10d)
^
pathToChromium/src/third_party/ffmpeg/libavutil/x86/float_dsp_init.c:114:10: error: index register is 32-bit, but base register is 64-bit
"movaps %%xmm2, (%2, %1) \n"
^
<inline asm>:18:28: note: instantiated into assembly here
movaps %xmm2, (%r9, %edi)
^
12 errors generated.
- Code: Select all
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/vp3dsp_init.c:74:43: error: index register is 32-bit, but base register is 64-bit
"movq (%2), %%mm1 \n\t"
^
<inline asm>:4:15: note: instantiated into assembly here
movq (%rsi,%ecx), %mm2
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/vp3dsp_init.c:75:43: error: index register is 32-bit, but base register is 64-bit
"movq (%1,%4), %%mm2 \n\t"
^
<inline asm>:5:15: note: instantiated into assembly here
movq (%rdx,%ecx), %mm3
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/vp3dsp_init.c:78:43: error: index register is 32-bit, but base register is 64-bit
"movq %%mm4, (%3) \n\t"
^
<inline asm>:19:21: note: instantiated into assembly here
movq %mm5, (%rdi,%ecx)
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/vp3dsp_init.c:79:43: error: index register is 32-bit, but base register is 64-bit
"movq %%mm5, (%3,%4) \n\t"
^
<inline asm>:20:15: note: instantiated into assembly here
movq (%rsi,%ecx,2), %mm0
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/vp3dsp_init.c:81:43: error: index register is 32-bit, but base register is 64-bit
"movq (%1,%4,2), %%mm0 \n\t"
^
<inline asm>:21:15: note: instantiated into assembly here
movq (%rdx,%ecx,2), %mm1
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/vp3dsp_init.c:84:43: error: index register is 32-bit, but base register is 64-bit
"movq (%2,%5), %%mm3 \n\t"
^
<inline asm>:24:15: note: instantiated into assembly here
lea (%rsi,%ecx,4), %rsi
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/vp3dsp_init.c:85:43: error: index register is 32-bit, but base register is 64-bit
"lea (%1,%4,4), %1 \n\t"
^
<inline asm>:25:15: note: instantiated into assembly here
lea (%rdx,%ecx,4), %rdx
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/vp3dsp_init.c:87:9: error: index register is 32-bit, but base register is 64-bit
PAVGBP_MMX_NO_RND(%%mm0, %%mm1, %%mm4, %%mm2, %%mm3, %%mm5)
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/vp3dsp_init.c:65:43: note: expanded from macro 'PAVGBP_MMX_NO_RND'
"paddb "#regd", "#regp" \n\t"
^
<inline asm>:38:21: note: instantiated into assembly here
movq %mm4, (%rdi,%ecx,2)
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/vp3dsp_init.c:89:43: error: index register is 32-bit, but base register is 64-bit
"movq %%mm5, (%3,%5) \n\t"
^
<inline asm>:40:15: note: instantiated into assembly here
lea (%rdi,%ecx,4), %rdi
^
9 errors generated.
- Code: Select all
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:183:43: error: index register is 32-bit, but base register is 64-bit
"movq 8(%1 ), %%mm4 \n\t"
^
<inline asm>:6:15: note: instantiated into assembly here
movq (%rsi, %edx), %mm1
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:184:43: error: index register is 32-bit, but base register is 64-bit
"movq (%1, %3), %%mm1 \n\t"
^
<inline asm>:7:15: note: instantiated into assembly here
movq 8(%rsi, %edx), %mm5
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:187:43: error: index register is 32-bit, but base register is 64-bit
"movq %%mm4, 8(%2) \n\t"
^
<inline asm>:10:25: note: instantiated into assembly here
movq %mm1, (%rdi, %edx)
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:188:43: error: index register is 32-bit, but base register is 64-bit
"movq %%mm1, (%2, %3) \n\t"
^
<inline asm>:11:25: note: instantiated into assembly here
movq %mm5, 8(%rdi, %edx)
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:189:43: error: unknown use of instruction mnemonic without a size suffix
"movq %%mm5, 8(%2, %3) \n\t"
^
<inline asm>:12:2: note: instantiated into assembly here
add %eax, %rsi
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:190:43: error: unknown use of instruction mnemonic without a size suffix
"add %%"REG_a", %1 \n\t"
^
<inline asm>:13:2: note: instantiated into assembly here
add %eax, %rdi
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:193:43: error: index register is 32-bit, but base register is 64-bit
"movq 8(%1 ), %%mm4 \n\t"
^
<inline asm>:16:15: note: instantiated into assembly here
movq (%rsi, %edx), %mm1
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:194:43: error: index register is 32-bit, but base register is 64-bit
"movq (%1, %3), %%mm1 \n\t"
^
<inline asm>:17:15: note: instantiated into assembly here
movq 8(%rsi, %edx), %mm5
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:197:43: error: index register is 32-bit, but base register is 64-bit
"movq %%mm4, 8(%2) \n\t"
^
<inline asm>:20:25: note: instantiated into assembly here
movq %mm1, (%rdi, %edx)
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:198:43: error: index register is 32-bit, but base register is 64-bit
"movq %%mm1, (%2, %3) \n\t"
^
<inline asm>:21:25: note: instantiated into assembly here
movq %mm5, 8(%rdi, %edx)
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:199:43: error: unknown use of instruction mnemonic without a size suffix
"movq %%mm5, 8(%2, %3) \n\t"
^
<inline asm>:22:2: note: instantiated into assembly here
add %eax, %rsi
^
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:200:43: error: unknown use of instruction mnemonic without a size suffix
"add %%"REG_a", %1 \n\t"
^
<inline asm>:23:2: note: instantiated into assembly here
add %eax, %rdi
^
In file included from pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:104:
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_rnd_template.c:70:43: error: index register is 32-bit, but base register is 64-bit
"movq 1(%1), %%mm1 \n\t"
^
<inline asm>:6:16: note: instantiated into assembly here
movq (%rsi, %edx), %mm2
^
In file included from pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:104:
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_rnd_template.c:71:43: error: index register is 32-bit, but base register is 64-bit
"movq (%1, %3), %%mm2 \n\t"
^
<inline asm>:7:17: note: instantiated into assembly here
movq 1(%rsi, %edx), %mm3
^
In file included from pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:104:
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_rnd_template.c:74:43: error: index register is 32-bit, but base register is 64-bit
"movq %%mm4, (%2) \n\t"
^
<inline asm>:21:22: note: instantiated into assembly here
movq %mm5, (%rdi, %edx)
^
In file included from pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:104:
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_rnd_template.c:77:43: error: index register is 32-bit, but base register is 64-bit
"movq 9(%1), %%mm1 \n\t"
^
<inline asm>:24:17: note: instantiated into assembly here
movq 8(%rsi, %edx), %mm2
^
In file included from pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:104:
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_rnd_template.c:78:43: error: index register is 32-bit, but base register is 64-bit
"movq 8(%1, %3), %%mm2 \n\t"
^
<inline asm>:25:17: note: instantiated into assembly here
movq 9(%rsi, %edx), %mm3
^
In file included from pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:104:
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_rnd_template.c:81:43: error: index register is 32-bit, but base register is 64-bit
"movq %%mm4, 8(%2) \n\t"
^
<inline asm>:39:23: note: instantiated into assembly here
movq %mm5, 8(%rdi, %edx)
^
In file included from pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_init.c:104:
pathToChromium/src/third_party/ffmpeg/libavcodec/x86/hpeldsp_rnd_template.c:82:43: error: unknown use of instruction mnemonic without a size suffix
"movq %%mm5, 8(%2, %3) \n\t"
^
<inline asm>:40:2: note: instantiated into assembly here
add %eax, %rsi
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
What I am doing wrong?