How to run the ARM executables or benchmark in ESESC?

127 views
Skip to first unread message

Chao Peng

unread,
Jul 13, 2016, 12:01:17 PM7/13/16
to ESESC
Hi, everybody

I want to run some ARM executables or benchmark (SPEC2006). But I met one problem.

The procedure is:
1. One simple helloworld.c:
#include <stdio.h>
int main(void) {
  printf("hello world\n");
  return 0;
}

2. I used the command "arm-linux-gnueabi-gcc -Wall -O2 -march=armv5 -mfpu=vfp3 -static  -o helloworld helloworld.c" to generate the ARM executable. And the info of the helloworld file is

helloworld: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, for GNU/Linux 3.2.0, BuildID[sha1]=483d7c9f1f1b0eb3738f00bc0c747003531df288, not stripped

3. When I used esesc to run this helloworld, I had the problem as below:

STARTING QEMU ......
QEMUReader: Initializing qemu...
Starting qemu with
arg[0] is: qemu
arg[1] is: helloworld
helloworld: Invalid ELF image for this architecture

I noticed that in esesc.conf, the benchmark examples are based on MIPS.
Do I need to explicitly set the qemu platform (arm or mips)?

Any suggestion for generating arm benchmark?

Best,
Chao
 

Rafael Trapani Possignolo

unread,
Jul 13, 2016, 2:54:49 PM7/13/16
to es...@googlegroups.com
The current version of ESESC only supports MIPS binaries. 
ARM binaries are no longer supported.

Rafael Trapani Possignolo

PhD Candidate in Computer Engineering 
University of California, Santa Cruz
MASC and VLSI-DA groups

--
You received this message because you are subscribed to the Google Groups "ESESC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to esesc+un...@googlegroups.com.
To post to this group, send email to es...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gabriel Southern

unread,
Jul 13, 2016, 2:55:30 PM7/13/16
to es...@googlegroups.com
At UCSC we switched to using MIPS64 ISA for ESESC a couple of years ago and no one at UCSC is using the ARM ISA right now with ESESC.  You can checkout the old version that used ARMv7 by getting the old branch if you want:


-Gabriel

On Wed, Jul 13, 2016 at 9:01 AM, Chao Peng <pengc...@gmail.com> wrote:

--

Chao Peng

unread,
Jul 13, 2016, 7:35:25 PM7/13/16
to es...@googlegroups.com
Thanks so much! I will try to see the old version.

Chao

--
You received this message because you are subscribed to a topic in the Google Groups "ESESC" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/esesc/on5i68T1b0c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to esesc+un...@googlegroups.com.

To post to this group, send email to es...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
I believe I can fly.
Reply all
Reply to author
Forward
0 new messages