travisdowns / uarch-bench

A benchmark for low-level CPU micro-architectural features
MIT License
686 stars 63 forks source link

Build error due to outdated libpfm4 #73

Closed xoqolatl closed 5 years ago

xoqolatl commented 5 years ago

uarch-bench won't build with GCC 8.1-8.3 because of truncation error in libpfm4. This was fixed a year ago in perfmon: https://sourceforge.net/p/perfmon2/bugs/7/ but is not updated in uarch-bench yet. uarch-bench builds fine when I replace libpfm4 with latest version.

travisdowns commented 5 years ago

BTW, thank you for the report.

Thanks @xoqolatl - I've updated libpfm to master HEAD, can you pull and do a submodule update and see if it works for you?

xoqolatl commented 5 years ago

This has resolved the issue. Thanks!