[edk2] [Patch 0/4] Fix Xcode 9 Beta treating 32-bit left shift as undefined behavior

Yonghong Zhu posted 4 patches 7 years, 4 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
BaseTools/Source/C/Common/Decompress.c                                | 4 ++--
BaseTools/Source/C/TianoCompress/TianoCompress.c                      | 4 ++--
DuetPkg/EfiLdr/TianoDecompress.c                                      | 4 ++--
.../BaseUefiTianoCustomDecompressLib.c                                | 4 ++--
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c          | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
[edk2] [Patch 0/4] Fix Xcode 9 Beta treating 32-bit left shift as undefined behavior
Posted by Yonghong Zhu 7 years, 4 months ago
Bug: https://bugzilla.tianocore.org/show_bug.cgi?id=635

Yonghong Zhu (4):
  BaseTools: Fix Xcode 9 Beta treating 32-bit left shift as undefined
  DuetPkg: Fix Xcode 9 Beta treating 32-bit left shift as undefined
  IntelFrameworkModulePkg: Fix Xcode 9 Beta treating 32-bit left shift
    as undefined
  MdePkg: Fix Xcode 9 Beta treating 32-bit left shift as undefined

 BaseTools/Source/C/Common/Decompress.c                                | 4 ++--
 BaseTools/Source/C/TianoCompress/TianoCompress.c                      | 4 ++--
 DuetPkg/EfiLdr/TianoDecompress.c                                      | 4 ++--
 .../BaseUefiTianoCustomDecompressLib.c                                | 4 ++--
 MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c          | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

-- 
2.6.1.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [Patch 0/4] Fix Xcode 9 Beta treating 32-bit left shift as undefined behavior
Posted by Zhu, Yonghong 7 years, 4 months ago
After apply those patches, build MdeModulePkg by VS2015 toolchain failed.

BaseUefiDecompressLib.lib(BaseUefiDecompressLib.obj) : error LNK2001: unresolved
 external symbol __allshl
d:\git\edk2_bak\Build\MdeModule\DEBUG_VS2015x86\IA32\MdeModulePkg\Core\Dxe\DxeMa
in\DEBUG\DxeCore.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0
\Vc\bin\link.exe"' : return code '0x460'
Stop.

Best Regards,
Zhu Yonghong

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Yonghong Zhu
Sent: Wednesday, August 02, 2017 5:28 PM
To: edk2-devel@lists.01.org
Subject: [edk2] [Patch 0/4] Fix Xcode 9 Beta treating 32-bit left shift as undefined behavior

Bug: https://bugzilla.tianocore.org/show_bug.cgi?id=635

Yonghong Zhu (4):
  BaseTools: Fix Xcode 9 Beta treating 32-bit left shift as undefined
  DuetPkg: Fix Xcode 9 Beta treating 32-bit left shift as undefined
  IntelFrameworkModulePkg: Fix Xcode 9 Beta treating 32-bit left shift
    as undefined
  MdePkg: Fix Xcode 9 Beta treating 32-bit left shift as undefined

 BaseTools/Source/C/Common/Decompress.c                                | 4 ++--
 BaseTools/Source/C/TianoCompress/TianoCompress.c                      | 4 ++--
 DuetPkg/EfiLdr/TianoDecompress.c                                      | 4 ++--
 .../BaseUefiTianoCustomDecompressLib.c                                | 4 ++--
 MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c          | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

-- 
2.6.1.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel