2008/7/1 Ian Rogers <
rogers.email@...>:
> As I understand the issue OpenJDK builds an rvmrt.jar that needs binary
> blobs that are closed source. IcedTea builds a near identical rvmrt.jar
> that doesn't contain closed source binary blobs,
No longer true, at least for OpenJDK6 (7 still has a binary sound
dependency I believe).
What IcedTea does is make the build *easier* for mere mortals who
can't remember 30+
environment variables, though this is less of an issue for an
automated build like this.
It also has a number of extra features and patches for issues which
haven't yet made mainline.
but experience shows
> that getting the build going is problematic [1].
This is dated information, and not exactly done under the most ideal
conditions. Also
the problems you encountered were with OpenJDK not IcedTea (being
failures in building CORBA, etc.)
I for one build IcedTea in some variety on an almost regular basis
these days. I also have a Gentoo
ebuild for it. I'm not saying it's easy now, because something of
that side never will be. But most
of the possible configurations have been tested.
Building the rvmrt.jar
> is but a small part getting a class library integrated with the RVM,
> ideally we're talking about a 10s of lines long ant script [2].
Small in ant script size, certainly not in time. I can just about deal with
Classpath being built inside JikesRVM, even though it takes ~1/4 of
the build time
up. Building OpenJDK however is ridiculous - have you checked if
you're also building
HotSpot for instance?
I don't
> see a problem of having an IcedTea and OpenJDK script that will do the
> rvmrt.jar build process - pick the flavor that suits you.
I'd actually prefer a third flavour -- pointing the build at a JAR
file and having
it do the adaptation from that. This would then work with whatever
build, and even
(with some luck) maybe also with OpenJDK6. You may also find it works
with the proprietary
JDKs.
It also
> doesn't need to fall on Georgios to write such a script for IcedTea -
> this is all open source so patches are welcome.
If I had time to patch this right now, I'd have already done an
IcedTea build sometime
back as I've been thinking about it for a while. This is essentially
what irritates me; that
the work has been done, which is great, but that in doing so a
proprietary dependency has
again been introduced to a supposedly FOSS project.
Getting the bootstrap
> going is a more important challenge, and one that will generate patches
> rather than lose time experimenting with package installations. Of
> course we'd like to see an improved, easy to use IcedTea build process.
>
I agree, so please consider just making it work with an existing JAR
rather than adding
significant build time by downloading and compiling OpenJDK inside
JikesRVM. Presumably
this also means it now depends on Mercurial as you seem to insist on
using 7 (which isn't addressed here).
> Regards,
> Ian
>
> [1] both you, I and a number of people from Fedora couldn't build
> IcedTea at FOSDEM in an effort to get BrandWeg started. IIRC the Fedora
> people claimed to have 1 machine set up the right way for it to build.
Clearly this isn't the case if Ubuntu is also packaging it.
> [2] including house keeping the Harmony script is 149 lines, the
> Classpath script is 279 lines
These are meaningless statistics. It is clear that Classpath would
have a longer
build script simply because it's more stable and there are probably more strange
cases that are being dealt with.
I haven't personally run the Harmony build (and I'm not sure I will,
because I'm not
sure about having yet another set of JDK sources around), but I
believe it uses ant.
So from an ant build it would be simpler, but from experience with
JikesRVM and OpenJDK,
these builds are tricker to get going because of strange requirements
on estoric undocumented
parts of the JDK setup (e.g. com.sun.tools.javac.Main from a tools.jar
in a specific location being
used to compile rather than simply invoking a javac binary)
--
Andrew :-)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpathhttp://openjdk.java.netPGP Key: 94EFD9D8 (
http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at
http://www.sourceforge.net/community/cca08_______________________________________________
Jikesrvm-core mailing list
Jikesrvm-core@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-core