使用 Cobalt 在 base/cpu.cc:71:4 中编译错误

compile error in base/cpu.cc:71:4 with Cobalt

在base/cpu.cc:71:4中说“impossible constraint in 'asm' error,用Cobalt编译时,检查fluent后发现可能需要设置CPU ARCH,但我不知道在哪里设置它,谁能帮我? The details error info is as follows

你可以在starboard/linux/x64x11/configuration_public.h(https://cobalt.googlesource.com/cobalt/+/e9b4b99dab6e774b8b6e63add74c352cc5dd395a/src/starboard/linux/x64x11/configuration_public.h)中设置CPU ARCH,如果你在ARM上编译Cobalt,那么你可以这样设置:

// Whether the current platform is an ARM architecture.
#define SB_IS_ARCH_ARM 1

// Whether the current platform is an x86 architecture.
#define SB_IS_ARCH_X86 0