From: "Samer El-Haj-Mahmoud" <samer.el-haj-mahmoud@arm.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
"divneil.r.wadhawan@intel.com" <divneil.r.wadhawan@intel.com>,
"matthewfcarlson@gmail.com" <matthewfcarlson@gmail.com>
Cc: "Ni, Ray" <ray.ni@intel.com>,
gaoliming <gaoliming@byosoft.com.cn>,
'Andrew Fish' <afish@apple.com>,
"Justen, Jordan L" <jordan.l.justen@intel.com>,
"Kinney, Michael D" <michael.d.kinney@intel.com>,
Laszlo Ersek <lersek@redhat.com>,
"Yao, Jiewen" <jiewen.yao@intel.com>,
Ard Biesheuvel <Ard.Biesheuvel@arm.com>
Subject: Re: [PATCH] EmulatorPkg: Add RngLib to satisfy dependency of OpensslLib
Date: Wed, 23 Sep 2020 13:40:06 +0000 [thread overview]
Message-ID: <DB7PR08MB32606D31D9424AF73657607C90380@DB7PR08MB3260.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <DM6PR11MB4315FA7A40927A7F854D90E8CB3C0@DM6PR11MB4315.namprd11.prod.outlook.com>
Divneil,
Thanks for this patch.
However, it looks like multiple edk2-platforms are broken because of the OpensslLib change. I verified at least the following are broken:
- RaspberryPi/RPi3
- RaspberryPi/RPi4
- Qemu/SbsaQemu
- Socionext/DeveloperBox
- SolidRun/Armada80x0McBin
- Hisilicon/D0*
Etc.. Others are probably impacted. A quick search across edk2 and edk2-platform shows openssllib used in 26 DSC files, but RngLib is implicitly used in only 13 of them.
Mathew,
I think the offending commit (b5701a4c7a0fb185e0c5b9db9525939c78664bfd) needs to be reverted, and re-submitted with a series that fixes the build for all impacted platforms.
Also, what would it take to add the Azure pipeline CI that is currently used in edk2 to edk2-platform? I imagine some platform maintainers would appreciate that capability. Or should every platform look for their own CI/CD (possibly outside TianoCore)?
Thanks,
--Samer
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Wadhawan, Divneil R via groups.io
Sent: Saturday, September 19, 2020 1:39 AM
To: devel@edk2.groups.io
Cc: Ni, Ray <ray.ni@intel.com>; gaoliming <gaoliming@byosoft.com.cn>; 'Andrew Fish' <afish@apple.com>; Justen, Jordan L <jordan.l.justen@intel.com>; Kinney, Michael D <michael.d.kinney@intel.com>; Wadhawan, Divneil R <divneil.r.wadhawan@intel.com>
Subject: [edk2-devel] [PATCH] EmulatorPkg: Add RngLib to satisfy dependency of OpensslLib
o Recently, OpensslLib [LibraryClasses] has been changed
to include RngLib which causes the SECURE_BOOT_ENABLE
build to fail in want of RngLib
o This patch adds the RngLib for OpensslLib
Signed-off-by: Divneil Rai Wadhawan <mailto:divneil.r.wadhawan@intel.com>
---
EmulatorPkg/EmulatorPkg.dsc | 1 +
1 file changed, 1 insertion(+)
diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc
index c6e25c745e..a27cb1beb0 100644
--- a/EmulatorPkg/EmulatorPkg.dsc
+++ b/EmulatorPkg/EmulatorPkg.dsc
@@ -113,6 +113,7 @@
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
!if $(SECURE_BOOT_ENABLE) == TRUE
+ RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
--
2.16.2.windows.1
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
next prev parent reply other threads:[~2020-09-23 13:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-19 5:38 [PATCH] EmulatorPkg: Add RngLib to satisfy dependency of OpensslLib Wadhawan, Divneil R
2020-09-19 19:40 ` [edk2-devel] " Matthew Carlson
2020-09-23 13:40 ` Samer El-Haj-Mahmoud [this message]
2020-09-23 21:02 ` Matthew Carlson
2020-09-24 22:23 ` [edk2-devel] " Sean
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DB7PR08MB32606D31D9424AF73657607C90380@DB7PR08MB3260.eurprd08.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox