Hello Liang, Regarding Gem5 and GCC, you can pull more recent versions of Gem5 which support newer versions of GCC:- Up to GCC 7 support: https://gem5-review.googlesource.com/c/public/gem5/+/9101- Up to GCC 8 support: https://gem5-review.googlesource.com/c/public/gem5/+/11949- Up to GCC 8.1 support: https://gem5-review.googlesource.com/c/public/gem5/+/12685- Current Gem5 patch: https://github.com/gem5/gem5 Regarding SPEC2006, I can't help you, but I know SPEC2017 works fine (x86 and arm, multiple ubuntu versions). If I recall correctly, only had to fix one compilation flag for the gcc benchmarks to compile, and there was a seg fault in another benchmark. Regards,Daniel Em domingo, 11 de novembro de 2018 22:17:33 GMT+1, 梁政 <[email protected]> escreveu: Hi all,
It seems that gcc compatibility is a big problem. I have found several issues when I try to run SPEC 2000 and SPEC 2006 in gem5. (1) The SPEC 2006 cannot be built with gcc 7. I choose to downgrade to gcc 4.8, but it doesn't work. (1) The stable release gem5-stable-2015-09 cannot be built with gcc 7 as well as gcc 4.8. It seems the compiler check is too strict. (i) undefined macro PROTOBUF_INLINE_NOT_IN_HEADERS caused compiling error. (ii) '~' on an expression of type bool caused error [-Werror=bool-operation]. (error from /dev/copy_engine/cc) When building SPE 2006 bench... there are so many bugs... My system is Ubuntu 18.04 LTS. Is there anyone run SPEC successfully on Ubuntu 18.04? Or I should reinstall my system? Best Regards Zheng Liang Peking University _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
