Re: [edk2] [PATCH] BaseTools/tools_def XCODE5: Add -Wno-varargs

2017-12-28 Thread Alex James
Disregard this patch if Zenith432's patch to fix this bug is accepted. On Thu, Dec 28, 2017 at 12:04 PM Alex James <theracermas...@gmail.com> wrote: > Commit 47bfbd7f8069e523798ef973c8eb0abd5c6b0746 ("BaseTools/Conf: > Support LLVM39 and LLVM40 in CLANG38 toolchain&quo

[edk2] [PATCH] BaseTools/PcdValueCommon: Fix PcdDataTypeUint64 format string

2017-12-28 Thread Alex James
Always specify unsigned long long for PcdDataTypeUint64. This is needed to fix building with XCODE5. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Alex James <theracermas...@gmail.com> --- BaseTools/Source/C/Common/PcdValueCommon.c | 4 1 file changed, 4 del

[edk2] [PATCH] BaseTools/tools_def XCODE5: Add -Wno-varargs

2017-12-28 Thread Alex James
nocore.org/show_bug.cgi?id=741. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Alex James <theracermas...@gmail.com> --- BaseTools/Conf/tools_def.template | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/BaseTools/Conf/tools_def.template

Re: [edk2] [PATCH] BaseTools/PcdValueCommon: Fix PcdDataTypeUint64 format string

2017-12-28 Thread Alex James
ing > > -Original Message- > > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Alex James > > Sent: Friday, December 29, 2017 4:00 AM > > To: edk2-devel@lists.01.org > > Cc: Alex James <theracermas...@gmail.com> > > Subject:

[edk2] [PATCH v2] BaseTools/PcdValueCommon: Fix build with XCODE5

2017-12-28 Thread Alex James
Use the correct UINT64 format specifier when building on macOS. This is needed to fix building with XCODE5. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Alex James <theracermas...@gmail.com> --- Notes: v2: - Change ifdef to fix GCC build failure [

[edk2] [PATCH v1] CorebootPayloadPkg: Conditionally add DebugAgentLib for DXE drivers

2018-03-26 Thread Alex James
d-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Alex James <theracermas...@gmail.com> --- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc| 3 +++ CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/CorebootPayloadPkg/Coreb

[edk2] [PATCH v1] BaseTools: Remove sitecustomize module

2018-10-13 Thread Alex James
-off-by: Alex James --- BaseTools/Source/Python/sitecustomize.py | 21 1 file changed, 21 deletions(-) diff --git a/BaseTools/Source/Python/sitecustomize.py b/BaseTools/Source/Python/sitecustomize.py deleted file mode 100644 index 3afa90700e..00 --- a/BaseTools/Source

[edk2] [PATCH v1 2/2] StdLib/Environs: Avoid infinite recursion in _Exit

2018-12-17 Thread Alex James
Use __builtin_unreachable instead of infinite recursion to fix an infinite recursion error when building StdLib with XCODE5/CLANG38. Cc: Daryl McDaniel Cc: Jaben Carsey Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Alex James --- StdLib/LibC/StdLib/Environs.c | 2

[edk2] [PATCH v1 1/2] StdLib/sys/termios: Define cc_t as unsigned

2018-12-17 Thread Alex James
Agreement 1.1 Signed-off-by: Alex James --- StdLib/Include/sys/termios.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StdLib/Include/sys/termios.h b/StdLib/Include/sys/termios.h index 75886065b7..f2d60d0025 100644 --- a/StdLib/Include/sys/termios.h +++ b/StdLib/Include/sys

[edk2] [PATCH v1 0/2] Fix StdLib compilation with XCODE5/CLANG38

2018-12-17 Thread Alex James
Resolve various compilation errors when building StdLib with XCODE5 or CLANG38 toolchains. Alex James (2): StdLib/sys/termios: Define cc_t as unsigned StdLib/Environs: Avoid infinite recursion in _Exit StdLib/Include/sys/termios.h | 2 +- StdLib/LibC/StdLib/Environs.c | 2 +- 2 files