[cfe-dev] error:instruction requires a CPU feature not currently enabled for pusha, popa, .code32, .code64,
sebastian.redl at getdesigned.at
Mon Nov 15 02:21:34 CST 2010
On 12.11.2010 20:24, Santosh Nagarakatte wrote:
> While compiling bitvisor-1.1 with clang, I am getting the following
> errors. I am using clang from the trunk 118916 with x86_64 on linux.
> I have filed a new bug report 8595
> callrealmode.c:62:3: error: instruction requires a CPU feature not currently
> "push %%rax\n"
Looks like the assembler thinks it's compiling for a 32-bit CPU. There
really isn't any other CPU feature other than 64-bit support that's
required for this instruction.
More information about the cfe-dev