Issues building graal-jvmci-8 with Cygwin

Halimi, Jean-Philippe jean-philippe.halimi at intel.com
Wed Nov 7 20:38:37 UTC 2018


Hi Doug,

As a follow-up on this, do we know what needs to be done to enable Graal on Windows?
Are there a set of bugs that we could help with?

Thanks,
Jp
 
-----Original Message-----
From: Doug Simon [mailto:doug.simon at oracle.com] 
Sent: Monday, November 5, 2018 8:31 AM
To: Halimi, Jean-Philippe <jean-philippe.halimi at intel.com>
Cc: graal-dev at openjdk.java.net; Aleksandar Pejovic <aleksandar.pejovic at oracle.com>
Subject: Re: Issues building graal-jvmci-8 with Cygwin

Hi Jp,

> On 5 Nov 2018, at 17:15, Halimi, Jean-Philippe <jean-philippe.halimi at intel.com> wrote:
> 
> Hi Doug,
> 
> Thanks for the insights. I was following the README, but I ended up using the binaries that you pointed as well.
> Should the README point users in this direction moving forward as a fallback?

Good suggestion. We will do that.

-Doug

> -----Original Message-----
> From: Doug Simon [mailto:doug.simon at oracle.com]
> Sent: Monday, November 5, 2018 1:21 AM
> To: Halimi, Jean-Philippe <jean-philippe.halimi at intel.com>
> Cc: graal-dev at openjdk.java.net; Aleksandar Pejović 
> <aleksandar.pejovic at oracle.com>
> Subject: Re: Issues building graal-jvmci-8 with Cygwin
> 
> Hi Jp,
> 
> As you are experiencing, Windows support is not as strong as for other 
> platforms. Do you really need to build JVMCI on Windows or can you use 
> the Windows binary available at 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_graalv
> m_openjdk8-2Djvmci-2Dbuilder_releases_tag_jvmci-2D0.49-3F&d=DwIFBA&c=R
> oP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=BmNY5KuefACTr_P43s8fXOXgN
> DkDiqlviyafeiVaP18&m=kanZiJIVRvZMpc1cdZlqu_1IF-0ep3UZrPFyxBWR9kA&s=RKV
> NtG0BSeIB-s0gct7KKvLWTAuV00THcV6XjxzHEXE&e=
> 
> If you need to build on Windows, I don't think a cygwin environment works any more. You also need Windows SDK v7.1 installed in the default location. More instructions are at https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_oracle_graal_tree_master_compiler-23windows-2Dspecifics-2D1&d=DwIFBA&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=BmNY5KuefACTr_P43s8fXOXgNDkDiqlviyafeiVaP18&m=kanZiJIVRvZMpc1cdZlqu_1IF-0ep3UZrPFyxBWR9kA&s=OlerJUV61GAN08Sh1pf6Sp9Y8_V8DZroeLXzGvgFK0s&e=.
> 
> -Doug
> 
>> On 5 Nov 2018, at 05:59, Halimi, Jean-Philippe <jean-philippe.halimi at intel.com> wrote:
>> 
>> Hi,
>> 
>> I am running into building issues for Graal-JVMCI-8 on Windows. I run the following command:
>> 
>> mx --java-home /cygdrive/c/Program\ Files/Java/jdk1.8.0_191/ build
>> 
>> WARNING: No platform-specific definition is available for 
>> distribution JVM_PRODUCT_SERVER for your OS (cygwin)
>> JAVA_HOME: /cygdrive/c/Program Files/Java/jdk1.8.0_191/
>> EXTRA_JAVA_HOMES: /home/jhalimi/java/jdk-11 Building HotSpot[product, 
>> server]...
>> [/home/jhalimi/Programming/graal/graal-jvmci-8/build/cygwin/cygwin_am
>> d 64_compiler2/generated/jvmtifiles/jvmti.h[does not exist] does not 
>> exist] Could not find Windows SDK : 'C:\Program Files\Microsoft 
>> SDKs\Windows\v7.1\' does not exist Building HotSpot[product, server] 
>> failed
>> 1 build tasks failed
>> 
>> Can it be related to the first warning message?
>> 
>> Has anybody ran into this problem before?
>> 
>> Thanks,
>> Jp
> 



More information about the graal-dev mailing list