Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-93168

UEFI build fails on duplicate function definition

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • openssl-3.5.0-4.el10
    • No
    • Low
    • 2
    • rhel-security-crypto-diamonds
    • ssg_security
    • 19
    • 26
    • 0.2
    • QE ack, Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • Crypto25Q2, Crypto25-08
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      When building openssl 3.5 in edk2 I get these two errors:

      /usr/bin/ld: /tmp/cczTXw3M.ltrans2.ltrans.o:(*IND*+0x0): multiple definition of `EVP_MD_CTX_dup'; /tmp/cczTXw3M.ltrans2.ltrans.o:/home/lleonard/rpmbuild/BUILD/edk2-20250221-build/edk2-fbe0805b2091/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/digest.c:581: first defined here
      
      /usr/bin/ld: /tmp/cczTXw3M.ltrans2.ltrans.o:(*IND*+0x0): multiple definition of `EVP_CIPHER_CTX_dup'; /tmp/cczTXw3M.ltrans2.ltrans.o:/home/lleonard/rpmbuild/BUILD/edk2-20250221-build/edk2-fbe0805b2091/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/evp_enc.c:1771: first defined here
      

      IIUC this should not be something totally new, in the code I see that some function definitions check if OPENSSL_SYS_UEFI is defined.

              dbelyavs@redhat.com Dmitry Belyavskiy
              rh-ee-lleonard Luigi Leonardi
              Dmitry Belyavskiy Dmitry Belyavskiy
              Georgios Stavros Pantelakis Georgios Stavros Pantelakis
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: