Getting HotSpot from JDK8 to compile on non-MacOS X BSD systems

David Holmes david.holmes at oracle.com
Sun Dec 2 23:33:15 PST 2012


Hi Greg,

FYI the hotspot make system is not configure aware so for now you have 
to modify the <os>/makefiles/*.make files, or else override variables 
directly.

David

On 3/12/2012 5:00 PM, Greg Lewis wrote:
> I'm working on getting jdk8 to compile on FreeBSD.  The HotSpot build was
> actually pretty close.  I had a few small changes I've posted in a webrev
> here:
>
> http://people.freebsd.org/~glewis/openjdk8/webrev.freebsd.hotspot.1/
>
> Is there someone I can work with to review and get them into the tree?
>
> I also had to override AS like so:
>
> gmake NEWBUILD=true AS="gcc -c -x assembler-with-cpp -m32 -march=i586"
>
> That's a bit of a gross hack since ARCH and ARCH_DATA_MODEL are embedded
> in there directly.  Ideally the build would detect this as part of
> configure rather than me overriding it directly like this.  I'm not quite
> sure would to modify for that though since its already set up like that
> in make/bsd/makefiles/gcc.make.  Any guidance on that?
>
> I haven't been able to test the resulting libjvm.so yet since I'm still
> slogging through the jdk build.
>


More information about the hotspot-dev mailing list