[x265] [PATCH] asm: prevent assembly use in 32bit HBD builds
Mario *LigH* Rohkrämer
contact at ligh.de
Fri Mar 6 11:44:18 CET 2015
This patch as such may be incomplete, because make still tries to compile
the assembler code and fails due to 64-bit mode registers, so the whole
build appears to fail:
+----
[ 15%] Building ASM_YASM object
common/CMakeFiles/common.dir/x86/intrapred16.asm.obj
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:187:
error: undefined symbol `r7' (first use)
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:187:
error: (Each undefined symbol is reported only once.)
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:276:
warning: `r8' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:276:
error: undefined symbol `r8' (first use)
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:277:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:277:
warning: `r8' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:277:
error: undefined symbol `r9' (first use)
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:292:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:293:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:296:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:297:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:300:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:301:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:304:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:305:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:306:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:306:
warning: `r8' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:307:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:307:
warning: `r8' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:308:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:309:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:357:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:367:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:371:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:375:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:377:
warning: `r9' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:377:
warning: `r8' is a register in 64-bit mode
h:/MSYS/home/Entwicklung/x265/source/common/x86/intrapred16.asm:379:
warning: `r9' is a register in 64-bit mode
make[2]: *** [common/CMakeFiles/common.dir/x86/intrapred16.asm.obj] Error 1
make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
make: *** [all] Error 2
+----
I believe you also have to prevent make from even trying to compile such
assembler files.
--
Fun and success!
Mario *LigH* Rohkrämer
mailto:contact at ligh.de
More information about the x265-devel
mailing list