[edk2-devel] [PATCH 1/1] Ext4Pkg: Fix broken stack protector-enabled builds

Pedro Falcato pedro.falcato at gmail.com
Fri Sep 16 10:00:32 UTC 2022


Pushed as e55f0527dde48a5f139c1b8f35acc4e6b59dd794.

On Fri, Sep 16, 2022 at 7:51 AM Marvin Häuser <mhaeuser at posteo.de> wrote:

> Reviewed-by: Marvin Häuser <mhaeuser at posteo.de>
>
> > On 16. Sep 2022, at 01:06, Pedro Falcato <pedro.falcato at gmail.com>
> wrote:
> >
> > As reported by Rebecca Cran, there was some build breakage when
> > compiling with stack-protector-on-by-default toolchains. Adding the
> > proper library to the DSC should fix it.
> >
> > Cc: Rebecca Cran <rebecca at quicinc.com>
> > Cc: Marvin Häuser <mhaeuser at posteo.de>
> > Signed-off-by: Pedro Falcato <pedro.falcato at gmail.com>
> > ---
> > Features/Ext4Pkg/Ext4Pkg.dsc | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/Features/Ext4Pkg/Ext4Pkg.dsc b/Features/Ext4Pkg/Ext4Pkg.dsc
> > index 57f279a4d918..59bc327ebf6e 100644
> > --- a/Features/Ext4Pkg/Ext4Pkg.dsc
> > +++ b/Features/Ext4Pkg/Ext4Pkg.dsc
> > @@ -46,6 +46,11 @@
> >   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
> >
>  OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
> >   BaseUcs2Utf8Lib|RedfishPkg/Library/BaseUcs2Utf8Lib/BaseUcs2Utf8Lib.inf
> > +
> > +  #
> > +  # Required for stack protector support
> > +  #
> > +  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
> >
> >
> ###################################################################################################
> > #
> > --
> > 2.37.3
> >
>
>

-- 
Pedro Falcato


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#93906): https://edk2.groups.io/g/devel/message/93906
Mute This Topic: https://groups.io/mt/93712188/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20220916/9a2db0c1/attachment.htm>


More information about the edk2-devel-archive mailing list