From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400c:c05::241; helo=mail-vk0-x241.google.com; envelope-from=alextjames1@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-vk0-x241.google.com (mail-vk0-x241.google.com [IPv6:2607:f8b0:400c:c05::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id AF73D2034B409 for ; Thu, 28 Dec 2017 14:34:48 -0800 (PST) Received: by mail-vk0-x241.google.com with SMTP id l63so17310723vke.5 for ; Thu, 28 Dec 2017 14:39:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=mg/33Q93reukWbiqF+Mg88wkbpxPNPJQcNMp8JAMAPQ=; b=UfnUw3BZxXc484VqI44T69TgfZOL4Gf/ku6Y0eky+EfcCAFzNs9NREc/rBr2v+/Yj+ xTXnHxoT7E3ag5MogtdKO9xzIqkS0PfHchjioQK6vCIJKk/2532UkKZ82xW+q+wKVd+q AIFT0S6u6idVA5P1PUZn8t2M9YUIgCct9ANPGHFb57kdLgXup8h3j9/GEfRNrkNCgWHU B2ESzTPIJk+SLXxMCGQ780z7E3r73ejzQmfJdwEIzn+qjC9fvDBGEAmFD9oN8DflGeut NIx5T4mUKgsgWSD/KtuqySDNZ6bETRbu4HJU7abeok8hlzGvQqJw8mhBRb0/vBj6Z5r9 E4Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=mg/33Q93reukWbiqF+Mg88wkbpxPNPJQcNMp8JAMAPQ=; b=MW4phwa0UB3OCilwlGU1hWqsDmunE8mH3PNeGBb920Ihxf8XU+hsl8V/yO2C8vPPQs 8UGHTGM7KnMJJZd7K3ALZ17URROLmjVEG9x4ghPjFGkwE00so20nSAc7ygNWKIRHLTYb akjzTcyxkE0m8GOCmrlSs25VdTC9UidzLTyn9wpbFa4a5xhtj9hAYtzyzA+hnQAoonHK lja8oacFcjDVLlTzBHeoRuIGeiOJwURnV2mIJGDzV4Wrterbn7O4NdychShQ2C1Q1UQX 5AnX5jfqX8WCCdb+EXYOktVDTuF3aElNFFM/G3T5RRxBNIaY/bOBldkJsMlNSdCe+EcP VJOg== X-Gm-Message-State: AKGB3mIB8W5zOFk3tcUFxCuSuhUgqI3UEe4Ll8A1x58sq9HF/VuLLSMu mzao51Eaqz4vHb9gVdZPAkdnTO+6Rc+e5UYMD8BReA== X-Google-Smtp-Source: ACJfBouUfleIOFiyEh5JDjfbrn3XlEqkUAtG47gvrvUp5Q+073XO5Dbc4Fs0GltG3y017NSxw2AYQ3zbVBjyvbC1zNM= X-Received: by 10.31.210.132 with SMTP id j126mr31231330vkg.111.1514500783914; Thu, 28 Dec 2017 14:39:43 -0800 (PST) MIME-Version: 1.0 References: <0e5378adc2462e9b072cb0117ea01a0fa5536cb1.1514483743.git.theracermaster@gmail.com> In-Reply-To: <0e5378adc2462e9b072cb0117ea01a0fa5536cb1.1514483743.git.theracermaster@gmail.com> From: Alex James Date: Thu, 28 Dec 2017 22:39:33 +0000 Message-ID: To: edk2-devel@lists.01.org X-Content-Filtered-By: Mailman/MimeDel 2.1.23 Subject: Re: [PATCH] BaseTools/tools_def XCODE5: Add -Wno-varargs X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Dec 2017 22:34:49 -0000 Content-Type: text/plain; charset="UTF-8" Disregard this patch if Zenith432's patch to fix this bug is accepted. On Thu, Dec 28, 2017 at 12:04 PM Alex James wrote: > Commit 47bfbd7f8069e523798ef973c8eb0abd5c6b0746 ("BaseTools/Conf: > Support LLVM39 and LLVM40 in CLANG38 toolchain") added -Wno-varargs to > suppress va_start errors when building MdePkg/UefiLib. Do the same for > the XCODE5 toolchain to fix building with Xcode 9 as per > https://bugzilla.tianocore.org/show_bug.cgi?id=741. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Alex James > --- > BaseTools/Conf/tools_def.template | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/BaseTools/Conf/tools_def.template > b/BaseTools/Conf/tools_def.template > index 98ab6dd45e..12278302b3 100755 > --- a/BaseTools/Conf/tools_def.template > +++ b/BaseTools/Conf/tools_def.template > @@ -7550,9 +7550,9 @@ RELEASE_XCODE5_IA32_ASM_FLAGS = -arch i386 > *_XCODE5_IA32_NASM_FLAGS = -f macho32 > > > - DEBUG_XCODE5_IA32_CC_FLAGS = -arch i386 -c -g -Os -Wall -Werror > -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin > -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float > -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces > -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare > -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang > $(PLATFORM_FLAGS) > -RELEASE_XCODE5_IA32_CC_FLAGS = -arch i386 -c -Os -Wall -Werror > -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin > -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float > -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces > -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare > -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang > $(PLATFORM_FLAGS) > - NOOPT_XCODE5_IA32_CC_FLAGS = -arch i386 -c -g -O0 -Wall -Werror > -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin > -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float > -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces > -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare > -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang > $(PLATFORM_FLAGS) > + DEBUG_XCODE5_IA32_CC_FLAGS = -arch i386 -c -g -Os -Wall -Werror > -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin > -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float > -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces > -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare > -Wno-varargs > -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang > $(PLATFORM_FLAGS) > +RELEASE_XCODE5_IA32_CC_FLAGS = -arch i386 -c -Os -Wall -Werror > -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin > -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float > -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces > -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare > -Wno-varargs > -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang > $(PLATFORM_FLAGS) > + NOOPT_XCODE5_IA32_CC_FLAGS = -arch i386 -c -g -O0 -Wall -Werror > -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin > -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float > -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces > -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare > -Wno-varargs > -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang > $(PLATFORM_FLAGS) > > ################## > # X64 definitions > @@ -7569,9 +7569,9 @@ RELEASE_XCODE5_X64_ASM_FLAGS = -arch x86_64 > *_XCODE5_*_PP_FLAGS = -E -x assembler-with-cpp -include > $(DEST_DIR_DEBUG)/AutoGen.h > *_XCODE5_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE -include > $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h > > - DEBUG_XCODE5_X64_CC_FLAGS = -target x86_64-pc-win32-macho -c -g -Os > -Wall -Werror -Wextra -include AutoGen.h -funsigned-char > -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar > -mno-implicit-float -mms-bitfields -Wno-unused-parameter > -Wno-missing-braces -Wno-missing-field-initializers > -Wno-tautological-compare -Wno-sign-compare > -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D > NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) > - NOOPT_XCODE5_X64_CC_FLAGS = -target x86_64-pc-win32-macho -c -g -O0 > -Wall -Werror -Wextra -include AutoGen.h -funsigned-char > -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar > -mno-implicit-float -mms-bitfields -Wno-unused-parameter > -Wno-missing-braces -Wno-missing-field-initializers > -Wno-tautological-compare -Wno-sign-compare > -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D > NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) > -RELEASE_XCODE5_X64_CC_FLAGS = -target x86_64-pc-win32-macho -c -Os > -Wall -Werror -Wextra -include AutoGen.h -funsigned-char > -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar > -mno-implicit-float -mms-bitfields -Wno-unused-parameter > -Wno-missing-braces -Wno-missing-field-initializers > -Wno-tautological-compare -Wno-sign-compare > -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D > NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) > + DEBUG_XCODE5_X64_CC_FLAGS = -target x86_64-pc-win32-macho -c -g -Os > -Wall -Werror -Wextra -include AutoGen.h -funsigned-char > -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar > -mno-implicit-float -mms-bitfields -Wno-unused-parameter > -Wno-missing-braces -Wno-missing-field-initializers > -Wno-tautological-compare -Wno-sign-compare -Wno-varargs > -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D > NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) > + NOOPT_XCODE5_X64_CC_FLAGS = -target x86_64-pc-win32-macho -c -g -O0 > -Wall -Werror -Wextra -include AutoGen.h -funsigned-char > -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar > -mno-implicit-float -mms-bitfields -Wno-unused-parameter > -Wno-missing-braces -Wno-missing-field-initializers > -Wno-tautological-compare -Wno-sign-compare -Wno-varargs > -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D > NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) > +RELEASE_XCODE5_X64_CC_FLAGS = -target x86_64-pc-win32-macho -c -Os > -Wall -Werror -Wextra -include AutoGen.h -funsigned-char > -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar > -mno-implicit-float -mms-bitfields -Wno-unused-parameter > -Wno-missing-braces -Wno-missing-field-initializers > -Wno-tautological-compare -Wno-sign-compare -Wno-varargs > -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D > NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) > > > #################################################################################### > # > -- > 2.15.1 > >