Re: RFR: 8320942: Only set openjdk-target when cross compiling linux-aarch64

2023-11-29 Thread Mikael Vidstedt
On Wed, 29 Nov 2023 02:25:20 GMT, Mikael Vidstedt wrote: > When building linux-aarch64 at Oracle using jib, > --openjdk-target=aarch64-linux-gnu is always specified regardless of if > building natively or cross compiling (on linux-x64). Among other things this > has the (harmless) effect of tr

Re: RFR: 8320942: Only set openjdk-target when cross compiling linux-aarch64

2023-11-29 Thread Andrew Haley
On Wed, 29 Nov 2023 08:33:33 GMT, Andrew Haley wrote: >> When building linux-aarch64 at Oracle using jib, >> --openjdk-target=aarch64-linux-gnu is always specified regardless of if >> building natively or cross compiling (on linux-x64). Among other things this >> has the (harmless) effect of t

Re: RFR: 8320942: Only set openjdk-target when cross compiling linux-aarch64

2023-11-29 Thread Erik Joelsson
On Wed, 29 Nov 2023 02:25:20 GMT, Mikael Vidstedt wrote: > When building linux-aarch64 at Oracle using jib, > --openjdk-target=aarch64-linux-gnu is always specified regardless of if > building natively or cross compiling (on linux-x64). Among other things this > has the (harmless) effect of tr

Re: RFR: 8320942: Only set openjdk-target when cross compiling linux-aarch64

2023-11-29 Thread Magnus Ihse Bursie
On Wed, 29 Nov 2023 08:33:33 GMT, Andrew Haley wrote: >> When building linux-aarch64 at Oracle using jib, >> --openjdk-target=aarch64-linux-gnu is always specified regardless of if >> building natively or cross compiling (on linux-x64). Among other things this >> has the (harmless) effect of t

Re: RFR: 8320942: Only set openjdk-target when cross compiling linux-aarch64

2023-11-29 Thread Andrew Haley
On Wed, 29 Nov 2023 02:25:20 GMT, Mikael Vidstedt wrote: > When building linux-aarch64 at Oracle using jib, > --openjdk-target=aarch64-linux-gnu is always specified regardless of if > building natively or cross compiling (on linux-x64). Among other things this > has the (harmless) effect of tr

Re: RFR: 8320942: Only set openjdk-target when cross compiling linux-aarch64

2023-11-28 Thread Magnus Ihse Bursie
On Wed, 29 Nov 2023 02:25:20 GMT, Mikael Vidstedt wrote: > When building linux-aarch64 at Oracle using jib, > --openjdk-target=aarch64-linux-gnu is always specified regardless of if > building natively or cross compiling (on linux-x64). Among other things this > has the (harmless) effect of tr

RFR: 8320942: Only set openjdk-target when cross compiling linux-aarch64

2023-11-28 Thread Mikael Vidstedt
When building linux-aarch64 at Oracle using jib, --openjdk-target=aarch64-linux-gnu is always specified regardless of if building natively or cross compiling (on linux-x64). Among other things this has the (harmless) effect of tricking configure into thinking that it's cross compiling even for