Skip to content

Windows Arm build error #470

@Kyun-J

Description

@Kyun-J

I build with windows, mac, linux x86, and arm64 targets, and I'm only getting build errors on the windows arm platform.
After checking the cause of the problem, it seems that some techniques are calling functions and identifiers of the x86 architecture even though they are in the arm environment.

As of the latest commit, the following techniques were causing build errors, and branching them with the #if (ARM) syntax fixed the build errors.

  1. VM::SGDT
    On line 7251, _sgdt is being called.
  2. VM::LOGICAL_PROCESSORS
    On line 8005, __readgsqword is being called.
  3. VM::VIRTUAL_PROCESSORS
    On line 8069, __cpuid is being called.
  4. VM::TRAP
    Dr7, Dr6, and Dr0 are being used on lines 8532, 8533, and 8554.
  5. VM::UD
    On line 8591, __ud2 is being called.

Please check on this issue.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions