Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 7ff0459739cd164592638fddfa2621a3b7c2ad2e
      
https://github.com/tianocore/edk2/commit/7ff0459739cd164592638fddfa2621a3b7c2ad2e
  Author: Pierre Gondois <[email protected]>
  Date:   2020-07-23 (Thu, 23 Jul 2020)

  Changed paths:
    M EmbeddedPkg/Universal/MmcDxe/Diagnostics.c
    M EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c

  Log Message:
  -----------
  EmbeddedPkg: Fix build error for MmcDxe

The following command line:
build -b NOOPT -a IA32 -t VS2017 -p edk2\EmbeddedPkg\EmbeddedPkg.dsc

Generates the following error:
MmcDxe.lib(Diagnostics.obj) : error LNK2001:
unresolved external symbol __allshl
MmcDxe.lib(Diagnostics.obj) : error LNK2001:
unresolved external symbol __aullshr
MmcDxe.lib(MmcBlockIo.obj) : error LNK2001:
unresolved external symbol __allmul

These erros are due to the use of shift/multiply operations
on UINT64 variable on a IA32 architecture.

Signed-off-by: Pierre Gondois <[email protected]>
Reviewed-by: Leif Lindholm <[email protected]>


  Commit: e43d0884ed93ffd8044e48e8d5d2d010a46aab33
      
https://github.com/tianocore/edk2/commit/e43d0884ed93ffd8044e48e8d5d2d010a46aab33
  Author: Leif Lindholm <[email protected]>
  Date:   2020-07-23 (Thu, 23 Jul 2020)

  Changed paths:
    M EmbeddedPkg/Library/AndroidBootImgLib/AndroidBootImgLib.c

  Log Message:
  -----------
  EmbeddedPkg: fix gcc build errors in AndroidBootImgLib

Commit dbd546a32d5a
("BaseTools: Add gcc flag to warn on void* pointer arithmetic")
does its work and triggers build errors in this library.
Update the affected code to build correctly again.

Cc: Pierre Gondois <[email protected]>
Cc: Laszlo Ersek <[email protected]>
Cc: Bob Feng<[email protected]>
Reported-by: Pierre Gondois <[email protected]>
Signed-off-by: Leif Lindholm <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/d0da48f112de...e43d0884ed93


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

Reply via email to