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

Jiangli Zhou jiangli at openjdk.org
Thu Apr 27 15:08:54 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.

Thanks for the reviews.

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

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



More information about the client-libs-dev mailing list