SPEC CPU2006 483.xalancbmk and 447.dealII fails to build编译错误
来源:互联网 发布:js判断空值 编辑:程序博客网 时间:2024/05/17 09:18
参考:解决方法,cfg中选项的写法
问题描述:使用如下命令编译483和447测试集时
runspec --config=sff-alpha32.cfg --size=ref --noreportable --tune=base --iterations=1 dealIIrunspec --config=sff-alpha32.cfg --size=ref --noreportable --tune=base --iterations=1 xalancbmk
出现如下编译错误:
Build of 483.xanancbmk dies with:FormatterToHTML.cpp: In member function 'void xalanc_1_8::FormatterToHTML::initCharsMap()': FormatterToHTML.cpp:139:42: error: 'memset' was not declared in this scope specmake: *** [FormatterToHTML.o] Error 1and 447.dealII with:quadrature.cc: In constructor 'Quadrature<dim>::Quadrature(const std::vector<Point<dim> >&)':quadrature.cc:64:26: error: 'atof' is not a member of 'std'specmake: *** [quadrature.o] Error 1
解决方法:出现上述错误的主要原因是缺少库文件,GCC有很好的选项可以解决该问题。只需要在alpha.cfg(编译配置文件)文件中的Portability部分加入如下选项:
########################################################### Portability Section 主要是两个-inlude部分##########################################################483.xalancbmk=default=default=default:CXXPORTABILITY= -DSPEC_CPU_LINUX -include cstdlib -include cstring447.dealII=default:CXXPORTABILITY = -include cstdlib -include cstring
修改好配置文件后在重新编译一遍即可。
0 0
- SPEC CPU2006 483.xalancbmk and 447.dealII fails to build编译错误
- SPEC CPU2006 command lines
- 基准测试spec cpu2006
- SPEC CPU2006的执行命令
- spec cpu2006 working set size
- Fails to build with protobuf 2.6.0
- 在gem5中运行spec cpu2006
- ltib - fails to build Busybox in Ubuntu 12.04
- 编译错误build error
- xcode archive build fails with error Copy .strings file Error : Failed to remove
- jenkins Hudson fails build with UnsupportedOperationException due to attempted modification of Simpl
- Installing the PostgreSQL gem with 'gem pq' fails with ERROR: Failed to build gem native extension
- cordova build android 打包编译时报错,错误为unable to start the daemon process ......
- ClickOnce fails to deploy
- Relationship between Test Spec and Dev Spec
- How to auto build and deploy project
- How to Download and Build V8
- linux+dealii
- C++ 构造函数语义学
- cPanel
- ORACLE中union/union all/Intersect/Minus用法
- 大数a*b%m a^b%m
- Proxy----代理模式
- SPEC CPU2006 483.xalancbmk and 447.dealII fails to build编译错误
- Combination Sum II
- 2015必须推荐的Android框架,猿必读系列!
- 关于信息安全制度中等级保护与分级保护的异同
- Java在游戏服务器开发中的应用
- 创建或使用到的自定义View 记录
- android自定义viewgroup实现等分格子布局
- shadowsocks在ubuntu下的搭建
- 股票技术知识