And I have also tried with gem5 running it. Seems to be the same error.
Anyone please help for being stuck for days! Thanks

The way I run it is as follows:
java -cp .:../src/jni_arm/gem5OpJni.jar
 -Djava.library.path=/home/benchmark/src/jni_arm Hello

Code for Hello is exactly same with the one on the website.

Java HotSpot(TM) Embedded Client VM warning: You have loaded library
/benchmarks/src/jni_arm/libgem5OpJni.so which might have disabled stack
guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c
<libfile>', or link it with '-z noexecstack'.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x4cdafee4, pid=2939, tid=1081635952
#
# JRE version: Java(TM) SE Embedded Runtime Environment (7.0_60-b19) (build
1.7.0_60-b19)
# Java VM: Java HotSpot(TM) Embedded Client VM (24.60-b09 mixed mode
linux-arm )
# Problematic frame:
# C  [libgem5OpJni.so+0xee4]  wakeCPU+0x0
#
# Failed to write core dump. Core dumps have been disabled. To enable core
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /benchmarks/java_qemu/classes/hs_err_pid2939.log
Segmentation fault
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to