Anuji,

Thank you for bringing this specific issue to our attention. We are aware that, 
in general, gem5 is not compilable with gcc 9 for a variety of reasons. We only 
guarantee compilation with gcc 7. We hope that in later gem5 releases we can 
widen our support for later gcc compilers.

I have added this as an issue on our Jira Issue tracker to remind ourselves of 
this outstanding problem: https://gem5.atlassian.net/browse/GEM5-194

Kind regards,
Bobby

--
Dr. Bobby R. Bruce
Room 2235,
Kemper Hall, UC Davis
Davis,
CA, 95616

> On Dec 4, 2019, at 10:32 PM, Anuj Falcon <[email protected]> wrote:
> 
> Though I switched back to gcc-7.4 to get the job done, I faced the error 
> message below while building with gcc-9.2.1 in Ubuntu 19.10.
> 
> In file included from build/RISCV/cpu/base.hh:64,
>                  from build/RISCV/kern/linux/events.cc:51:
> build/RISCV/sim/insttracer.hh: In member function 'void 
> Trace::InstRecord::setData(VecRegContainer<8>&)':
> build/RISCV/sim/insttracer.hh:203:71: error: implicitly-declared 'constexpr 
> VecRegContainer<8>::VecRegContainer(const VecRegContainer<8>&)' is deprecated 
> [-Werror=deprecated-copy]
>   203 |         data.as_vec = new 
> ::VecRegContainer<TheISA::VecRegSizeBytes>(d);
> 
> -- 
> ---------------------------------------------------------------------------------
> J ANUJ
> ---------------------------------------------------------------------------------
> _______________________________________________
> 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

Reply via email to