All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] fix gcc9 build with -Werror=address-of-packed-member
@ 2019-04-09 10:46 Michael Chang
  2019-04-09 10:46 ` [PATCH 1/8] cpio: fix gcc9 error address-of-packed-member Michael Chang
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Michael Chang @ 2019-04-09 10:46 UTC (permalink / raw)
  To: grub-devel

This patch set attempts to resolve the build failure in openSUSE build
service equipped with new gcc 9 compiler, which has added a new warning
flag -Waddress-of-packed-member. 

The new warning performs the check for taking the address of packed
member directly to a pointer variable with higher alignment requirement
and the outcome is risky to memory alignment fault on some architecture
when deferencing it.

Please help to review.

Thanks.

Michael Chang (8):
  cpio: fix gcc9 error address-of-packed-member
  jfs: fix gcc9 error address-of-packed-member
  hfs: fix gcc9 error address-of-packed-member
  hfsplus: fix gcc9 error address-of-packed-member
  acpi: fix gcc9 error address-of-packed-member
  usbtest: fix gcc9 error address-of-packed-member
  chainloader: fix gcc9 error address-of-packed-member
  efi: fix gcc9 error address-of-packed-member

 grub-core/commands/usbtest.c       | 13 ++++++++-
 grub-core/fs/cpio.c                |  5 ++--
 grub-core/fs/cpio_be.c             |  5 ++--
 grub-core/fs/hfsplus.c             | 57 ++++++++++++++++++++++++++------------
 grub-core/fs/jfs.c                 |  5 ++--
 grub-core/kern/efi/efi.c           | 27 ++++++++++++++++--
 grub-core/loader/efi/chainloader.c | 12 ++++++--
 include/grub/acpi.h                |  2 +-
 include/grub/hfs.h                 |  2 +-
 9 files changed, 96 insertions(+), 32 deletions(-)

-- 
2.16.4



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-04-10  4:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-09 10:46 [PATCH 0/8] fix gcc9 build with -Werror=address-of-packed-member Michael Chang
2019-04-09 10:46 ` [PATCH 1/8] cpio: fix gcc9 error address-of-packed-member Michael Chang
2019-04-09 10:46 ` [PATCH 2/8] jfs: " Michael Chang
2019-04-09 10:46 ` [PATCH 3/8] hfs: " Michael Chang
2019-04-09 10:46 ` [PATCH 4/8] hfsplus: " Michael Chang
2019-04-09 10:46 ` [PATCH 5/8] acpi: " Michael Chang
2019-04-09 10:46 ` [PATCH 6/8] usbtest: " Michael Chang
2019-04-09 10:46 ` [PATCH 7/8] chainloader: " Michael Chang
2019-04-09 10:46 ` [PATCH 8/8] efi: " Michael Chang
2019-04-09 10:57 ` [PATCH 0/8] fix gcc9 build with -Werror=address-of-packed-member Vladimir 'phcoder' Serbinenko
2019-04-09 11:39   ` Michael Chang
2019-04-09 12:15     ` Vladimir 'phcoder' Serbinenko
2019-04-10  4:41       ` Michael Chang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.