Latest instructions on getting and patching

scheme mlvm scheme.mlvm at gmail.com
Fri Apr 24 04:47:08 PDT 2009


My experiences with building mlvm based on bsd-port:

On missing machine/endian.h if build on linux (FC10 in my case):
In jdk: replace with #include <endian.h>

On error: class file for com.sun.jmx.snmp.Timestamp not found:
Build does not extract a few binary plug classes, fix jdk:
make/common/internal/BinaryPlugs.gmk

To-be-encountered :): on NullPointerException for jar tool
with at listOfFilesparam:
In jdk, src/share/classes/sun/tools/jar/Main.java: set new cwd property
before any of the extract() method is called (not only in one extract()
method)

If using newly build openjdk-1.7.0 as ALT_BOOTDIR, javadoc vm crashes when
building certain docs. seemed to happen randomly, no fix, just workaround:
In jdk, make/common/shared/Defs-java.gmk: introduced new ALT_JAVADOC to use
jdk 6 javadoc

Patch files attached

fyi, Jürgen

2009/4/24 Chanwit Kaewkasi <chanwit at gmail.com>

> More update, I am now stuck at this error, while compiling the bsd-port:
>
> error: class file for com.sun.jmx.snmp.Timestamp not found
> 1 error
> make[2]: *** [initial-image-jdk] Error 1
> make[2]: Leaving directory `/opt/openjdk/bsd-port/jdk/make'
> make[1]: *** [jdk-build] Error 2
> make[1]: Leaving directory `/opt/openjdk/bsd-port'
>
> The bootstrap jdk I'm using is Sun JDK 1.6.0_04-b12. Not sure if it's
> causing this error?
>
> Any suggestion would be great.
>
> Best regards,
>
> Chanwit
>
> On Thu, Apr 23, 2009 at 10:55 PM, Chanwit Kaewkasi <chanwit at gmail.com>
> wrote:
> > Updated:
> > I have managed to fix it per this:
> > http://archives.neohapsis.com/archives/openbsd/2004-01/0356.html
> > by simply commenting the include statements out.
> >
> > Cheers,
> >
> > Chanwit
> >
> > On Thu, Apr 23, 2009 at 9:34 PM, Tobias Ivarsson <thobes at gmail.com>
> wrote:
> >>
> >> Yes, that is the same error I got when using the same build process that
> >> worked for building the jdk7 branch for building the bsd-port branch.
> >> Do anyone know if the bsd-port needs some different kind of hand holding
> >> when building on linux, compared to the jdk7 branch?
> >>
> >> Cheers,
> >> Tobias
> >>
> >> _______________________________________________
> >> mlvm-dev mailing list
> >> mlvm-dev at openjdk.java.net
> >> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
> >>
> >
>
>
>
> --
> Chanwit Kaewkasi
> PhD Candidate,
> Centre for Novel Computing
> School of Computer Science
> The University of Manchester
> Oxford Road
> Manchester
> M13 9PL, UK
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090424/9e45460a/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: interim-endian.patch
Type: text/x-patch
Size: 1581 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090424/9e45460a/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jmx.snmp-binaryplugs.patch
Type: text/x-patch
Size: 742 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090424/9e45460a/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sun-tools-jar.patch
Type: text/x-patch
Size: 1396 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090424/9e45460a/attachment-0002.bin 


More information about the mlvm-dev mailing list