Getting HotSpot from JDK8 to compile on non-MacOS X BSD systems
David Holmes
david.holmes at oracle.com
Mon Dec 3 20:12:39 PST 2012
On 4/12/2012 12:48 PM, Greg Lewis wrote:
> 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 using the new build system for this? If so it is likely coming
from the configure step. Check all the generated *spec*.gmk files to see
if anything is being set that should not be.
> Are you able to shepherd the other changes that I put into the webrev into
> the HotSpot tree? Do we need a corresponding bug?
You will need a corresponding bug, but I'm afraid I can't pick this one
up at this time.
David
-----
>
> -- 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.
>>>
>
More information about the hotspot-dev
mailing list