Issues building graal-jvmci-8 with Cygwin
Jorn Vernee
jbvernee at xs4all.nl
Thu Nov 8 09:26:14 UTC 2018
Hi Jp,
I'm recently looking into doing Graal intrinsics as well and I'm also
developing on Windows. mx doesn't really seem to work on Windows yet,
pretty much any build command I've tried running throws some kind of
internal error. (and that's been my experience when trying it in the
past as well)
I'm currently hoping I can rely on the standard OpenJDK build system,
since that also seems to be able to build Graal (at least the compiler
part) without the help of mx. It puts Graal into the standard `images`
build output (in the jdk.internal.vm.compiler module). That's of course
the Graal that is included in the standard JDK, or are you developing
for GraalVM?
I'm also still looking for a way to get Ideal Graph Visualizer to work,
since that seems like a pretty essential tool, and the version that's
linked on the github (the one on the university website [1]) doesn't
actually start for me. Building it manually from
src/utils/IdealGraphVisualizer fails as well [2]. Have you looked at
that by any chance?
Jorn
[1] : http://ssw.jku.at/General/Staff/TW/igv.html
[2] :
https://gist.github.com/JornVernee/61909b241a9fbd3bdd2c420d9fdbb527
Halimi, Jean-Philippe schreef op 2018-11-08 06:36:
> Hi Doug,
>
> Thanks for the info, my assumption was that the support was only
> partial at this point. You are mentioning that you have not come
> across any serious issues. I am sorry to follow-up, but it looks like
> I still have trouble finding the proper way to build on Windows. :-)
>
> Namely, I understand that I can use the binaries you pointed me to,
> however which environment do you use to use the mx build command?
>
> Thanks for your help,
> Jp
>
> -----Original Message-----
> From: Doug Simon [mailto:doug.simon at oracle.com]
> Sent: Wednesday, November 7, 2018 12:56 PM
> 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,
>
> Even though we only do light testing of Graal on Windows, we haven't
> come across any serious issues compared to other platforms.
>
> One thing that would be interesting is to get Travis testing[1] to
> work with the new Windows support on Travis[2]. Apart from changes to
> .travis.yml, I suspect most of the effort will be fixing the parts of
> mx that are broken on Windows (I don't have a list of these issues but
> I know they exist!).
>
> -Doug
>
> [1] https://github.com/oracle/graal/blob/master/.travis.yml
> [2] https://blog.travis-ci.com/2018-10-11-windows-early-release
>
>> On 7 Nov 2018, at 21:38, Halimi, Jean-Philippe
>> <jean-philippe.halimi at intel.com> wrote:
>>
>> 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_graal
>>> v
>>> m_openjdk8-2Djvmci-2Dbuilder_releases_tag_jvmci-2D0.49-3F&d=DwIFBA&c=
>>> R
>>> oP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=BmNY5KuefACTr_P43s8fXOXg
>>> N
>>> DkDiqlviyafeiVaP18&m=kanZiJIVRvZMpc1cdZlqu_1IF-0ep3UZrPFyxBWR9kA&s=RK
>>> V 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_a
>>>> m 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