solaris builds and new infra.....

Kelly O'Hair kelly.ohair at oracle.com
Fri Nov 30 17:05:19 UTC 2012


On Nov 29, 2012, at 1:13 AM, Alan Bateman wrote:

> On 29/11/2012 04:01, Kelly O'Hair wrote:
>> On Nov 28, 2012, at 12:27 PM, Alan Bateman wrote:
>> 
>>> :
>>> I don't know about that, but the "overlay-images" will create the 64-bit overlay that we are used to. Personally I think we should get rid of the overlay have have separate 32-bit and 64-bit images like the other platforms.
>> My tendency is to go this route too.  Or do the extra credit and just build a merged 32+64 image by default.
>> 
>> One of the reasons 32 and 64 builds were separate for Solaris was the fact that we had to build x86 on Solaris 8
>> but x64 on Solaris 10, way back in jdk5 and jdk6.  I know it adds to the Solaris build time, but my tendency now
>> is to declare that all Solaris builds contain both 32 and 64 binaries, and pay the price in build time.
>> Someday, we can abandon the 32bit version completely, on all the platforms, I can dream. ;^)
>> 
> I assume 32-bits will go away eventually too.
> 
> My concern about the overlay image is that it's not clear how it will work with modules, particularly with platform specific modules as it means the system system library has to accommodate both architectures or we have to have two system module libraries, which would be a pain. In the Jigsaw build we have separate images for 32-bit and 64-bit, just like the other platforms.
> 
> So if you also have a tendency to go down this route too then how do we make it happen?

The overlay image has been one of these special cases that I would like to avoid, but at the same time, building two rt.jar
files for the 32bit and 64bit images seems pretty silly too.
So for the sake of simplicity, I'm willing to take the "build two rt.jar hit", and get rid of the overlay images, with the hopes
that someday we stop building 32bit images. And keeping them separate might make the "get rid of 32bit builds" an easier
path to take in the future.  And I do consider jigsaw extremely important, so we need to answer this issue for you guys.

So unless I hear otherwise, we will be moving down the "no more overlay images on Solaris" path.

As David points out, we will need to change the Solaris packaging.  This will not be trivial, but I think it is the right road to take.

My only issue right now is that resources are tight, so this change may need to be merged with the build-infra
project work. I'll start by filing some Issues in  JIRA for this.

-kto

> 
> -Alan




More information about the build-dev mailing list