HaxeFoundation / hxcpp

Runtime files for c++ backend for haxe
Other
298 stars 189 forks source link

Error from GoRegCapture.cpp #1062

Closed I-am-someone-sh closed 1 year ago

I-am-someone-sh commented 1 year ago

Error: /usr/local/lib/haxe/lib/hxcpp/4,3,2/src/hx/gc/GcRegCapture.cpp:20:9: error: unknown use of instruction mnemonic without a size suffix asm ("mov %%esi, %0\n\t" : "=r" (regEsi) ); ^

:1:2: note: instantiated into assembly here mov %esi, %rax ^ /usr/local/lib/haxe/lib/hxcpp/4,3,2/src/hx/gc/GcRegCapture.cpp:21:9: error: unknown use of instruction mnemonic without a size suffix asm ("mov %%edi, %0\n\t" : "=r" (regEdi) ); ^ :1:2: note: instantiated into assembly here mov %edi, %rcx ^ /usr/local/lib/haxe/lib/hxcpp/4,3,2/src/hx/gc/GcRegCapture.cpp:22:9: error: unknown use of instruction mnemonic without a size suffix asm ("mov %%ebx, %0\n\t" : "=r" (regEbx) ); ^ :1:2: note: instantiated into assembly here mov %ebx, %rdx anybody can help?