Hi all,

I am working on a project for which I am using GEM5 ARM in full system
mode. I am making some changes in the PARSEC benchmark code so I have to
cross-compile the binaries and copy them to the disk image to use them. I
am not able to successfully do that after trying different things and
solutions I could find on the web. Can anybody help me with tha??

Here are the things I have tried:-

Command to cross-compile (I am using arm-none-linux-gnueabi-g++ compiler
and used -static flag) -

/home/cross_compiler/arm/arm-2014.05/bin/arm-none-linux-gnueabi-g++ -O3 -g
-funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions
-static-libgcc -Wl,--hash-style=both,--as-needed
-DPARSEC_VERSION=3.0-beta-20120904 -pthread -DENABLE_THREADS -DNCO=4
blackscholes.m4.cpp -static -I /home/gem5/util/m5
/home/gem5/util/m5/m5op_arm.S -o blackscholes

To check if the cross-compiling is successful I am running the benchmarks
on the disk image with qemu as described in "
http://www.m5sim.org/Compiling_workloads";. But I am getting a segmentation
fault.

Any inputs will be a great help. Thanks
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to