Thanks Ciro! yeah I saw that patch right after I posted.  Haven't tried it
out yet though as I got it to work by adding those two hacks to the
SConfigure file.  I'd probably prefer not to do the gcc rollback since part
of what I'm doing is getting this up and running for some lab assignments I
want to run on College supported linux boxes at my home institution.
Hoepfully once the patch gets pushed all this becomes moot...

On Thu, Feb 22, 2018 at 4:14 PM, Ciro Santilli <>

> I reproduce.
> There was already a patch to port to 7.2.0 at 
> 5c41076bd7610d03431fd0dd89bd0fdc7f30d6bd
> but the migration wasn't complete.
> One workaround that does not require modifying the code is:
> sudo apt-get install g++-6 gcc-6
> CC=gcc-6 CXX=g++-6 scons
> ------------------------------
> *From:* gem5-users <> on behalf of Paul V.
> Gratz <>
> *Sent:* Thursday, February 22, 2018 1:56 PM
> *To:* gem5 users mailing list
> *Subject:* [gem5-users] Errors building on Ubuntu 17.10
> Hi All,
> I just did a clean clone of the latest github on my Ubuntu 17.10 system
> (gcc 7.2.0).  In this setup builds fail due to two warnings (because
> -Werror is on in the build scripts).
> First in there are some case statements that have
> fallthrough conditions.  To get around this I added:
> main.Append(CXXFLAGS=['-Wno-implicit-fallthrough'])
> to the SConstruct file (is this the right way to do this?).
> Second, in neon64_mem.hh there are some potentially uninitialized
> variables.  To get around this I added maybe-uninitialized to the CCFLAGS:
>    main.Append(CCFLAGS=['-Werror',
>                         '-Wno-error=deprecated-declarations',
>                         '-Wno-error=deprecated',
>                         '-Wno-error=maybe-uninitialized',
>                        ])
> After this the build completes cleanly.  Probably those warnings should be
> fixed in the source code directly but I am not yet well versed enough in
> how gem5 works to do that yet.  I'm guessing that these warnings are new
> with my gcc version is why I don't see anyone posting on here about them
> yet..
> Paul
> --
> -----------------------------------------
> Paul V. Gratz
> Associate Professor
> ECE Dept, Texas A&M University
> Office: 333M WERC
> Phone: 979-488-4551 <(979)%20488-4551>
> IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
> _______________________________________________
> gem5-users mailing list

Paul V. Gratz
Associate Professor
ECE Dept, Texas A&M University
Office: 333M WERC
Phone: 979-488-4551
gem5-users mailing list

Reply via email to