Today I was able for the first time to build OpenJDK on OpenSolaris completely with free tools. Unfortunately I couldn't use use CACAO as bootstrap VM because Boehm-GC has some problems on OpenSolaris, which I couldn't fix yet.
Since GCJ also uses Boehm-GC, I decided to use JamVM. The port was very straight-forward, except one small getcwd problem for which Robert already had a fix for. I will contribute all JamVM changes back to Robert.
After some IcedTea build system changes (yet to commit), some JVMTI file copying (maybe this is a JamVM bug, see instructions at the end), a small OpenJDK patch and some time, I got:
IcedTea is served: openjdk/control/build/solaris-i586
And, obviously, the build works:
$ uname -a SunOS workstation 5.11 snv_98 i86pc i386 i86pc Solaris $ java -version java version "1.6.0_0" OpenJDK Runtime Environment (build 1.6.0_0-b12) OpenJDK Server VM (build 1.6.0_0-b12, mixed mode)
I tried to write down all stuff that needs to be done here, but I'm very sure some steps are missing...