Hi Andreas, Thanks for the feedback. Actually I will be moving forward with the ARM ISA in the future, but I needed to run these benchmarks on MIPS for perform a comparative study on runtime, performance and power. And since I am somewhat new to gem5 I was also hoping to use this to learn how one should go about debugging errors like this.
Safwat On Wed, Sep 24, 2014 at 10:51 AM, Andreas Hansson <andreas.hans...@arm.com> wrote: > Hi Safwat, > > I realise that I am rather biased in this matter, but I would strongly > suggest to consider one of the actively developed and tested ISAs. This > will be far less painful down the line. > > Andreas > > From: Safwat Mostafa Noor via gem5-users <gem5-users@gem5.org> > Reply-To: Safwat Mostafa Noor <gxp...@my.utsa.edu>, gem5 users mailing > list <gem5-users@gem5.org> > Date: Wednesday, 24 September 2014 16:19 > To: "gem5-users@gem5.org" <gem5-users@gem5.org> > Subject: [gem5-users] MIPS SE mode failing with Fault in LSQ unit > > Hi, > > I am trying to compile ImplantBench for MIPS on gem5 and run them in SE > mode. I am using the following toolchain setup to cross compile: > > Toolchain: > 1. crosstools-ng > 2. march and mtune -mips1, Little Endian, soft-float, Glibc 2.9, gcc 4.3.X > 3. gcc config flags: --disable-tls, --disable-threads > 4. library compile flags: -msoft-float -msingle-float > 5. Target Binary compiled with -static flag, compiled for linux 2.6 > kernel. > > I am able to run a few of the benchmarks without any problem but facing > the following error for the rest: > > build/MIPS/cpu/o3/lsq_unit.hh:577: Fault LSQUnit<Impl>::read(Request*, > Request*, Request*, uint8_t*, int) [with Impl = O3CPUImpl, Fault = > RefCountingPtr<FaultBase>, uint8_t = unsigned char]: Assertion `load_inst' > failed. > > I am still not very familiar with the gem5 source code so I am just > guessing this is related with cross compiling and may be usage of an > incompatible instructions? I need some help or guidance on how to track > this down. > > FYI > 1. I get segfaults when I compile these same programs with the latest > codesourcery mips tools using -EL and -static flags. > 2. These benchmarks compile run without issue on ARM when compiled with > latest codesourcery ARM tools using -static flags. > > Any feedback or help would be greatly appreciated. > > Thanks. > > Safwat Mostafa > Dept of ECE > University of Texas at San Antonio > > -- 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. > > ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, > Registered in England & Wales, Company No: 2557590 > ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, > Registered in England & Wales, Company No: 2548782 >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users