katepanping / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

NaCL x64 build error #381

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For 64 bit, theres an AVX2 build error somewhere.

d:\src\nacl_sdk\pepper_canary\tools\make CONFIG=Release TESTING=1 V=1 
NACL_CFLAGS="-I./include" NACL_CXXFLAGS="-I./include -DGCC_HAS_AVX2"

d:/src/nacl_sdk/pepper_canary/toolchain/win_x86_newlib/bin/x86_64-nacl-g++ -o 
newlib/Release/source/row_posix_x86_64.o -c source/row_posix.cc -g -O2 -pthread 
-MMD -DNDEBUG  -Id:/src/nacl_sdk/pepper_canary/include 
-Id:/src/nacl_sdk/pepper_canary/include/newlib  -I./include -DGCC_HAS_AVX2
/cygdrive/d/src/tmp/cceVpaYP.s: Assembler messages:
/cygdrive/d/src/tmp/cceVpaYP.s:3544: Error: junk `:' after expression
/cygdrive/d/src/tmp/cceVpaYP.s:3598: Error: junk `:' after expression
/cygdrive/d/src/tmp/cceVpaYP.s:3696: Error: junk `:' after expression
/cygdrive/d/src/tmp/cceVpaYP.s:3750: Error: junk `:' after expression
Makefile:103: recipe for target 'newlib/Release/source/row_posix_x86_64.o' 
failed

Saving the temporaries:
set NACL_SDK_ROOT=d:/src/nacl_sdk/pepper_canary/
d:\src\nacl_sdk\pepper_canary\tools\make CONFIG=Release TESTING=1 V=1 
NACL_CFLAGS="-I./include" NACL_CXXFLAGS="-I./include -DGCC_HAS_AVX2 -save-temps"
lea       0x10%nacl:(%r15,%rdx),%edx
lea       0x10%nacl:(%r15,%rsi),%esi         
lea       0x10%nacl:(%r15,%rdx),%edx         
lea       0x10%nacl:(%r15,%rsi),%esi

Which comes from incorrect source like "lea       0x10" MEMACCESS(1) ",%1       
  \n"

Original issue reported on code.google.com by fbarch...@google.com on 19 Nov 2014 at 9:03

GoogleCodeExporter commented 9 years ago

Original comment by fbarch...@google.com on 20 Nov 2014 at 4:42