From nobody Mon Dec 23 18:47:42 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 15144937841431016.223613765917; Thu, 28 Dec 2017 12:43:04 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id EB9272035B2C5; Thu, 28 Dec 2017 12:38:03 -0800 (PST) Received: from mail-io0-x241.google.com (mail-io0-x241.google.com [IPv6:2607:f8b0:4001:c06::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 927C5221DB2AE for ; Thu, 28 Dec 2017 09:59:49 -0800 (PST) Received: by mail-io0-x241.google.com with SMTP id q188so14797634iod.1 for ; Thu, 28 Dec 2017 10:04:46 -0800 (PST) Received: from localhost.localdomain ([2601:249:502:61f3:9527:2763:b42c:a20a]) by smtp.gmail.com with ESMTPSA id q187sm1825718iod.52.2017.12.28.10.04.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Dec 2017 10:04:44 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4001:c06::241; helo=mail-io0-x241.google.com; envelope-from=theracermaster@gmail.com; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=IIyxvlNdJb+qHcNjutYocXiDUj0MZFr6neyK0L6ZQjM=; b=JodkzoHvRCW1hLMUGQP9IeGGrHx9z7yD1XiZU4e/aUttTuVLo2cPchAYyCAv7gKAdL fAtXhTJbYgR617rlLra6/dnudiFi1J/VG6Z9xTagRRlMtv5AH/PqDWcfHIO+ZRNp883R 9Hj1xk4x3CGs2BzN/Gppw4z19cD6haTU21fi0W7tgKsu1U1t6toV1bo/7QyRR1bHLv1y YSGJkbCptnC2m3xlBxSkAPcIRAtUuD2adCGGdq+Dee4YPODjbi+cESWaQqBjBXYwKuOK 71I/MZx+1W8Hqk1t1WOL5jet1VdrE2Q4tF8LhSY61CL17gKhvHpZuGNJgtjsTbB2LYnV DGsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=IIyxvlNdJb+qHcNjutYocXiDUj0MZFr6neyK0L6ZQjM=; b=dssPDonimYS3ZUWnPX6m5Zo8b3/BjARpSUQ3DVL5ynNtFMz0GBPgMzB9FpTfDrcRYQ 7MgcZznyW69rHCzqR8Le7p3XVu3GWw9/GUGiSEyIBSzZ49vFgDHLVRc7lElwgL9ZAY/g 6V+S/vTlTlXgyljwOnxRGpEWNLmNzxzgKg6yKpATMH0+0knwx06ctT9JbjHYH4+4gWNA Tr1n6JR3SNvsyR2oM4m6MitmUiPtMzr2uXiD0ZE3YViVDJZ5OAhI7TA9uorwFiQa4MSL pa40b0uNUWvqzzGMAStwQHQgwFWKEFaGQiCyjxH7gl3/owjHHxr0oRUA/g2S2N8sK18S WyJw== X-Gm-Message-State: AKGB3mJKuftJQzduFXe6x+iQRGz6r1OzgcDjjIyyrb9fU29V3Lp2BkEh ozCGFPG7lWBOVm+I3S1SlNWswyQ0 X-Google-Smtp-Source: ACJfBosllZuiyGN/mcfv+4AaCh4zZi+JjATs+WshazMFOBW2Pg6i0Hv6cuUNvfs+Yvu1o5zBT9fsMg== X-Received: by 10.107.134.155 with SMTP id q27mr34150828ioi.225.1514484285282; Thu, 28 Dec 2017 10:04:45 -0800 (PST) From: Alex James To: edk2-devel@lists.01.org Date: Thu, 28 Dec 2017 12:04:41 -0600 Message-Id: <0e5378adc2462e9b072cb0117ea01a0fa5536cb1.1514483743.git.theracermaster@gmail.com> X-Mailer: git-send-email 2.15.1 X-Mailman-Approved-At: Thu, 28 Dec 2017 12:38:03 -0800 Subject: [edk2] [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: , Cc: Alex James MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" 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=3D741. 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.t= emplate 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 =3D -arch i386 *_XCODE5_IA32_NASM_FLAGS =3D -f macho32 =20 =20 - DEBUG_XCODE5_IA32_CC_FLAGS =3D -arch i386 -c -g -Os -Wall -Werro= r -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fsh= ort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields = -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-i= nitializers -Wno-tautological-compare -Wno-sign-compare -ftrap-function=3Du= ndefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS) -RELEASE_XCODE5_IA32_CC_FLAGS =3D -arch i386 -c -Os -Wall -Werro= r -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fsh= ort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields = -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-i= nitializers -Wno-tautological-compare -Wno-sign-compare -ftrap-function=3Du= ndefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS) - NOOPT_XCODE5_IA32_CC_FLAGS =3D -arch i386 -c -g -O0 -Wall -Werro= r -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fsh= ort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields = -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-i= nitializers -Wno-tautological-compare -Wno-sign-compare -ftrap-function=3Du= ndefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS) + DEBUG_XCODE5_IA32_CC_FLAGS =3D -arch i386 -c -g -Os -Wall -Werro= r -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fsh= ort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields = -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-i= nitializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap= -function=3Dundefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_= FLAGS) +RELEASE_XCODE5_IA32_CC_FLAGS =3D -arch i386 -c -Os -Wall -Werro= r -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fsh= ort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields = -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-i= nitializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap= -function=3Dundefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_= FLAGS) + NOOPT_XCODE5_IA32_CC_FLAGS =3D -arch i386 -c -g -O0 -Wall -Werro= r -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fsh= ort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields = -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-i= nitializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap= -function=3Dundefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_= FLAGS) =20 ################## # X64 definitions @@ -7569,9 +7569,9 @@ RELEASE_XCODE5_X64_ASM_FLAGS =3D -arch x86_64 *_XCODE5_*_PP_FLAGS =3D -E -x assembler-with-cpp -include $(DEST_D= IR_DEBUG)/AutoGen.h=20 *_XCODE5_*_VFRPP_FLAGS =3D -x c -E -P -DVFRCOMPILE -include $(DEST_DI= R_DEBUG)/$(MODULE_NAME)StrDefs.h=20 =20 - DEBUG_XCODE5_X64_CC_FLAGS =3D -target x86_64-pc-win32-macho -c -g -Os = -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-exte= nsions -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= =3Dundefined_behavior_has_been_optimized_away_by_clang -D NO_MSABI_VA_FUNCS= $(PLATFORM_FLAGS) - NOOPT_XCODE5_X64_CC_FLAGS =3D -target x86_64-pc-win32-macho -c -g -O0 = -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-exte= nsions -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= =3Dundefined_behavior_has_been_optimized_away_by_clang -D NO_MSABI_VA_FUNCS= $(PLATFORM_FLAGS) -RELEASE_XCODE5_X64_CC_FLAGS =3D -target x86_64-pc-win32-macho -c -Os = -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-exte= nsions -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= =3Dundefined_behavior_has_been_optimized_away_by_clang -D NO_MSABI_VA_FUNCS= $(PLATFORM_FLAGS) + DEBUG_XCODE5_X64_CC_FLAGS =3D -target x86_64-pc-win32-macho -c -g -Os = -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-exte= nsions -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 -ftr= ap-function=3Dundefined_behavior_has_been_optimized_away_by_clang -D NO_MSA= BI_VA_FUNCS $(PLATFORM_FLAGS) + NOOPT_XCODE5_X64_CC_FLAGS =3D -target x86_64-pc-win32-macho -c -g -O0 = -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-exte= nsions -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 -ftr= ap-function=3Dundefined_behavior_has_been_optimized_away_by_clang -D NO_MSA= BI_VA_FUNCS $(PLATFORM_FLAGS) +RELEASE_XCODE5_X64_CC_FLAGS =3D -target x86_64-pc-win32-macho -c -Os = -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-exte= nsions -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 -ftr= ap-function=3Dundefined_behavior_has_been_optimized_away_by_clang -D NO_MSA= BI_VA_FUNCS $(PLATFORM_FLAGS) =20 ##########################################################################= ########## # --=20 2.15.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel