dinhminhquoi / webm

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

Error in libyuv: cpu_id.cc #791

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello everybody,
since today vpxenc/vpxdec will not build any more. 
The error message is:

    [CXX] third_party/libyuv/source/cpu_id.cc.o
third_party/libyuv/source/cpu_id.cc: In function 'int libyuv::TestOsSaveYmm()':
third_party/libyuv/source/cpu_id.cc:101:9: error: expected '(' before '{' token
   __asm {
         ^
third_party/libyuv/source/cpu_id.cc:102:5: error: expected primary-expression 
before 'xor' token
     xor        ecx, ecx    // xcr 0
     ^
third_party/libyuv/source/cpu_id.cc:102:16: error: 'ecx' was not declared in 
this scope
     xor        ecx, ecx    // xcr 0
                ^
Makefile:151: recipe for target 'third_party/libyuv/source/cpu_id.cc.o' failed
make[1]: *** [third_party/libyuv/source/cpu_id.cc.o] Error 1
Makefile:17: recipe for target '.DEFAULT' failed
make: *** [.DEFAULT] Error 2

Best Regards!

jb_

Original issue reported on code.google.com by jonba...@gmail.com on 22 May 2014 at 5:22

GoogleCodeExporter commented 9 years ago
Sorry I forget to give informations about my compiler:
msys2/mingw-w64; gcc 4.9.0 32 bit / 64 bit

Original comment by jonba...@gmail.com on 22 May 2014 at 5:35

GoogleCodeExporter commented 9 years ago
I need to correct me, this error is only happen by the 32 bit version.

Original comment by jonba...@gmail.com on 22 May 2014 at 7:51

GoogleCodeExporter commented 9 years ago
Can you please provide your full config command? Thanks.

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

GoogleCodeExporter commented 9 years ago
Hello,
since the last time, cpu_id.cc was updated, the problem is fixed. So the issue 
is not actual anymore. Thanks!

My config command is:
LDFLAGS="$LDFLAGS -static-libgcc -static" ./configure --prefix=$LOCALDESTDIR 
--target=x86-win32-gcc --disable-shared --enable-static --disable-unit-tests 
--disable-docs --enable-postproc --enable-vp9-postproc 
--enable-runtime-cpu-detect

Original comment by jonba...@gmail.com on 10 Oct 2014 at 6:52

GoogleCodeExporter commented 9 years ago

Original comment by jz...@google.com on 10 Oct 2014 at 12:35