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

Greg Lewis glewis at eyesbeyond.com
Mon Dec 3 18:48:24 PST 2012


Thanks David,

make/bsd/makefiles/gcc.make already has the right setting for AS.  I guess
I'll just need to figure out where the setting that is taking precedence
is coming from.

Are you able to shepherd the other changes that I put into the webrev into
the HotSpot tree?  Do we need a corresponding bug?

-- Greg

On Mon, Dec 03, 2012 at 05:33:15PM +1000, David Holmes wrote:
> 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.
> >

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the hotspot-dev mailing list