On Sat, 27 Apr 2019 at 00:04, Laszlo Ersek <ler...@redhat.com> wrote:
>
> On 04/25/19 14:37, Liming Gao wrote:
> > Signed-off-by: Liming Gao <liming....@intel.com>
> > ---
> >  NetworkPkg/NetworkPkg.dsc | 4 +++-
> >  1 file changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/NetworkPkg/NetworkPkg.dsc b/NetworkPkg/NetworkPkg.dsc
> > index 66d43bec12..955e45e84d 100644
> > --- a/NetworkPkg/NetworkPkg.dsc
> > +++ b/NetworkPkg/NetworkPkg.dsc
> > @@ -55,6 +55,7 @@
> >    FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
> >    FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
> >    SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
> > +  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
>
> "MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf" seems to be
> ARM/AARCH64 only. Packages that are not inherently specific to
> ARM/AARCH64 include this library resolution only in the following sections:
>
> [LibraryClasses.ARM, LibraryClasses.AARCH64]
>
> But the above hunk, from NetworkPkg.dsc, seems to fall under
> [LibraryClasses]. I think that might break NetworkPkg.dsc builds on
> IA32/X64.
>
> >
> >  [LibraryClasses.common.UEFI_DRIVER]
> >    HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
> > @@ -72,6 +73,7 @@
> >    # [LibraryClasses.ARM] and NULL mean link this library into all ARM 
> > images.
> >    #
> >    NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
> > +  ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
> >
> >  [PcdsFeatureFlag]
> >    gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
>
> I'll let Ard & Leif comment on this.
>

Sigh.

The RNG code in OpenSSL uses a 'double' to record the current entropy
level, even though the value is in the range [0 .. 31] (IIRC).
Unfortunately, this does imply that any .DSC that incorporates TLS or
other crypto code for ARM needs this resolution to be included.


>
> > @@ -115,7 +117,7 @@
> >    NetworkPkg/Application/IpsecConfig/IpSecConfig.inf
> >    NetworkPkg/Application/VConfig/VConfig.inf
> >
> > -[Components.IA32, Components.X64]
> > +[Components.IA32, Components.X64, Components.ARM, Components.AARCH64]
> >    NetworkPkg/IpSecDxe/IpSecDxe.inf
> >    NetworkPkg/IScsiDxe/IScsiDxe.inf
> >    NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
> >
>
> Shouldn't we just merge this section into [Components] above?
>
> Or are these modules unsuitable for EBC?
>

(+ Mike)

This came up at the plugfest: is it really necessary to keep building
arbitrary modules using EBC? EBC is no longer mandatory, and the
compiler diagnostics of the other toolchains are much better than they
were 10+ years ago.

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#39671): https://edk2.groups.io/g/devel/message/39671
Mute This Topic: https://groups.io/mt/31341793/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to