public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* MdeModulePkg fails to build with latest clang 14
@ 2022-02-21 16:28 Ross Burton
  2022-02-22  1:55 ` 回复: [edk2-devel] " gaoliming
  0 siblings, 1 reply; 3+ messages in thread
From: Ross Burton @ 2022-02-21 16:28 UTC (permalink / raw)
  To: devel

When building edk2 202111 with clang 14 I get the following errors:

edk2/MdeModulePkg/Include/Guid/ExtendedFirmwarePerformance.h:78:47: error: field Guid within 'FPDT_GUID_EVENT_RECORD' is less aligned than 'EFI_GUID' (aka 'GUID') and is usually due to 'FPDT_GUID_EVENT_RECORD' being packed, which can lead to unaligned accesses [-Werror,-Wunaligned-access]
  EFI_GUID                                    Guid;
                                              ^
edk2/MdeModulePkg/Include/Guid/ExtendedFirmwarePerformance.h:173:47: error: field Guid within 'FPDT_GUID_QWORD_EVENT_RECORD' is less aligned than 'EFI_GUID' (aka 'GUID') and is usually due to 'FPDT_GUID_QWORD_EVENT_RECORD' being packed, which can lead to unaligned accesses [-Werror,-Wunaligned-access]
  EFI_GUID                                    Guid;
                                              ^
edk2/MdeModulePkg/Include/Guid/ExtendedFirmwarePerformance.h:105:47: error: field Guid within 'FPDT_DYNAMIC_STRING_EVENT_RECORD' is less aligned than 'EFI_GUID' (aka 'GUID') and is usually due to 'FPDT_DYNAMIC_STRING_EVENT_RECORD' being packed, which can lead to unaligned accesses [-Werror,-Wunaligned-access]
  EFI_GUID                                    Guid;
                                              ^

Has this been fixed in master?

Ross

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

end of thread, other threads:[~2022-02-22 10:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-21 16:28 MdeModulePkg fails to build with latest clang 14 Ross Burton
2022-02-22  1:55 ` 回复: [edk2-devel] " gaoliming
2022-02-22 10:15   ` Ross Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox