Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 80fd66aef9ba7275380935622d5558cb2c6488e5
      
https://github.com/tianocore/edk2/commit/80fd66aef9ba7275380935622d5558cb2c6488e5
  Author: Aaron Pop <[email protected]>
  Date:   2026-05-23 (Sat, 23 May 2026)

  Changed paths:
    M BaseTools/Conf/tools_def.template

  Log Message:
  -----------
  BaseTools/Conf: Add -malign-double to IA32 ASLCC flags

When compiling an IA32 .aslc source file that includes Base.h, the GCC
static asserts for fundamental type sizes fail because 64-bit types such
as UINT64 are only 4-byte aligned by default in 32-bit mode. Adding
-malign-double causes the compiler to align 64-bit values on 8-byte
boundaries, matching the alignment assumed by the static asserts.

This fix is applied to the GCC, GCCNOLTO, CLANGPDB, and CLANGDWARF
toolchain IA32 ASLCC_FLAGS entries.

REF: #12517

Signed-off-by: Aaron Pop <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to