public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* icedtea6 build failures on alpha and armel using gcj
@ 2010-02-27 16:49 Matthias Klose
  2010-03-01 19:54 ` Andrew John Hughes
  0 siblings, 1 reply; 8+ messages in thread
From: Matthias Klose @ 2010-02-27 16:49 UTC (permalink / raw)
  To: GCC Java; +Cc: distro-pkg-dev, debian-arm, debian-alpha

Building icedtea6 on alpha and armel using a two stage bootstrap fails with 
different errors. These are no new errors, just rechecked the two stage 
bootstrap, because the one stage build fails to build cacao after the b18 
update. On alpha:

mkdir -p lib/rt
/home/doko/openjdk/openjdk-6-6b18~pre1/build/bootstrap/jdk1.6.0/bin/javac  -g -d 
lib/rt \
           -source 1.5 \
           -sourcepath \
 
'openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/corba/src/share/classes:/home/doko/openjdk/openjdk-6-6b18~pre1/build/generated' 
\
           -classpath /usr/lib/jvm/java-gcj/jre/lib/rt.jar \
           -bootclasspath \'\' @rt-source-files.txt ;
incorrect classpath: ''
----------
1. ERROR in 
/home/doko/openjdk/openjdk-6-6b18~pre1/build/openjdk/jdk/src/share/classes/sun/misc/FloatConsts.java 
(at line 52)
         public static final float   MIN_NORMAL      = 1.17549435E-38f;
                                                       ^^^^^^^^^^^^^^^
The literal 1.17549435E-38f of type float is out of range
----------
1 problem (1 error)make[1]: *** [stamps/rt-class-files.stamp] Error 255


I vaguely remember we had a patch in the past to back out some of the constants 
stuff.


On armel:

touch stamps/rewriter.stamp
mkdir -p rhino/rhino.{old,new}
(cd rhino/rhino.old ; jar xf /usr/share/java/js.jar)
/home/packages/openjdk/openjdk-6-6b18~pre1/build/bootstrap/jdk1.6.0/bin/java -cp 
/home/packages/openjdk/openjdk-6-6b18~pre1/build/rewriter \
           com.redhat.rewriter.ClassRewriter \
           /home/packages/openjdk/openjdk-6-6b18~pre1/build/rhino/rhino.old 
/home/packages/openjdk/openjdk-6-6b18~pre1/build/rhino/rhino.new \
           org.mozilla sun.org.mozilla
Exception in thread "main" java.lang.ExceptionInInitializerError
    <<No stacktrace available>>
Caused by: java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 3
    <<No stacktrace available>>
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
    <<No stacktrace available>>
make[1]: *** [stamps/rewrite-rhino.stamp] Error 1
make[1]: Leaving directory `/home/packages/openjdk/openjdk-6-6b18~pre1/build'

This is reported as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40860

   Matthias

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-03-08 15:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-27 16:49 icedtea6 build failures on alpha and armel using gcj Matthias Klose
2010-03-01 19:54 ` Andrew John Hughes
2010-03-08 11:46   ` Matthias Klose
2010-03-08 12:35     ` Andrew John Hughes
2010-03-08 12:41       ` Matthias Klose
2010-03-08 12:45         ` Andrew John Hughes
2010-03-08 14:36           ` Lennart Sorensen
2010-03-08 15:17             ` Andrew John Hughes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).