[oe-commits] [Bug 5387] New: jamvm generates "Illegal Instruction" when jar file is executed on EDB9301
bugzilla-daemon at git.openembedded.org
bugzilla-daemon at git.openembedded.org
Mon Jan 25 14:08:59 UTC 2010
http://bugs.openembedded.org/show_bug.cgi?id=5387
Summary: jamvm generates "Illegal Instruction" when jar file is
executed on EDB9301
Product: Openembedded
Version: org.openembedded.dev
Platform: ARM
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: Java
AssignedTo: openembedded-commits at lists.openembedded.org
ReportedBy: tk at ecocoms.com
CC: Martin.Jansa at gmail.com, thebohemian at gmx.net
I use Openembedded to create file system for EP9301 Cirrus Arm based Board
Compatible with original Cirrus EDB9301.
My OE config file looks like this:
--------------------------------------------------------------------------
PREFERRED_VERSION_linux = "2.6.32"
################ jamvm ######################
PREFERRED_PROVIDER_virtual/java-initial = "jamvm-initial"
PREFERRED_VERSION_jamvm-initial = "1.4.5"
PREFERRED_VERSION_classpath-initial = "0.93"
############## native versions #############
PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
PREFERRED_VERSION_jamvm-native = "1.5.3"
PREFERRED_VERSION_classpath-native = "0.98"
############# ecj bootstrap ################
PREFERRED_VERSION_libecj-bootstrap = "3.4"
############ javac native ##################
PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
#PREFERRED_PROVIDER_virtual/javac-native = "openjdk-javac-native"
############### target versions #############
PREFERRED_VERSION_jamvm = "1.5.0"
PREFERRED_VERSION_classpath = "0.98"
PREFERRED_VERSION_classpath-minimal = "0.98"
PREFERRED_PROVIDER_classpath = "classpath-minimal"
MACHINE = "ep93xx"
TARGET_OS = "linux-uclibc"
DISTRO = "minimal-uclibc"
---------------------------------------------------------------------------
The result is cross compiled jamvm and classpath
when run on the target jamvm generate help normaly
# jamvm -help
when run with jar file
# jamvm -jar test.jar
an Illegal instruction is reported
After little digging I found that for jamvm-1.5.0 in the file
class.c
in line 229
the Illegal Instruction is generated by:
memcpy(buff, ptr. length);
with hope to be useful
Sincerely Yours
Todor
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-commits
mailing list