Hello!
I've found that is much easier (and faster) to build the benchmarks you
want using qemu and then copying the binary files to a gem5 disk image.
I've followed these instructions to build a disk & kernel image for qemu:
https://wiki.ubuntu.com/Kernel/Dev/QemuARMVexpress

PS: you can build static executables if you don't want to copy additional
libraries to the gem5 disk image (like M4).

On Sun, Sep 20, 2015 at 4:58 AM, Nizamudheen Ahmed <[email protected]>
wrote:

> Looks like M4 which is required for the build is not found. You may want
> to get the m4 installed. You could do sudo get.... on qemu...
> ------------------------------
> From: Khaled Attia <[email protected]>
> Sent: ‎20-‎09-‎2015 13:05
> To: [email protected]
> Subject: [gem5-users] Building PARSEC 3.0 for ARM using qemu
>
> Hello,
> I'm trying to build the PARSEC 3.0 benchmarks for arm
> I used the patch provided here
> https://n.ethz.ch/~pfistchr/download/parsec-arm-static.diff
> I applied the patch and used the disk image
> aarch32-ubuntu-natty-headless.img
> with qemu
>
> when I try to build the benchmarks I get the following error
>
> [PARSEC] [========== Building package parsec.blackscholes [1] ==========]
> [PARSEC] [---------- Analyzing package parsec.blackscholes ----------]
> [PARSEC] parsec.blackscholes does not depend on any other packages.
> [PARSEC] [---------- Building package parsec.blackscholes ----------]
> [PARSEC] Copying source code of package parsec.blackscholes.
> [PARSEC] Running 'env version=pthreads /usr/bin/make':
> rm -f blackscholes blackscholes.m4.cpp
> /usr/bin/m4 ./c.m4.pthreads blackscholes.c > blackscholes.m4.cpp
> /bin/sh: /usr/bin/m4: not found
> make: *** [blackscholes.m4.cpp] Error 127
> [PARSEC] Error: 'env version=pthreads /usr/bin/make' failed.
>
> any idea about how to solve this? If not is there a way to cross-compile
> the binaries for ARM ?
>
> --
> *Khaled M. Attia*
> *T.A. @ Computers & Systems Engineering*
> *Mansoura University, Egypt*
> email: khaled.3ttia[at]gmail.com
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to