merging of Hotspot with MIPS support

Yongqiang Yang xiaoqiangnk at gmail.com
Mon May 2 21:58:04 PDT 2011


Hi Xerxes,

When I built Icedtea on my machine with linux os and mips processor, I
encountered an error like below.

======================================================
if ! test -d /mnt/yangyongqiang/icedtea6/build/bootstrap/jdk1.6.0 ; \
        then \
          /usr/bin/javac -J-Xmx2048m -g -d lib/hotspot-tools \
            -source 1.5 \
            -sourcepath \
              'hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:/mnt/yangyongqiang/icedtea6/build/generated:/mnt/yangyongqiang/icedtea6/build/rt:/mnt/yangyongqiang/icedtea6/build/../rt'
\
            -bootclasspath \'\' @hotspot-tools-source-files.txt ; \
        else \
          /mnt/yangyongqiang/icedtea6/build/bootstrap/jdk1.6.0/bin/javac
-J-Xmx2048m -g \
            -d lib/hotspot-tools \
            -source 1.5 \
            -sourcepath \
              'hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:/mnt/yangyongqiang/icedtea6/build/generated:/mnt/yangyongqiang/icedtea6/build/rt:/mnt/yangyongqiang/icedtea6/build/../rt'
\
            -bootclasspath \'\' @hotspot-tools-source-files.txt ; \
        fi

incorrect classpath: ''
=========================================================
Is the message above normal?   Are there some ENV to set?


Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at org.eclipse.jdt.internal.compiler.util.Util.getInputStreamAsCharArray(Util.java:398)
        at org.eclipse.jdt.internal.compiler.util.Util.getFileCharContent(Util.java:234)
        at org.eclipse.jdt.internal.compiler.batch.CompilationUnit.getContents(CompilationUnit.java:71)
        at org.eclipse.jdt.internal.compiler.batch.Main$3.acceptResult(Main.java:2706)
        at org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Compiler.java:603)
        at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:518)
        at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Main.java:3687)
        at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1648)
        at org.eclipse.jdt.internal.compiler.batch.Main.main(Main.java:1361)

Yongqiang,
Thank you.


-- 
Best Wishes
Yongqiang Yang



More information about the distro-pkg-dev mailing list