On Wed, 9 Aug 2023 06:14:59 GMT, Andreas Steiner <d...@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