Re: RFR: JDK-8313244: NM flags handling in configure process [v4]

2023-08-10 Thread Matthias Baesken
On Wed, 9 Aug 2023 15:26:05 GMT, Andreas Steiner wrote: >> On AIX we need the -X64 option for NM in the build. The handling is >> equivalent to the other used tools flags like AR. >> This change will replace the quick fix done in >> https://bugs.openjdk.org/browse/JDK-8312466. > > Andreas

Re: RFR: JDK-8313244: NM flags handling in configure process [v4]

2023-08-09 Thread Julian Waters
On Wed, 9 Aug 2023 15:26:05 GMT, Andreas Steiner wrote: >> On AIX we need the -X64 option for NM in the build. The handling is >> equivalent to the other used tools flags like AR. >> This change will replace the quick fix done in >> https://bugs.openjdk.org/browse/JDK-8312466. > > Andreas

Re: RFR: JDK-8313244: NM flags handling in configure process [v4]

2023-08-09 Thread Christoph Langer
On Wed, 9 Aug 2023 15:26:05 GMT, Andreas Steiner wrote: >> On AIX we need the -X64 option for NM in the build. The handling is >> equivalent to the other used tools flags like AR. >> This change will replace the quick fix done in >> https://bugs.openjdk.org/browse/JDK-8312466. > > Andreas

Re: RFR: JDK-8313244: NM flags handling in configure process [v4]

2023-08-09 Thread Erik Joelsson
On Wed, 9 Aug 2023 15:26:05 GMT, Andreas Steiner wrote: >> On AIX we need the -X64 option for NM in the build. The handling is >> equivalent to the other used tools flags like AR. >> This change will replace the quick fix done in >> https://bugs.openjdk.org/browse/JDK-8312466. > > Andreas

Re: RFR: JDK-8313244: NM flags handling in configure process [v4]

2023-08-09 Thread Andreas Steiner
> On AIX we need the -X64 option for NM in the build. The handling is > equivalent to the other used tools flags like AR. > This change will replace the quick fix done in > https://bugs.openjdk.org/browse/JDK-8312466. Andreas Steiner has updated the pull request incrementally with one

Re: RFR: JDK-8313244: NM flags handling in configure process [v3]

2023-08-09 Thread Erik Joelsson
On Wed, 9 Aug 2023 06:14:59 GMT, Andreas Steiner wrote: > I agree to add this to the nm calls in NativeCompilation.gmk. Christoph > mentioned this is used when static libraries are build. I tried the target > "static-libs-image". But this isn't working on AIX, because the ar flags -rcs > are

Re: RFR: JDK-8313244: NM flags handling in configure process [v3]

2023-08-09 Thread Erik Joelsson
On Tue, 8 Aug 2023 20:50:11 GMT, Christoph Langer wrote: > > > Looks good overall. I suggest to remove the BUILD_NM variable in this PR > > > as well. We should then wait with a final review until some folks from > > > the Oracle build team are back. > > > > > > What is the motivation for

Re: RFR: JDK-8313244: NM flags handling in configure process [v3]

2023-08-09 Thread Andreas Steiner
On Fri, 4 Aug 2023 14:37:04 GMT, Andreas Steiner wrote: >> On AIX we need the -X64 option for NM in the build. The handling is >> equivalent to the other used tools flags like AR. >> This change will replace the quick fix done in >> https://bugs.openjdk.org/browse/JDK-8312466. > > Andreas

Re: RFR: JDK-8313244: NM flags handling in configure process [v3]

2023-08-08 Thread Christoph Langer
On Tue, 8 Aug 2023 20:14:55 GMT, Erik Joelsson wrote: > > Looks good overall. I suggest to remove the BUILD_NM variable in this PR as > > well. We should then wait with a final review until some folks from the > > Oracle build team are back. > > What is the motivation for removing BUILD_NM? I

Re: RFR: JDK-8313244: NM flags handling in configure process [v3]

2023-08-08 Thread Erik Joelsson
On Fri, 4 Aug 2023 09:52:30 GMT, Christoph Langer wrote: > Looks good overall. I suggest to remove the BUILD_NM variable in this PR as > well. We should then wait with a final review until some folks from the > Oracle build team are back. What is the motivation for removing BUILD_NM? I

Re: RFR: JDK-8313244: NM flags handling in configure process [v3]

2023-08-08 Thread Erik Joelsson
On Fri, 4 Aug 2023 14:37:04 GMT, Andreas Steiner wrote: >> On AIX we need the -X64 option for NM in the build. The handling is >> equivalent to the other used tools flags like AR. >> This change will replace the quick fix done in >> https://bugs.openjdk.org/browse/JDK-8312466. > > Andreas

Re: RFR: JDK-8313244: NM flags handling in configure process [v2]

2023-08-07 Thread Christoph Langer
On Fri, 4 Aug 2023 14:42:37 GMT, Andreas Steiner wrote: > > make/common/NativeCompilation.gmk uses NM too, is there a reason to avoid > > the flag there? flags-other.m4 : the comment 'on AIX ...' is just stating > > the obvious; maybe it should better mention that without -X64 we only > >

Re: RFR: JDK-8313244: NM flags handling in configure process [v2]

2023-08-04 Thread Andreas Steiner
On Fri, 4 Aug 2023 12:35:20 GMT, Matthias Baesken wrote: > make/common/NativeCompilation.gmk uses NM too, is there a reason to avoid the > flag there? flags-other.m4 : the comment 'on AIX ...' is just stating the > obvious; maybe it should better mention that without -X64 we only process >

Re: RFR: JDK-8313244: NM flags handling in configure process [v3]

2023-08-04 Thread Andreas Steiner
> On AIX we need the -X64 option for NM in the build. The handling is > equivalent to the other used tools flags like AR. > This change will replace the quick fix done in > https://bugs.openjdk.org/browse/JDK-8312466. Andreas Steiner has updated the pull request incrementally with one

Re: RFR: JDK-8313244: NM flags handling in configure process [v2]

2023-08-04 Thread Matthias Baesken
On Fri, 4 Aug 2023 11:17:43 GMT, Andreas Steiner wrote: >> On AIX we need the -X64 option for NM in the build. The handling is >> equivalent to the other used tools flags like AR. >> This change will replace the quick fix done in >> https://bugs.openjdk.org/browse/JDK-8312466. > > Andreas

Re: RFR: JDK-8313244: NM flags handling in configure process [v2]

2023-08-04 Thread Andreas Steiner
On Fri, 4 Aug 2023 09:50:44 GMT, Christoph Langer wrote: >> Andreas Steiner has updated the pull request incrementally with one >> additional commit since the last revision: >> >> remove needless else > > make/autoconf/flags-other.m4 line 96: > >> 94: if test "x$OPENJDK_TARGET_OS" = xaix;

Re: RFR: JDK-8313244: NM flags handling in configure process [v2]

2023-08-04 Thread Andreas Steiner
> On AIX we need the -X64 option for NM in the build. The handling is > equivalent to the other used tools flags like AR. > This change will replace the quick fix done in > https://bugs.openjdk.org/browse/JDK-8312466. Andreas Steiner has updated the pull request incrementally with one

Re: RFR: JDK-8313244: NM flags handling in configure process

2023-08-04 Thread Julian Waters
On Fri, 4 Aug 2023 09:22:00 GMT, Andreas Steiner wrote: > On AIX we need the -X64 option for NM in the build. The handling is > equivalent to the other used tools flags like AR. > This change will replace the quick fix done in > https://bugs.openjdk.org/browse/JDK-8312466. Looks good apart

Re: RFR: JDK-8313244: NM flags handling in configure process

2023-08-04 Thread Christoph Langer
On Fri, 4 Aug 2023 09:22:00 GMT, Andreas Steiner wrote: > On AIX we need the -X64 option for NM in the build. The handling is > equivalent to the other used tools flags like AR. > This change will replace the quick fix done in > https://bugs.openjdk.org/browse/JDK-8312466. Looks good overall.

RFR: JDK-8313244: NM flags handling in configure process

2023-08-04 Thread Andreas Steiner
On AIX we need the -X64 option for NM in the build. The handling is equivalent to the other used tools flags like AR. This change will replace the quick fix done in https://bugs.openjdk.org/browse/JDK-8312466. - Commit messages: - JDK-8313244: NM flags handling in configure