Re: suggesting fix: cross-compilation is requiring write permissions to bootstrap jdk

2020-06-01 Thread Claes Redestad
Ok, I filed a bug and sponsor your patch here: https://mail.openjdk.java.net/pipermail/build-dev/2020-June/027577.html Hope you think it looks good. Erik suggested a few line breaks. Thanks! /Claes On 2020-06-01 16:01, Fedor wrote: I haven't committers rights so help would be great! As far a

Re: suggesting fix: cross-compilation is requiring write permissions to bootstrap jdk

2020-06-01 Thread Fedor
I haven't committers rights so help would be great! As far as I know there is no bug for described problem yet Thanks, Fedor On 01.06.2020 16:29, Erik Joelsson wrote: Fix looks good to me then. Do you need sponsoring help? Is there a bug number for this yet? /Erik On 2020-06-01 01:53, Claes

Re: suggesting fix: cross-compilation is requiring write permissions to bootstrap jdk

2020-06-01 Thread Erik Joelsson
Fix looks good to me then. Do you need sponsoring help? Is there a bug number for this yet? /Erik On 2020-06-01 01:53, Claes Redestad wrote: Hi Fedor, thanks for verifying! /Claes On 2020-06-01 10:39, Fedor wrote: Hi Claes, The content of classlist files is the same in both cases (before

Re: suggesting fix: cross-compilation is requiring write permissions to bootstrap jdk

2020-06-01 Thread Fedor
Hi Claes, The content of classlist files is the same in both cases (before and after change). And the change with updated file name $@.classlist => $@.interim as suggested before. diff --git a/make/GenerateLinkOptData.gmk b/make/GenerateLinkOptData.gmk --- a/make/GenerateLinkOptData.gmk +++

Re: suggesting fix: cross-compilation is requiring write permissions to bootstrap jdk

2020-06-01 Thread Claes Redestad
Hi Fedor, thanks for verifying! /Claes On 2020-06-01 10:39, Fedor wrote: Hi Claes, The content of classlist files is the same in both cases (before and after change). And the change with updated file name $@.classlist => $@.interim as suggested before. diff --git a/make/GenerateLinkOptD

Re: suggesting fix: cross-compilation is requiring write permissions to bootstrap jdk

2020-05-26 Thread Claes Redestad
Hi, I think the proposed flags should do the right thing here. It should be straightforward to verify since the contents of the generated files should ideally not change at all on a standard build. /Claes On 2020-05-26 17:25, Erik Joelsson wrote: Hello, On 2020-05-26 08:00, Magnus Ihse Bursie

Re: suggesting fix: cross-compilation is requiring write permissions to bootstrap jdk

2020-05-26 Thread Erik Joelsson
On 2020-05-26 08:09, Magnus Ihse Bursie wrote: On 2020-05-26 17:00, Magnus Ihse Bursie wrote: On 2020-05-26 15:32, David Holmes wrote: Re-directing to the build-dev list. David On 26/05/2020 11:14 pm, Fedor wrote: Hello all! I've tried to crossbuild jdk using current http://hg.openjdk.ja

Re: suggesting fix: cross-compilation is requiring write permissions to bootstrap jdk

2020-05-26 Thread Erik Joelsson
Hello, On 2020-05-26 08:00, Magnus Ihse Bursie wrote: On 26/05/2020 11:14 pm, Fedor wrote: Hello all! I've tried to crossbuild jdk using current http://hg.openjdk.java.net/jdk/jdk/ sources and noticed that build requires write permissions to bootstrap jdk. Your patch seems to be doing the

Re: suggesting fix: cross-compilation is requiring write permissions to bootstrap jdk

2020-05-26 Thread Magnus Ihse Bursie
On 2020-05-26 17:00, Magnus Ihse Bursie wrote: On 2020-05-26 15:32, David Holmes wrote: Re-directing to the build-dev list. David On 26/05/2020 11:14 pm, Fedor wrote: Hello all! I've tried to crossbuild jdk using current http://hg.openjdk.java.net/jdk/jdk/ sources and noticed that build re

Re: suggesting fix: cross-compilation is requiring write permissions to bootstrap jdk

2020-05-26 Thread Magnus Ihse Bursie
On 2020-05-26 15:32, David Holmes wrote: Re-directing to the build-dev list. David On 26/05/2020 11:14 pm, Fedor wrote: Hello all! I've tried to crossbuild jdk using current http://hg.openjdk.java.net/jdk/jdk/ sources and noticed that build requires write permissions to bootstrap jdk. Say

Re: suggesting fix: cross-compilation is requiring write permissions to bootstrap jdk

2020-05-26 Thread David Holmes
Re-directing to the build-dev list. David On 26/05/2020 11:14 pm, Fedor wrote: Hello all! I've tried to crossbuild jdk using current http://hg.openjdk.java.net/jdk/jdk/ sources and noticed that build requires write permissions to bootstrap jdk. The problem is it tries to write/rewrite class