Problems building on System z

Neale Ferguson neale at sinenomine.net
Tue Mar 31 15:19:55 UTC 2009


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)

Using gij with icedtea9 I get:

/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?

When I use the IBM 1.6 JDK with icedtea6 I get:

   [mkdir] Created dir:
/home/neale/icedtea6-1.4.1/openjdk-ecj/control/build/linux-s390x/langtools/b
uild/toolclasses
    [javac] Compiling 2 source files to
/home/neale/icedtea6-1.4.1/openjdk-ecj/control/build/linux-s390x/langtools/b
uild/toolclasses
    [javac] ----------
    [javac] 1. ERROR in
/home/neale/icedtea6-1.4.1/openjdk-ecj/langtools/make/tools/CompilePropertie
s/CompileProperties.java (at line 1)
    [javac]     /*
    [javac]     ^
    [javac] The type java.lang.Object cannot be resolved. It is indirectly
referenced from required .class files
    [javac] ----------
    [javac] 2. ERROR in
/home/neale/icedtea6-1.4.1/openjdk-ecj/langtools/make/tools/CompilePropertie
s/CompileProperties.java (at line 1)
    [javac]     /*
    [javac]     ^
    [javac] The type java.lang.String cannot be resolved. It is indirectly
referenced from required .class files
    [javac] ----------
:
: 
For a total of 100 errors.

For icedtea9 I got exactly the same results.

Does any of this look familiar to anyone?

Also, when using the JDK I have build problems with both 6 & 9:

make[2]: Entering directory
`/home/neale/icedtea6-1.4.1/openjdk-ecj/jdk/make'
common/Release.gmk:662: Extraneous text after `else' directive
common/Release.gmk:664: *** only one `else' per conditional.  Stop.

And after fixing that I get with 6...

common/Release.gmk:731: Extraneous text after `else' directive
common/Release.gmk:735: *** only one `else' per conditional.  Stop.

Which is also easily fixed.

Neale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20090331/6e3e2c64/attachment.htm>


More information about the build-dev mailing list