Building on Solaris

Erik Joelsson erik.joelsson at
Fri Jun 26 09:29:02 UTC 2015

Hello Andrew,

The current devkits basically contain the SS12u3 installation and a 
sysroot from a Solaris 10u10 machine. It should still compile on a pure 
Solaris 11 machine, but it's not tested as often. If you are able to 
construct a sysroot from a Solaris 10 machine and want to use it, just 
point to it using configure option --with-sysroot. I might be able to 
dig up some more detailed instructions of how this was created if you 
like to.

I'm in the process of updating the compilers we use for jdk9 and it's 
currently looking to happen around September. The current intention is 
to use SS12u4 with a sysroot from Solaris 11.1 for Solaris builds. This 
time I also intend to supply the scripts used to create the devkit in 
the openjdk source, so you should be able to replicate that work if you 
wish to.


On 2015-06-26 10:05, Andrew Haley wrote:
> On 26/06/15 06:34, David Holmes wrote:
>> On 25/06/2015 11:15 PM, Andrew Haley wrote:
>>> On 06/25/2015 02:03 PM, Erik Joelsson wrote:
>>>> Can you check that you have
>>>> $(JDK_TOPDIR)/make/src/classes/build/tools/module in your source tree?
>>> Ah yes, that's a problem.  Somehow a ton of files is missing in there.
>>> I'll rebuild from a clean tree.
>> Also note that we use a devkit from Solaris 10u10 when building on S11.
>> Building natively on S11 make not work.
> I am trying to duplicate your setup so that I can test on Solaris.  If
> you could let me know exactly what tools y'all use that would help me
> a great deal.
> Thanks,
> Andrew.

More information about the build-dev mailing list