[gem5-users] A build issue on RISCV gem5
Hi Jason, Thanks for the info; https://gem5-review.googlesource.com/c/public/gem5/+/16162 worked for me. Regards, -Shigeki ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] A build issue on RISCV gem5
The system is Ubuntu 16.04 LTS with the latest updates on Xeon server. The followings are what I did; I don't think I've done anything unusual: git clone https://gem5.googlesource.com/public/gem5 git submodule update --init --recursive scons build/RISCV/gem5.opt [1st error here] git pull https://gem5.googlesource.com/public/gem5 refs/changes/03/16103/3 scons build/RISCV/gem5.opt [2nd error here] Thanks, Shigeki ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] A build issue on RISCV gem5
Hello, I tried the suggested patch, and now I got the following error... Thanks, Shigeki --Error message below-- <...> [ TRACING] -> RISCV/debug/CommitRate.hh [ TRACING] -> RISCV/debug/ExecFaulting.hh [ TRACING] -> RISCV/debug/O3PipeView.hh [ CXX] RISCV/cpu/o3/commit.cc -> .o In file included from build/RISCV/arch/interrupts.hh:1:0, from build/RISCV/cpu/base.hh:57, from build/RISCV/cpu/checker/cpu.hh:53, from build/RISCV/cpu/o3/commit_impl.hh:56, from build/RISCV/cpu/o3/commit.cc:31: build/RISCV/arch/riscv/interrupts.hh: In function 'bool BaseCPU::checkInterrupts(ThreadContext*) const': build/RISCV/arch/riscv/interrupts.hh:77:19: error: 'mask' may be used uninitialized in this function [-Werror=maybe-uninitialized] INTERRUPT mask; ^ cc1plus: all warnings being treated as errors scons: *** [build/RISCV/cpu/o3/commit.o] Error 1 scons: building terminated because of errors. % ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] A build issue on RISCV gem5
Hello, I just got gem5 source codes over the weekend and trying to build it, and i get the following errors; could anyone take a look & let me know if there's any workaround, what it might be? The source code is the latest. Thanks, Shigeki --Error messages- below-- Command: scons build/RISCV/gem5.opt <...> build/RISCV/arch/riscv/interrupts.hh:128:5: error: 'MiscReg' does not name a type MiscReg readIP() const { return (MiscReg)ip.to_ulong(); } ^ build/RISCV/arch/riscv/interrupts.hh:129:5: error: 'MiscReg' does not name a type MiscReg readIE() const { return (MiscReg)ie.to_ulong(); } ^ build/RISCV/arch/riscv/interrupts.hh:130:22: error: 'MiscReg' does not name a type void setIP(const MiscReg& val) { ip = val; } ^ build/RISCV/arch/riscv/interrupts.hh:131:22: error: 'MiscReg' does not name a type void setIE(const MiscReg& val) { ie = val; } ^ scons: *** [build/RISCV/python/_m5/param_AtomicSimpleCPU.o] Error 1 scons: building terminated because of errors. % ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users