[OE-core] [PATCH 1/2] grub: Enhance Waddress-of-packed-member patch to cover x86_64 testcase

Khem Raj raj.khem at gmail.com
Sun Mar 3 02:36:35 UTC 2019


On Sat, Mar 2, 2019 at 5:57 PM akuster808 <akuster808 at gmail.com> wrote:

>
>
> On 3/2/19 4:38 PM, Khem Raj wrote:
> > This was not compiled last time when testing aarch64
>
> The subject and body have conflicting archs.
> is it both?



That’s just for history since last time I tested it with
Aarch64/Gcc9 and now I got to test x86_64/gcc9
And saw that the patch was not taking care of additional test cases that
were getting built for x86

>
> - armin
> >
> > Signed-off-by: Khem Raj <raj.khem at gmail.com>
> > ---
> >  .../files/disable-address-of-packed-member.patch    | 13 +++++++++++++
> >  1 file changed, 13 insertions(+)
> >
> > diff --git
> a/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch
> b/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch
> > index 4af6a599d5..415f52ebe3 100644
> > --- a/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch
> > +++ b/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch
> > @@ -247,3 +247,16 @@ Signed-off-by: Khem Raj <raj.khem at gmail.com>
> >
> >   static grub_dl_t my_mod;
> >
> > +--- a/grub-core/commands/usbtest.c
> > ++++ b/grub-core/commands/usbtest.c
> > +@@ -63,6 +63,10 @@ static const char *usb_devspeed[] =
> > +     "High"
> > +   };
> > +
> > ++#if __GNUC__ >= 9
> > ++#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
> > ++#endif
> > ++
> > + static grub_usb_err_t
> > + grub_usb_get_string (grub_usb_device_t dev, grub_uint8_t index, int
> langid,
> > +                  char **string)
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190302/49ede3bb/attachment.html>


More information about the Openembedded-core mailing list