On Mon, Nov 4, 2019 at 8:09 PM Andreas Brokalakis <[email protected]> wrote: > > Hi all, > > I am trying to compile gem5 cloned from the official repository on Ubuntu > 19.10 with gcc 9.2.1 installed. I keep on getting errors that make > practically the compilation process impossible. > > The first errors were about implicitly-declared things all over the code. I > managed to workaround them by adding the option -Wno-error=deprecated-copy . > Then there were errors all over the place about redundant move in return > statement. The only way I managed to workaround this was by falling back on > gcc 7. >
Things break for every new major GCC version due to more strict error checking, patches that fix them without ignoring errors are welcome :-) > After that there was an error about not finding boost/bind.hpp . Installing > boost is not a documented dependency and I only found this on gem5-dev > mailing list: https://www.mail-archive.com/[email protected]/msg28734.html > > From my understanding this is a dependency for when building something that > requires interaction with SystemC. Should it be there when building mainline > versions of GEM5? Also it is not documented and maybe instructions on > building gem5 should be updated (they are already very old). > Previous discussion at: https://www.mail-archive.com/[email protected]/msg28730.html and I've now updated the dependencies page: http://www.gem5.org/Dependencies > Best, > Andreas > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
