Quantcast

[9] RFR(XS) 8176238: [AOT] failure to build jdk.vm.compier with --with-jobs=1 configure flag

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[9] RFR(XS) 8176238: [AOT] failure to build jdk.vm.compier with --with-jobs=1 configure flag

Vladimir Kozlov
https://bugs.openjdk.java.net/browse/JDK-8176238

jdk.internal.vm.compiler build fails when --with-jobs=1 is used by
configure. Mandy suggested to add --add-modules jdk.internal.vm.ci to
Graal annotation process command line to avoid the problem:

diff -r 932b4ec7397f make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
--- a/make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
+++ b/make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
@@ -81,6 +81,7 @@
  PROCESSOR_PATH := $(call PathList, $(PROCESSOR_JARS))

  ADD_EXPORTS := \
+    --add-modules jdk.internal.vm.ci \
      --add-exports jdk.internal.vm.ci/jdk.vm.ci.aarch64=ALL-UNNAMED \
      --add-exports jdk.internal.vm.ci/jdk.vm.ci.amd64=ALL-UNNAMED \
      --add-exports jdk.internal.vm.ci/jdk.vm.ci.code=ALL-UNNAMED \

It works but I don't know why this happens only with --with-jobs=1.

Thanks,
Vladimir
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [9] RFR(XS) 8176238: [AOT] failure to build jdk.vm.compier with --with-jobs=1 configure flag

Vladimir Kozlov
Webrev:
http://cr.openjdk.java.net/~kvn/8176238/webrev/

On 3/6/17 2:31 PM, Vladimir Kozlov wrote:

> https://bugs.openjdk.java.net/browse/JDK-8176238
>
> jdk.internal.vm.compiler build fails when --with-jobs=1 is used by
> configure. Mandy suggested to add --add-modules jdk.internal.vm.ci to
> Graal annotation process command line to avoid the problem:
>
> diff -r 932b4ec7397f make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
> --- a/make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
> +++ b/make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
> @@ -81,6 +81,7 @@
>  PROCESSOR_PATH := $(call PathList, $(PROCESSOR_JARS))
>
>  ADD_EXPORTS := \
> +    --add-modules jdk.internal.vm.ci \
>      --add-exports jdk.internal.vm.ci/jdk.vm.ci.aarch64=ALL-UNNAMED \
>      --add-exports jdk.internal.vm.ci/jdk.vm.ci.amd64=ALL-UNNAMED \
>      --add-exports jdk.internal.vm.ci/jdk.vm.ci.code=ALL-UNNAMED \
>
> It works but I don't know why this happens only with --with-jobs=1.
>
> Thanks,
> Vladimir
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [9] RFR(XS) 8176238: [AOT] failure to build jdk.vm.compier with --with-jobs=1 configure flag

Igor Veresov
Looks good.

igor

> On Mar 6, 2017, at 2:40 PM, Vladimir Kozlov <[hidden email]> wrote:
>
> Webrev:
> http://cr.openjdk.java.net/~kvn/8176238/webrev/
>
>> On 3/6/17 2:31 PM, Vladimir Kozlov wrote:
>> https://bugs.openjdk.java.net/browse/JDK-8176238
>>
>> jdk.internal.vm.compiler build fails when --with-jobs=1 is used by
>> configure. Mandy suggested to add --add-modules jdk.internal.vm.ci to
>> Graal annotation process command line to avoid the problem:
>>
>> diff -r 932b4ec7397f make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
>> --- a/make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
>> +++ b/make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
>> @@ -81,6 +81,7 @@
>> PROCESSOR_PATH := $(call PathList, $(PROCESSOR_JARS))
>>
>> ADD_EXPORTS := \
>> +    --add-modules jdk.internal.vm.ci \
>>     --add-exports jdk.internal.vm.ci/jdk.vm.ci.aarch64=ALL-UNNAMED \
>>     --add-exports jdk.internal.vm.ci/jdk.vm.ci.amd64=ALL-UNNAMED \
>>     --add-exports jdk.internal.vm.ci/jdk.vm.ci.code=ALL-UNNAMED \
>>
>> It works but I don't know why this happens only with --with-jobs=1.
>>
>> Thanks,
>> Vladimir

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [9] RFR(XS) 8176238: [AOT] failure to build jdk.vm.compier with --with-jobs=1 configure flag

Vladimir Kozlov
Thank you, Igor

Vladimir

On 3/6/17 2:45 PM, Igor Veresov wrote:

> Looks good.
>
> igor
>
>> On Mar 6, 2017, at 2:40 PM, Vladimir Kozlov <[hidden email]> wrote:
>>
>> Webrev:
>> http://cr.openjdk.java.net/~kvn/8176238/webrev/
>>
>>> On 3/6/17 2:31 PM, Vladimir Kozlov wrote:
>>> https://bugs.openjdk.java.net/browse/JDK-8176238
>>>
>>> jdk.internal.vm.compiler build fails when --with-jobs=1 is used by
>>> configure. Mandy suggested to add --add-modules jdk.internal.vm.ci to
>>> Graal annotation process command line to avoid the problem:
>>>
>>> diff -r 932b4ec7397f make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
>>> --- a/make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
>>> +++ b/make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
>>> @@ -81,6 +81,7 @@
>>> PROCESSOR_PATH := $(call PathList, $(PROCESSOR_JARS))
>>>
>>> ADD_EXPORTS := \
>>> +    --add-modules jdk.internal.vm.ci \
>>>     --add-exports jdk.internal.vm.ci/jdk.vm.ci.aarch64=ALL-UNNAMED \
>>>     --add-exports jdk.internal.vm.ci/jdk.vm.ci.amd64=ALL-UNNAMED \
>>>     --add-exports jdk.internal.vm.ci/jdk.vm.ci.code=ALL-UNNAMED \
>>>
>>> It works but I don't know why this happens only with --with-jobs=1.
>>>
>>> Thanks,
>>> Vladimir
>
Loading...