I recommend to use the latest version, as you can be up to date with bug fixes and new features (and even patch some). You should find "documentation" all over the internet (jason's tutorial: http://learning.gem5.org/book/index.html, stack overflow: https://stackoverflow.com/questions/tagged/gem5, Gem5 papers, gem5.org, the mailing list, tracking back the commits that introduced the feature that you want to know about...), but indeed there's no easy way, and you will end up recurring a lot to trial and error.
Em segunda-feira, 12 de novembro de 2018 13:36:35 GMT+1, æ¢æ¿ <***@pku.edu.cn> escreveu:
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?
EECS, Peking University
From:"Daniel Carvalho" <***@yahoo.com.br>
Sent Time:2018-11-12 13:52:06 (Monday)
To: email@example.com, firstname.lastname@example.org
Subject: Re: [gem5-users] [gem5-dev] GCC Compatibility Issue
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.
Em domingo, 11 de novembro de 2018 22:17:33 GMT+1, æ¢æ¿ <***@pku.edu.cn> escreveu:
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?
gem5-dev mailing list