Hi, This question is appropriate for the gem5-users mailing list, not gem5-dev. I've removed the gem5-dev list, which is used for developers of gem5 to talk about code changes.
The problem you are experiencing is spelled out via "warnings" and "fatals" in your screenshots: "fatal: Object file architecture does not match compiled ISA (ARM)" and "warn: empty .text segment in 'a.out'. ELF file corrupted?" These warnings/errors mean that the file "a.out" *is not a valid x86 or ARM binary*. I suggest that you compile your application for your native architecture (i.e. the architecture of the computer you are sitting at). This is most likely x86. Then, run the binary *on your native machine*, not gem5, and make sure that it executes correctly. If it does not execute on your native machine it most likely will not execute in gem5. Once you are certain your binary is correct, then you can try to run it with gem5. Another problem you may run into: Make sure to compile the binary statically, if you're going to use gem5's SE mode. I believe this is the "-static" option for gcc. Once you are sure your binary works, if you still are running into problems getting it to execute in gem5, let us know. Good luck, Jason On Sun, Jan 15, 2017 at 2:31 PM Muhammed Emin Öztürk < [email protected]> wrote: > > > Hi Everyone > > I am trying to run c++ hpcc application with gem5 I got error that > I attached with this mail. Do u have any idea and solution how can I fix it > and why i am getting such error ? I need to use gem5 for observing hpc > application for my fault tolerance research. I am waiting your help. > > Note : I tried X86 and Arm but both of them gave same error. > > Thank you so much for allocating time in advance. > > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users -- Jason
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
