[Bug 794599] Conflicting symbols from OpenSSL and something else preventing static linking: sha1_block_data_order

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 12 08:08:33 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=794599

Matthew Waters (ystreet00) <ystreet00 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
commit 869c208e25140c308e84be51a6ada1dd84014a78
Author: Matthew Waters <matthew at centricular.com>
Date:   Thu Mar 29 22:59:20 2018 +1100

    gnutls: rename private symbols for armv8, x86 to not conflict with openssl

    Modifying gnutls was chosen because for other architectures, the names
    are already slightly different and don't conflict with openssl whereas
    openssl's symbol names are all the same regardless of architecture.
    gnutls also only has 2 accelarated architectures to change compared to
    openssl's 5+.

And couple of follow up commits for other platforms.

commit ca687e9ca4a2a0aab744d460d552ef4806ec54a4
Author: Matthew Waters <matthew at centricular.com>
Date:   Wed Apr 11 15:04:59 2018 +1000

    recipes/gnutls: also rename assembly functions on macos/ios

    Fixes build error:

    Undefined symbols for architecture x86_64:
      "__aesni_cbc_encrypt", referenced from:
          _aes_encrypt in libaccelerated.a(aes-cbc-x86-aesni.o)
          _aes_decrypt in libaccelerated.a(aes-cbc-x86-aesni.o)
      "__aesni_ctr32_encrypt_blocks", referenced from:
          _aes_gcm_encrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
          _aes_gcm_decrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
          _aes_gcm_encrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
          _aes_gcm_decrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
      "__aesni_ecb_encrypt", referenced from:
          _x86_aes_encrypt in libaccelerated.a(aes-ccm-x86-aesni.o)
          _x86_aes_encrypt in libaccelerated.a(aes-gcm-x86-aesni.o)
          _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
          _aes_gcm_setiv in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
          _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul.o)
          _aes_gcm_setiv in libaccelerated.a(aes-gcm-x86-pclmul.o)
      "__aesni_set_decrypt_key", referenced from:
          _aes_cipher_setkey in libaccelerated.a(aes-cbc-x86-aesni.o)
      "__aesni_set_encrypt_key", referenced from:
          _aes_cipher_setkey in libaccelerated.a(aes-cbc-x86-aesni.o)
          _aes_ccm_cipher_setkey in libaccelerated.a(aes-ccm-x86-aesni.o)
          _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-aesni.o)
          _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
          _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul.o)
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see
invocation)

commit 6fd9d2e6899c20b71f54ba68a2257af33b381128
Author: Matthew Waters <matthew at centricular.com>
Date:   Mon Apr 9 19:22:29 2018 +1000

    gnutls: fix assembly symbol names for windows x86

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list