Problems building on System z
Andrew Haley
aph at redhat.com
Tue Mar 31 17:48:18 UTC 2009
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.
More information about the build-dev
mailing list