Building on Solaris
volker.simonis at gmail.com
Fri Jun 26 13:43:17 UTC 2015
we are building nightly on Solaris 11 / SPARC with SS 12u3 (see
http://cr.openjdk.java.net/~simonis/ppc-aix-port/ - you can click on
the traffic lights to download the complete build logs). And I've just
verified that I can build jdk9-dev myself.
Assuming you have the compiler (SS12u3) in your path this is my configure line:
Essential is that you use "--disable-warnings-as-errors" because of
384: error: statement not reached (E_STATEMENT_NOT_REACHED)
cc: acomp failed for
gmake: *** [/jdk9/client/build/solaris-x86_64-normal-server-fastdebug/support/native/java.base/libjava/childproc.o]
gmake: *** Waiting for unfinished jobs....
gmake: *** [java.base-libs] Error 1
If you search the build-dev list for "childproc.c" you'll find the
exact reason for the problem.
On Fri, Jun 26, 2015 at 10:05 AM, Andrew Haley <aph at redhat.com> 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.
More information about the build-dev