From: Randall S. Becker Date: Wed, 21 Dec 2022 17:32:32 +0000 (-0700) Subject: Document limits on static and dynamic linking for HPE NonStop platforms. X-Git-Tag: openssl-3.2.0-alpha1~1312 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b2625274f5d5ec90aee522ec4e4f3aa08fa5b70;p=thirdparty%2Fopenssl.git Document limits on static and dynamic linking for HPE NonStop platforms. Documentation is necessary as static and dynamic linking cause SIGSEGV during atexit() processing on the platform. Fixes: 19951 Signed-off-by: Randall S. Becker Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/19952) (cherry picked from commit e80518db6d52f9e6faec09df7c25f08a74e8aec2) --- diff --git a/NOTES-NONSTOP.md b/NOTES-NONSTOP.md index 627843babf3..68438b99888 100644 --- a/NOTES-NONSTOP.md +++ b/NOTES-NONSTOP.md @@ -44,6 +44,20 @@ instead of `nsx` in the set above. You cannot build for TNS/E for FIPS, so you must specify the `no-fips` option to `./Configure`. +Linking and Loading Considerations +---------------------------------- + +Because of how the NonStop Common Runtime Environment (CRE) works, there are +restrictions on how programs can link and load with OpenSSL libraries. +On current NonStop platforms, programs cannot both statically link OpenSSL +libraries and dynamically load OpenSSL shared libraries concurrently. If this +is done, there is a high probability of encountering a SIGSEGV condition +relating to `atexit()` processing when a shared library is unloaded and when +the program terminates. This limitation applies to all OpenSSL shared library +components. + +A resolution to this situation is under investigation. + About Prefix and OpenSSLDir ---------------------------