Error while building gem5 for X86 and ARM.
git SHA: af8d107191cc69a77624e2af34f108dc9c1ff03f

OS: Archlinux 5.1.11-arch1-1-ARCH

In file included from build/X86/arch/x86/interrupts.hh:58,
>                      from build/X86/arch/interrupts.hh:1,
>                      from build/X86/cpu/base.hh:57,
>                      from build/X86/mem/abstract_mem.cc:50:
>     build/X86/arch/x86/intmessage.hh: In function 'Packet*    
> X86ISA::buildIntRequest(uint8_t, X86ISA::TriggerIntMessage)':
>     build/X86/arch/x86/intmessage.hh:105:42: error: implicitly-declared 
> 'constexpr 
> BitfieldBackend::BitUnionOperators<X86ISA::BitfieldUnderlyingClassesTriggerIntMessage>::BitUnionOperators(const
>     
> BitfieldBackend::BitUnionOperators<X86ISA::BitfieldUnderlyingClassesTriggerIntMessage>&)'
>  is deprecated [-Werror=deprecated-copy]
>       105 |                 sizeof(TriggerIntMessage));
>
>
>
> In file included from build/X86/cpu/base.hh:64,
>                  from build/X86/mem/abstract_mem.cc:50:
> build/X86/sim/insttracer.hh: In member function 'void 
> Trace::InstRecord::setData(VecRegContainer<8>&)':
> build/X86/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);
>
> I got some warnings:

> MI_example-cache.sm:179: Warning: Non-void return ignored, return type is 
> 'bool'
> MI_example-cache.sm:181: Warning: Non-void return ignored, return type is 
> 'bool'
> MI_example-cache.sm:336: Warning: Non-void return ignored, return type is 
> 'Tick'
> MI_example-cache.sm:350: Warning: Non-void return ignored, return type is 
> 'Scalar'
> MI_example-cache.sm:354: Warning: Non-void return ignored, return type is 
> 'Scalar'
> MI_example-dir.sm:183: Warning: Non-void return ignored, return type is 'bool'
> MI_example-dir.sm:398: Warning: Non-void return ignored, return type is 'Tick'
> MI_example-dir.sm:402: Warning: Non-void return ignored, return type is 'Tick'
> MI_example-dir.sm:482: Warning: Non-void return ignored, return type is 'Tick'
> MI_example-dir.sm:277: Warning: Unused action: a_sendWriteBackAck, Send 
> writeback ack to requestor
> MI_example-dma.sm:189: Warning: Non-void return ignored, return type is 'Tick'
> MI_example-dma.sm:193: Warning: Non-void return ignored, return type is 'Tick'
>
>  It used to work before, but stopped working now. How do I fix this?
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to