[Bug 425] New: JAXP fails to build on ARM due to compliance level
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Wed Jan 6 02:28:49 PST 2010
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=425
Summary: JAXP fails to build on ARM due to compliance level
Product: IcedTea
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: IcedTea
AssignedTo: unassigned at icedtea.classpath.org
ReportedBy: steffen at s-bondorf.de
I tried to build the latest versions of IcedTea6-1.6 (5e600a55ee80 &
c99b9280fdcf) on an ARM-based SoC (Marvell SheevaPlug) running Gentoo. I
followed the instructions I found in the Wiki, but all attempts ended with the
same error. When trying to compile the JAXP component the build breaks with the
message:
"Compliance level '1.4' is incompatible with target level '1.5'. A compliance
level '1.5' or better is required"
Here is my configure-command:
./configure --build=armv5tel-softfloat-linux-gnueabi \
--host=armv5tel-softfloat-linux-gnueabi \
--with-ecj-jar=/usr/share/eclipse-ecj-3.4/lib/ecj.jar \
--with-gcj-home=/usr/lib/jvm/gcj-jdk \
--with-parallel-jobs=2 \
--disable-cacao \
--with-java=/usr/lib/jvm/gcj-jdk/bin/java \
--with-javac=/usr/lib/jvm/gcj-jdk/bin/javac \
--with-javah=/usr/lib/jvm/gcj-jdk/bin/javah \
--with-pkgversion=Gentoo \
--enable-optimizations \
--disable-docs \
--disable-plugin \
--without-rhino \
--enable-zero \
--disable-pulse-java \
--disable-xrender \
--disable-systemtap \
--disable-nio2
As you can see I am using ecj-3.4 which should be java 1.5 compliant
(/usr/lib/jvm/gcj-jdk/bin/javac is a symlink pointing to ecj-3.4).
gcj-jdk version is 4.3.
Just before this part is compiled JAVA_HOME was set to
icedtea6-c99b9280fdcf/bootstrap/jdk1.6.0 which points to
icedtea6-c99b9280fdcf/openjdk-ecj/build/linux-arm/j2sdk-image/ at this time.
icedtea6-c99b9280fdcf/bootstrap/jdk1.6.0/java -version
java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.8pre) (Gentoo)
OpenJDK Zero VM (build 14.0-b16, interpreted mode)
icedtea6-c99b9280fdcf/bootstrap/jdk1.6.0/bin/javac -version
javac 1.6.0_17
icedtea6-c99b9280fdcf/bootstrap/jdk1.6.0/bin/javah -version
javah version "1.6.0_17"
Here's some additional information to check everything is up to date the
environment is set up right:
/usr/lib/jvm/gcj-jdk/bin/javac -version
Eclipse Java Compiler 0.883_R34x, 3.4.1 release
/usr/lib/jvm/gcj-jdk/bin/java -version
java version "1.5.0"
gij (GNU libgcj) version 4.4.2
gcj --verision
gcj-4.4.2 (Gentoo 4.4.2 p1.0) 4.4.2
/usr/lib/jvm/gcj-jdk/bin/javah -version
javah (GNU Classpath) 0.98
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the distro-pkg-dev
mailing list