gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Problems running mips with gem5

BN
Beser, Nicholas D.
Sun, Sep 15, 2024 8:08 PM

I compiled gem5 with the ALL option. I tried to run MIPS code  and was told that that my code was compiled big endian for mips. GEM5 said that it only compiles for little endian. I used the dockcross option in the gem5 test-progs area, If I try to compile little endian, (-EL), the compiler fails. Is there a way of compiling for little endian?

Nick

I compiled gem5 with the ALL option. I tried to run MIPS code and was told that that my code was compiled big endian for mips. GEM5 said that it only compiles for little endian. I used the dockcross option in the gem5 test-progs area, If I try to compile little endian, (-EL), the compiler fails. Is there a way of compiling for little endian? Nick
JL
Jason Lowe-Power
Tue, Sep 17, 2024 3:14 PM

Hi Nick,

I have no idea, to be honest. We don't ever test MIPS. I would dig into the
code to figure out if this was ever an option. When we pushed changes to
the build system to use Kconfig it's possible that we accidentally removed
this build option.

Cheers,
Jason

On Sun, Sep 15, 2024 at 1:10 PM Beser, Nicholas D. via gem5-users <
gem5-users@gem5.org> wrote:

I compiled gem5 with the ALL option. I tried to run MIPS code  and was
told that that my code was compiled big endian for mips. GEM5 said that it
only compiles for little endian. I used the dockcross option in the gem5
test-progs area, If I try to compile little endian, (-EL), the compiler
fails. Is there a way of compiling for little endian?

Nick


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Hi Nick, I have no idea, to be honest. We don't ever test MIPS. I would dig into the code to figure out if this was ever an option. When we pushed changes to the build system to use Kconfig it's possible that we accidentally removed this build option. Cheers, Jason On Sun, Sep 15, 2024 at 1:10 PM Beser, Nicholas D. via gem5-users < gem5-users@gem5.org> wrote: > I compiled gem5 with the ALL option. I tried to run MIPS code and was > told that that my code was compiled big endian for mips. GEM5 said that it > only compiles for little endian. I used the dockcross option in the gem5 > test-progs area, If I try to compile little endian, (-EL), the compiler > fails. Is there a way of compiling for little endian? > > > > Nick > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >