From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23425 invoked by alias); 8 Mar 2010 11:46:10 -0000 Received: (qmail 23408 invoked by uid 22791); 8 Mar 2010 11:46:09 -0000 X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from adelie.canonical.com (HELO adelie.canonical.com) (91.189.90.139) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 08 Mar 2010 11:46:04 +0000 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1NobPL-00078c-Kx; Mon, 08 Mar 2010 11:46:00 +0000 Received: from dslb-088-073-126-123.pools.arcor-ip.net ([88.73.126.123] helo=[192.168.42.17]) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NobPL-00030R-Gk; Mon, 08 Mar 2010 11:45:59 +0000 Message-ID: <4B94E374.9090700@ubuntu.com> Date: Mon, 08 Mar 2010 11:46:00 -0000 From: Matthias Klose User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9pre) Gecko/20100217 Shredder/3.0.3pre MIME-Version: 1.0 To: Andrew John Hughes CC: GCC Java , debian-arm@lists.debian.org, debian-alpha@lists.debian.org, distro-pkg-dev@openjdk.java.net Subject: Re: icedtea6 build failures on alpha and armel using gcj References: <4B894D27.5080804@ubuntu.com> <17c6771e1003011154l556ea301h92e54ff2d457eb6a@mail.gmail.com> In-Reply-To: <17c6771e1003011154l556ea301h92e54ff2d457eb6a@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2010-03/txt/msg00005.txt.bz2 On 01.03.2010 20:54, Andrew John Hughes wrote: > On 27 February 2010 16:49, Matthias Klose wrote: >> 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. >> > > We do still have a patch. It's applied to the ecj build. Why are you > using ecj for a non-bootstrap build, as it appears here? comparing the build logs on alpha and i386, this is the stamps/rt-class-files.stamp target, which succeeds to build on i386, but not on alpha. This target always uses the openjdk sourcepath, not the openjdk-ecj source path. and it looks like the patch is applied, but ecj can't parse this value on alpha; the test program class Test { public static final float MIN_NORMAL = 1.17549435E-38f; } fails to build: ---------- 1. ERROR in Test.java (at line 2) public static final float MIN_NORMAL = 1.17549435E-38f; ^^^^^^^^^^^^^^^ The literal 1.17549435E-38f of type float is out of range ---------- further, is it correct that the -ecj patch is applied to *both* the openjdk and openjdk-ecj directory? $ ls -l build/openjdk*/jdk/src/share/classes/sun/misc/FloatConsts.java -rw-rw-r-- 2 doko doko 4147 Feb 17 03:14 build/openjdk-ecj/jdk/src/share/classes/sun/misc/FloatConsts.java -rw-rw-r-- 2 doko doko 4147 Feb 17 03:14 build/openjdk/jdk/src/share/classes/sun/misc/FloatConsts.java these are still hard links. Matthias