From kanwaljamal at hotmail.com Tue Dec 2 00:23:53 2008 From: kanwaljamal at hotmail.com (Kauser Jamal) Date: Tue, 2 Dec 2008 08:23:53 +0000 Subject: Porting of icedtea on mips In-Reply-To: References: Message-ID: Hello again, > Jonathan wrote:> There are no binary plugs for MIPS currently. Here are a couple> options:> > -- Hack out the dependencies. As of b38, only jmx.snmp and jsound are> affected, so for your purposes you might be able to get along> without them.> > -- Use the IcedTea workarounds [http://icedtea.classpath.org/].> IcedTea is based on OpenJDK 6 now, so there might be some> adaptation needed. Alternately, if you have no particular reason> to favor JDK7 over JDK6, you could just switch to OpenJDK 6.> > Which is best probably depends on your goal in doing the port. What> is your objective in getting it working?> > Beyond the matter of the binary plug, you mention that you want a> non-interpreter port. This will require substantial development. I> did a MIPS port, but it is interpreter-only so far. Another route is> IcedTea, which has a project called Shark that is integrating LLVM as> a compiler for OpenJDK. It's still in progress, but a bigger issue is> that there is no MIPS version o> f LLVM (last I heard, probably a year> ago).> > Please do let us know how it goes if you pursue a port to the Octeon!> > Thanks a lot for the quick and useful reply, Jonathan.> > I am developing benchmarks in Java for the measurement of memory, CPU and network throughput. That is why I need a good performing JVM, which therefore must include the HotSpot engine. > > The packages available on Debian (using aptitude) only provide the interpreter of the JVM for the mips architecture (as far as I have tried). Therefore, I decided to build the JVM from source code.> > I have started work on building the IcedTea on the mips system. Let's see how it goes. I will inform everyone here about the outcome.> > Kauser I have been working on the porting of icedtea on the Cavium Octeon server, with MIPS architecture. While porting icedtea-1.6 and after a long wait of the make process, it gives error in sanity checking: "Error: The compiler version is undefined" The CC_VER is automaticaly displayed to be 4.3 under the "Build Tool Settings". The COMPILER_VERSION option was empty so I did export COMPILER_VERSION=4.3 after which this is also displayed under the "Build Tool Settings". The error is still not resolved. Does anyone know how to resolve this? Could this error be reffering to some other compiler instead of gcc? I then tried to port icedtea-1.7 instead. It did not give the error above and passed the sanity check. However after that it gives javac errors while trying to compile the file CompileProperties.java as below: 1. ERROR in /home/kics/icedtea-1.7/openjdk-ecj/langtools/make/tools/CompileProperties/CompileProperties.java (at line 220) [javac] List sortedKeys = new ArrayList(); [javac] ^^^^ [javac] The type List is not generic; it cannot be parameterized with arguments [javac] ---------- [javac] 2. ERROR in /home/kics/icedtea-1.7/openjdk-ecj/langtools/make/tools/CompileProperties/CompileProperties.java (at line 220) [javac] List sortedKeys = new ArrayList(); [javac] ^^^^^^^^^ [javac] The type ArrayList is not generic; it cannot be parameterized with arguments [javac] ---------- [javac] 3. ERROR in /home/kics/icedtea-1.7/openjdk-ecj/langtools/make/tools/CompileProperties/CompileProperties.java (at line 221) [javac] for ( Object key : p.keySet() ) { [javac] ^^^^^^^^^^ [javac] Can only iterate over an array or an instance of java.lang.Iterable [javac] ---------- [javac] 3 problems (3 errors) BUILD FAILED/home/kics/icedtea-1.7/openjdk-ecj/langtools/make/build.xml:575: Compile failed; see the compiler error output for details. I tried to use all the different java compilers on the server to compile these but the errors were not resolved. Can somone please help me out? Thanks in advance. Kauser _________________________________________________________________ Get more done, have more fun, and stay more connected with Windows Mobile?. http://clk.atdmt.com/MRT/go/119642556/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/mips-port/attachments/20081202/55a75fcb/attachment.html