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

时间:2015-11-28 11:35:02

标签: arm cross-compiling configure stress-testing archlinux-arm

我正在尝试为ARM交叉编译stressapptest,我能够成功交叉编译。但是我在编译期间看到了很多警告。

例如,

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类型?如果有人分享他们的经验会很棒。

0 个答案:

没有答案