Created attachment 954 [details] lmbench测试日志 Description of problem: Tone平台测试性能lmbench失败,lmbench编译不通过,需要适配下系统 软件环境: #内核版本: # uname -r 5.10.134-16.2_rc1.an23.loongarch64 #系统版本 # cat /etc/os-release NAME="Anolis OS" VERSION="23" ID="anolis" VERSION_ID="23" PLATFORM_ID="platform:an23" PRETTY_NAME="Anolis OS 23" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" BUG_REPORT_URL="https://bugzilla.openanolis.cn/" Steps to Reproduce: 1.在社区Tone平台上跑性能测试lmbench Actual results: 测试性能lmbench失败,lmbench编译不通过 查看日志,报错如下: Jan 16 15:19:44 [ERROR]: Unsupported Distribution Jan 16 15:19:44 [ERROR]: Unsupported Distribution Expected results: lmbench在loongarch64上可正常编译通过 Additional info:
该问题由于uname -p显示为unknown,并且lmbench无法识别loongarch64导致,对应修复如下 https://gitee.com/anolis/tone-cli/pulls/483 https://gitee.com/src-anolis-os/coreutils/pulls/19 代码合并后再进行验证
修复pr已合入,待回归验证
已验证,已解决 目前可正常在Tone平台上跑lmbench性能数据