Compilation on MIPS
Maram, Pradeepreddy (NSN - IN/Bangalore)
pradeepreddy.maram at nsn.com
Thu Mar 5 06:38:38 PST 2009
Hello All,
I have compiled the Ultraviolet port of OpenJDK for windriver Linux on
Octeon (MIPS).
Execution of any command fails as below,
# ./java -version
Error occurred during initialization of VM
java/lang/ClassFormatError: Incompatible magic value 3199925962 in class
file java/lang/Object
My further investigations showed that the above magic number hexadecimal
equal is "BEBAFECA", which is in reverse order of "CAFEBABE" (used by
the class loader to see if a class file is really a class definition
file or not).
The system where I am running this binary supports "BIG ENDIAN" and I
have see a comment in file jniTypes_mips.hpp as below,
#ifndef VM_LITTLE_ENDIAN
#error Unimplemented
#endif
(no support for BIG ENDIAN)
Does it mean that, current MIPS port supports only "LITTLE ENDIAN"
systems?
Pradeep Reddy Maram
Nokia Siemens Networks India Pvt. Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mips-port/attachments/20090305/e08bfc8d/attachment.html
More information about the mips-port
mailing list