Arm stressapps不支持的CPU类型:无法强制缓存刷新

Arm stressapps不支持的CPU类型:无法强制缓存刷新,arm,cross-compiling,configure,stress-testing,archlinux-arm,Arm,Cross Compiling,Configure,Stress Testing,Archlinux Arm,我正在尝试为ARM进行交叉编译,并且我能够成功地进行交叉编译。但我在编译过程中看到了很多警告 比如说, sattypes.h:231:2: warning: #warning "Unsupported CPU type." [-Wcpp] #warning "Unsupported CPU type." ^ In file included from sat.cc:46:0: os.h:160:4: warning: #warning "Unsupported CPU type: Unab

我正在尝试为ARM进行交叉编译,并且我能够成功地进行交叉编译。但我在编译过程中看到了很多警告

比如说,

sattypes.h:231:2: warning: #warning "Unsupported CPU type." [-Wcpp] #warning "Unsupported CPU type." ^ In file included from sat.cc:46:0: os.h:160:4: warning: #warning "Unsupported CPU type: Unable to \ force cache flushes." [-Wcpp] #warning "Unsupported CPU type: Unable to force cache flushes." ^ os.h:194:6: warning: #warning "Unsupported CPU type: Unable to \ force cache flushes." [-Wcpp] #warning "Unsupported CPU type: Unable to force cache flushes." ^ os.h:217:6: warning: #warning "Unsupported CPU type: Unable to \ force cache flushes." [-Wcpp] #warning "Unsupported CPU type: Unable to force cache flushes." ^ os.h:243:4: warning: #warning "Unsupported CPU type: Unable to \ force cache flushes." [-Wcpp] #warning "Unsupported CPU type: Unable to force cache flushes." ^ os.h:273:6: warning: #warning "Unsupported CPU type: your timer \ may not function correctly" [-Wcpp] #warning "Unsupported CPU type: your timer may not function correctly" 我的配置:

./configure-host=arm-linux-gnueabihf-CXX=arm-linux-gnueabihf-g++-with static


我是否需要传递任何附加参数来修复不受支持的CPU类型?如果有人分享他们的经验,那就太好了。

他们都希望通过定义由configure-host=ARMV7A或类似的东西触发的STRESSAPPTEST\u CPU\u ARMV7A来解决。谢谢你的友好回复。即使设置了这些变量,我也看到了同样的问题。您可以使用自己的警告“我的跟踪”修改源/标题,并查看是否确实定义了它。您可以查看os.h,armv7a CPU仍会发出一些警告。这是应用程序作者所做的事情。有些功能无法与armv7a配合使用。在os.h中搜索STRESSAPPTEST_CPU以查看所有条件。Yes向os.h添加了一些警告,在编译验证期间它一直在调用这些警告。但是我定义的那些根本没有被调用。我需要更仔细地检查os.h及其定义。