[IcedTea7] Bootstrap using GCJ-4.4 ?
Damien Raude-Morvan
drazzib at drazzib.com
Mon Apr 19 08:13:32 PDT 2010
Hi,
I'm trying to prepare some experimental OpenJDK-7 Debian packages based
on Matthias Klose work. First step is to build current icedtea7 hg HEAD
[0] but I haven't managed yet : I always get an exception during
bootstrap (with GCJ) :
-create-import-jdk-stubs:
[mkdir] Created dir:
/tmp/buildd/openjdk-7-7b84/build/openjdk-boot/build/linux-amd64/langtools/build/genstubs
[genstubs] Generating 81 stub files to
/tmp/buildd/openjdk-7-7b84/build/openjdk-boot/build/linux-amd64/langtools/build/genstubs
BUILD FAILED
java.lang.NoClassDefFoundError: GenStubs
at java.lang.Class.initializeClass(libgcj.so.10)
at GenStubs$Ant.execute(Unknown Source)
[...]
Caused by: java.lang.ClassNotFoundException:
javax.tools.JavaFileManager$Location
[...]
at java.lang.Class.initializeClass(libgcj.so.10)
...15 more
You can get my full build log here : [1].
Some important informations :
- AFAIK, javax.tools.JavaFileManager$Location is only available since
1.6 Java API level (so it's not bundled with GCJ classpath implementation).
- Bootstrap part end successfuly when using OpenJDK-6 as stage1 (getting
other issues later on but that's another story...)
- IcedTea's Build server IcedTea fails with the same stacktrace [2].
Any ideas how to fix this ?
[0] http://icedtea.classpath.org/hg/icedtea/
[1] http://people.debian.org/~drazzib/openjdk-7_7b84-1~ppa1_amd64.build
[2] http://icedtea.classpath.org/builds/icedtea7/build-icedtea7.log
Cheers,
--
Damien
More information about the distro-pkg-dev
mailing list