[cfe-dev] error:instruction requires a CPU feature not currently enabled for pusha, popa, .code32, .code64,

Sebastian Redl sebastian.redl at getdesigned.at
Mon Nov 15 00:21:34 PST 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
>
> http://llvm.org/bugs/show_bug.cgi?id=8595
>
> callrealmode.c:62:3: error: instruction requires a CPU feature not currently
> enabled
>                  "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.

Sebastian



More information about the cfe-dev mailing list