official compiler for Solaris jdk9 build?
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Wed Jun 3 08:28:55 UTC 2015
On 2015-06-02 17:27, Semyon Sadetsky wrote:
> I'm trying to build jdk9 under the current Solaris 11.2 version.
> Which version of the Solaris Studio should be installed for that? The
> readme-builds states:
> At a minimum, the Studio 12 Update 1 Compilers (containing version
> 5.10 of the C and C++ compilers) is required, including specific patches.
> Currently there are 3 versions currently available for downloading:
> Oracle Solaris Studio 12.2
> Oracle Solaris Studio 12.3
> Oracle Solaris Studio 12.4
> I tried all 3 and only with 12.3 I do no receive build warnings about
> wrong compiler version,
> but my build constantly fails with 12.3 with the next message:
> Compiling 246 files for jdk.jdi
> "/jdk9/client/jdk/src/java.base/unix/native/libjava/childproc.c", line
> 384: warning: statement not reached (E_STATEMENT_NOT_REACHED)
> line 496: warning: statement not reached (E_STATEMENT_NOT_REACHED)
> ld: fatal: file
> not an ELF object
> gmake: ***
> Error 2
> gmake: *** Waiting for unfinished jobs....
> gmake: *** [java.base-libs] Error 1
> Even --disable-warnings-as-errors option does not save the build from
That's because the warning does not cause the build failure. Read the
logs again. :-)
The real error here is "libjvm.so: not an ELF object" which causes the
linking to fail for libverify.so. The warning from libjava is just a red
Your hotspot build is broken. Try
and see if you spot any errors. Otherwise you'd probably just left the
build in a bad state.
> Could you send me the software list with the versions that should be
> installed on a clean Solaris 11.2 instance to have the build running
> Thank you,
More information about the build-dev