You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Build Failure] fatal error: 'core/arch/Cpu.h' not found when compiling for Android (ARM64) #295
cmake --build .
The Error: The compiler throws a fatal error in code-patch-tool-posix.cc:
Plaintext
/source/Backend/UserMode/ExecMemory/code-patch-tool-posix.cc:3:10: fatal error: 'core/arch/Cpu.h' file not found
#include "core/arch/Cpu.h"
^~~~~~~~~~~~~~~~~
1 error generated.
Observation: I checked the source tree and source/core/arch/Cpu.h does not exist. I noticed there is a source/core/arch/x86/cpu-x86.h, but I am compiling for ARM64, so that file is not relevant, and the filename does not match the include directive anyway.
It seems the master branch is missing the generic Cpu.h header. Is there a specific commit I should be using for Android builds?
Activity
xiaobias commentedon Dec 24, 2025
使用这个版本: #237