Skip to content
  • Tor Didriksen's avatar
    392069e3
    Bug#30243901 SOLARIS SUPPORT COMPILATION WITH OPENSSL 1.1.1 FOR MYSQL 5.6 & 5.7 · 392069e3
    Tor Didriksen authored
    Patch for 5.6
    
    Workaround for compiler bug
    ld.so.1: mysqld: fatal: relocation error: file sql/mysqld:
             symbol OPENSSL_sk_new_null: referenced symbol not found
    openssl/safestack.h has lots of pragma weak <function>.
    All are tagged as WEAK in generated binaries.
    
    Taking the address of OPENSSL_sk_new_null solves the problem.
    We do it in sql/net_serv.cc because this file is used by both
    client and server and "embedded" versions of client and server.
    
    Change-Id: I49b27dade048d8e27715ecfe3d6bd6c076cb7b55
    392069e3
    Bug#30243901 SOLARIS SUPPORT COMPILATION WITH OPENSSL 1.1.1 FOR MYSQL 5.6 & 5.7
    Tor Didriksen authored
    Patch for 5.6
    
    Workaround for compiler bug
    ld.so.1: mysqld: fatal: relocation error: file sql/mysqld:
             symbol OPENSSL_sk_new_null: referenced symbol not found
    openssl/safestack.h has lots of pragma weak <function>.
    All are tagged as WEAK in generated binaries.
    
    Taking the address of OPENSSL_sk_new_null solves the problem.
    We do it in sql/net_serv.cc because this file is used by both
    client and server and "embedded" versions of client and server.
    
    Change-Id: I49b27dade048d8e27715ecfe3d6bd6c076cb7b55
Loading