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

Erik Joelsson erikj at openjdk.org
Wed Aug 9 12:30:29 UTC 2023


On Wed, 9 Aug 2023 06:14:59 GMT, Andreas Steiner <duke at openjdk.org> 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 not available on AIX. Also the nm calls of this target use the added -X64 already. Can somebody tell when this is used to test this too?

The STATIC_BUILD configuration option (`--enable-static-build`) is different from the static libraries built for Graal with the `static-libs-image` target. The former was introduced in https://bugs.openjdk.org/browse/JDK-8136556. IMO, it's fine to not test that and just add `$(NMFLAGS)` after `$(NM)` in NativeCompilation.gmk for consistency.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/15150#issuecomment-1671203068



More information about the build-dev mailing list