Score
0
Watch 29 Star 67 Fork 18

pkuvcl / davs2CGPL-2.0

在WSL环境下交叉编译报错

Open
aliofwind  Opened this issue

环境是win10 1803 64位专业版,WSL是商店的ubuntu18.04
使用的参数是./configure --host=i686-w64-mingw32 --prefix=/home/aos/opensdk --cross-prefix=i686-w64-mingw32- --enable-pic
编译到quant8.asm的时候报错:

> > /home/aos/davs2/source/common/x86/quant8.asm:48: error: mismatch in operand sizes
> > /home/aos/davs2/source/common/x86/x86inc.asm:1258: ... from macro `movq' defined here
> > /home/aos/davs2/source/common/x86/x86inc.asm:1142: ... from macro `RUN_AVX_INSTR' defined here
> > /home/aos/davs2/source/common/x86/quant8.asm:49: error: invalid combination of opcode and operands
> > /home/aos/davs2/source/common/x86/x86inc.asm:1258: ... from macro `movq' defined here
> > /home/aos/davs2/source/common/x86/x86inc.asm:1142: ... from macro `RUN_AVX_INSTR' defined here
> > /home/aos/davs2/source/common/x86/quant8.asm:54: error: invalid combination of opcode and operands
> > /home/aos/davs2/source/common/x86/x86inc.asm:1258: ... from macro `movq' defined here
> > /home/aos/davs2/source/common/x86/x86inc.asm:1142: ... from macro `RUN_AVX_INSTR' defined here
> > Makefile:205: recipe for target 'common/x86/quant8.o' failed
> > make: *** [common/x86/quant8.o] Error 1
> > make: *** Waiting for unfinished jobs....
total 1 participants

Comments (0)

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority