RFR: 8306949: Resolve miscellaneous multiple symbol definition issues when statically linking JDK/VM natives with standard launcher

Sergey Bylokhov serb at openjdk.org
Thu Apr 27 07:37:22 UTC 2023


On Thu, 27 Apr 2023 00:12:58 GMT, Jiangli Zhou <jiangli at openjdk.org> wrote:

> Resolve misc symbol issues observed when statically linking JDK/VM natives with the standard Java launcher executable. Use the same approaches adopted by earlier fixes for static linking related symbol problems (e.g. JDK-8306033):
> 
> - Change findFunction() to be a static function in src/java.smartcardio/unix/native/libj2pcsc/pcsc_md.c.
> - Rename findFunction() to p11FindFunction() in libj2pkcs11 code.
> - Rename 'debug' to 'debug_j2pkcs11' in libj2pkcs11 code.
> - Rename 'jvm' to 'jvm_xawt' in libawt_xawt code.

The changes for jvm_xawt looks fine.

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

PR Comment: https://git.openjdk.org/jdk/pull/13682#issuecomment-1524973461



More information about the client-libs-dev mailing list