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

List:       openjdk-build-dev
Subject:    Problems building on System z
From:       gnu_andrew () member ! fsf ! org (Andrew John Hughes)
Date:       2009-03-31 18:01:26
Message-ID: 17c6771e0903311101g1338119eo533a4d2b9fddc042 () mail ! gmail ! com
[Download RAW message or body]

2009/3/31 Andrew Haley <aph at redhat.com>:
> Neale Ferguson wrote:
>> I?m building the OpenJDK6 & 7 by way of the zeroJDK mechanism and am running
>> into problems.
>>
>> Using gij with icedtea6 I get:
>>
>> + CLASSPATH=/home/neale/ecj-3.4.1.jar
>> + /usr/bin/gij org.eclipse.jdt.internal.compiler.batch.Main -1.5 -nowarn -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/c
>> orba/src/share/classes:openjdk/jaxws/src/share/classes:/home/neale/icedtea6-
>> 1.4.1/generated:/home/neale/icedtea6-1.4.1/rt -bootclasspath ''\'''\'''
>> @hotspot-tools-source-files.txt
>> incorrect classpath: ''
>> ----------
>> 1. ERROR in
>> /home/neale/icedtea6-1.4.1/openjdk/jdk/src/share/classes/java/lang/Double.ja
>> va (at line 0)
>> ? ? /*
>> ? ? ^
>> Internal compiler error
>> java.lang.NullPointerException
>> ? ?at java.lang.Double.parseDouble(libgcj.so.7)
>> ? ?at java.lang.Double.valueOf(libgcj.so.7)
>
> OK, looks like your gcj is broken. ?Strange: people have successfully built
> OpenJDK using gcj on such systems.
>
>> Using gij with icedtea9 I get:
>
> icedtea7, right?
>
>> /usr/bin/gcj -g -O2 -Wl,-Bsymbolic -findirect-dispatch -o native-ecj \
>> ? ? --main=org.eclipse.jdt.internal.compiler.batch.Main
>> /home/neale/ecj-3.4.1.jar
>> org/eclipse/jdt/internal/compiler/apt/dispatch/BatchAnnotationProcessorManag
>> er.java: In class
>> 'org.eclipse.jdt.internal.compiler.apt.dispatch.BatchAnnotationProcessorMana
>> ger':
>> org/eclipse/jdt/internal/compiler/apt/dispatch/BatchAnnotationProcessorManag
>> er.java: In method
>> 'org.eclipse.jdt.internal.compiler.apt.dispatch.BatchAnnotationProcessorMana
>> ger.discoverNextProcessor()':
>> org/eclipse/jdt/internal/compiler/apt/dispatch/BatchAnnotationProcessorManag
>> er.java:110: error: verification failed at PC=251: String, int, or float
>> constant expected
>> org/eclipse/jdt/internal/compiler/apt/dispatch/BatchAnnotationProcessorManag
>> er.java:110: error: verification failed at PC=260: incompatible type on
>> stack
>> org/eclipse/jdt/internal/compiler/apt/dispatch/BatchAnnotationProcessorManag
>> er.java:152: confused by earlier errors, bailing out
>>
>> This is with gcc 4.1.2 should I be using a later version?
>
> I would. ?It looks to me like the gcj you have installed doesn't work at all.
>
> I'm trying to find out who actually did the System z port of OpenJDK to Fedora.
>
> Andrew.
>
>
>

The gcj from 4.1.2 is going to be very old; you need at least 4.3.x
really.  That's true even for the more mainstream platforms.

Which version of IcedTea7 are you using? The creation of a native ecj
hasn't been the default for a while, it's controlled by the
--with/without-gcj option.
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8


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

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