Required Solaris Studio version for jdk9 ?

Erik Joelsson erik.joelsson at oracle.com
Thu Mar 30 08:49:39 UTC 2017


Hello Volker,

On 2017-03-30 10:33, Volker Simonis wrote:
> Hi,
>
> the current common/doc/building.md [1] file mentions Studio 12 Update
> 4 with several patches as the minimal build requirement for jdk9 on
> Solaris. Is this information still up to date and do you plan to use
> the mentioned versions for the Java 9 GA build?
We have no plans for changing any compiler versions before 9 GA.
> Does somebody know how I can find out the exact patch levels of the
> installed Studio compiler/backend versions if I'm using a version of
> Studio which isn't installed locally but on a network share? I tried
> "-V -verbose=version" but it only shows:
>
> $ CC -V -verbose=version
> CC: Sun C++ 5.13 SunOS_sparc 2014/10/20
>
> I've also tried the 'version' tool with the same result:
>
> $ version cc
> cc: Sun C 5.13 SunOS_sparc 2014/10/20
>
> The version tool recommends using pkginfo/pkg to get the exact version
> of the installed studio components, but this obviously doesn't work
> for a network installation.
I don't think there is a way unfortunately. The package versions listed 
in the documentation is the version for each package that was the latest 
available when I happened to install them, when I created our compiler 
package. It does seem like the date printed is significant however. In 
our compiler package, cc and CC report this:

$ cc -V
cc: Sun C 5.13 SunOS_i386 2014/10/20
$ CC -V
CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30

So it would seem our C++ compiler is newer than yours. I do remember 
there were bugs in the earlier versions of 12.4 C++ which we required 
fixes for before we could switch, so I think you should probably try to 
upgrade.

/Erik
> Thank you and best regards,
> Volker
>
> [1] http://hg.openjdk.java.net/jdk9/dev/file/04d60d5ae6fd/common/doc/building.md




More information about the build-dev mailing list