[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-distro-pkg-dev
Subject:    bootstrapping icedtea with gcj 4.3
From:       Peter.Kessler () Sun ! COM (Peter B !  Kessler)
Date:       2007-10-23 21:40:54
Message-ID: 471E6A66.50909 () Sun ! COM
[Download RAW message or body]

This looks like a variation on

     6616627: 64-bit j2se build problem: ArrayIndexOutOfBoundsException: -2147483521
     http://bugs.sun.com/view_bug.do?bug_id=6616627

which was introduced in 7b22 and fixed in 7b23.

			... peter

Bernhard Rosenkraenzer wrote:
 > Hi,

> 
> > > This does not look right.
> > > If you want to link it this way, --with-icedtea-home should be
> > > /usr/java/icedtea1.3/jdk
> 
> Thanks, that helped! I've had to touch a couple of files to get it 
> 
> I've run into a new problem afterwards though -- bootstrapping current icedtea 
> with itself doesn't seem to work.
> 
> If I build it with icedtea 1.3, all is well now -- building it with itself 
> (current hg tree) works on x86 as well, but fails on amd64 with
> 
> /usr/java/icedtea1.4/bin/javac -J-Xmx512m -g -d 
> lib/tools -bootclasspath '' -source 1.6 \
> -sourcepath 
> rt:tools:openjdk/j2se/src/share/classes:openjdk/j2se/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:generated \
>  \
> @tools-source-files.txt
> An exception has occurred in the compiler (1.7.0-internal). Please file a bug 
> at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  
> after checking the Bug Parade for duplicates. Include your program and the 
> following diagnostic in your report.  Thank you.
> java.lang.ArrayIndexOutOfBoundsException: 5128
> at java.lang.Long.valueOf(Long.java:571)
> at com.sun.tools.javac.jvm.Items$ImmediateItem.coerce(Items.java:622)
> at com.sun.tools.javac.jvm.Items$Item.coerce(Items.java:264)
> at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:834)
> at com.sun.tools.javac.jvm.Gen.visitAssign(Gen.java:1773)
> at com.sun.tools.javac.tree.JCTree$JCAssign.accept(JCTree.java:1440)
> at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:832)
> at com.sun.tools.javac.jvm.Gen.visitExec(Gen.java:1626)
> at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1142)
> at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:679)
> at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:714)
> at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:700)
> at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:751)
> at com.sun.tools.javac.jvm.Gen.visitBlock(Gen.java:1027)
> at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:765)
> at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:679)
> at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:714)
> at com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:907)
> at com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:880)
> at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:653)
> at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:679)
> at com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2219)
> at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:631)
> at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1303)
> at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1273)
> at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:779)
> at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:744)
> at com.sun.tools.javac.main.Main.compile(Main.java:386)
> at com.sun.tools.javac.main.Main.compile(Main.java:312)
> at com.sun.tools.javac.main.Main.compile(Main.java:303)
> at com.sun.tools.javac.Main.compile(Main.java:82)
> at com.sun.tools.javac.Main.main(Main.java:67)
> make: *** [stamps/tools-class-files.stamp] Error 4
> 
> 
> Any ideas?
> 
> Thanks,
> bero
> 
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic