Build jdk9 on os x, No compiler1
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Wed Feb 11 08:25:22 UTC 2015
On 2015-02-11 01:35, David Holmes wrote:
> On 11/02/2015 4:43 AM, Mihail Stoynov wrote:
>> Hi,
>> I'm trying to build jdk9 on osx, without any customizations:
>>
>> $ hg clone http://hg.openjdk.java.net/jdk9/dev jdk9.hg
>>
>> $ cd jdk9.hg
>> $ chmod u+x get_source.sh
>> $ ./get_source.sh
>>
>> $ chmod u+x configure
>>
>> $ ./configure
>> $ make clean images
>>
>>
>> And it fails with:
>>
>>
>>
>>> *No compiler1 (product1) for ARCH_DATA_MODEL=64*warning: [options]
>>> bootstrap class path not set in conjunction with -source 1.6
>>> 1 warning
>>> Generating bsd_amd64_docs/jvmti.html
>>> make[1]: *** [main-wrapper] Error 2
>>> make: *** [clean] Error 2 real 5m9.066s
>
> Something not right there - we shouldn't be generating anything during
> a clean phase, and the clean is a sequential target.
>
> Can you do "make LOG_LEVEL=debug" clean images"
I believe that make only output the name of one target if you request
several on the command line, so a "make clean foo" will always say
"clean" even if it fails when building foo.
The configuration output looks sane.
Mihail, if you have no local changes, and this is a clean build that is
failing, I suggest you try these steps in increasing "severity":
1) Make sure everything is properly checked out: "bash get_source.sh",
and build again.
2) Remove the build output completely: "rm -rf ./build", run configure
again, and build again.
3) Re-clone the forest from hg.openjdk.java.net. Make sure get_source.sh
runs to end with no errors. Run configure and build again.
/Magnus
>
> The configure script shows only server VM being requested.
>
> Thanks,
> David
>
>>> user 8m56.232s
>>> sys 0m55.382s
>>> ma:jdk9.hg c00l$
>>
>>
>> From what I've seen "64-bit client VM is not supported"
>> http://mail.openjdk.java.net/pipermail/build-dev/2013-April/008633.html
>>
>> I don't want 64-bit client if it is not supported. But how do I say
>> that?
>>
>> Any issue how to solve it?
>>
>> Best regards,
>> Mihail
>> Bulgarian JUG
>>
More information about the build-dev
mailing list