Thanks for your advice.
I can build 403.gcc, but it seems it won't stop for input set 'ref' even in my physical machine (not gem5). Currently, I move my work to Ubuntu 16.04 (It seems the latest Glibc will cause compilation error of SPEC 2006 too...) The newest release version of gem5 is 2015-09. I wonder whether it is suitable for beginners like me to use the current development version of gem5. (Actually, I did... Because of the compilation error...) It seems the documents in gem5.org are out of date, and not well documented. If I have to use the development version, where can I find new tutorials? Best Regards Zheng Liang EECS, Peking University -----Original Messages----- From:"Daniel Carvalho" <[email protected]> Sent Time:2018-11-12 13:52:06 (Monday) To: [email protected], [email protected] Cc: Subject: Re: [gem5-users] [gem5-dev] GCC Compatibility Issue 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
