From nobody Fri May 3 04:45:18 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 1516378943720856.1897120938152; Fri, 19 Jan 2018 08:22:23 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 7B08B2035D32E; Fri, 19 Jan 2018 08:16:59 -0800 (PST) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (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 1BA6C22344357 for ; Fri, 19 Jan 2018 08:16:56 -0800 (PST) Received: by mail-wm0-x243.google.com with SMTP id b21so4647397wme.4 for ; Fri, 19 Jan 2018 08:22:19 -0800 (PST) Received: from localhost.localdomain ([160.170.62.40]) by smtp.gmail.com with ESMTPSA id n74sm5478708wmi.1.2018.01.19.08.22.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jan 2018 08:22:15 -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=2a00:1450:400c:c09::243; helo=mail-wm0-x243.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=DyScjGmVywUzSiu2UZUJnj8oLxaNjh18cjyoCW2e5Sw=; b=QDfBY1F2zEU6NiyD7bHzBvbym/007nsP8lk+EIjC8YqwlBHLNhOArZBhsCKekSeUPy AB6FuyE5Ehcz07m4ePJOgktBE2xAV/TBEbmF2cf+2IV7MmiaTSsgoc0yxVKIaLyN7A7q yn022Jouyo0w/hZY63hZMJg0gp5798sp9QUVM= 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=DyScjGmVywUzSiu2UZUJnj8oLxaNjh18cjyoCW2e5Sw=; b=Jfb2Q0lvY9muXjagu2FkWC5++BxmIjaVVssyzfJ0G68u9y7L3BADJAsPErxfTRnoeK 3ZiwECyAJHJmSD4cgBkyKl78MktufJtPkO4Mqt15ODXN6t16p4ii6xTR7rRt/zx0R+OG 7XNNFTH+ik1INGIoDjp5afGvpaHfZEa6BQyT1WcOQGtdh2jECfZ5Wj7qnaZiikoJnRfp oV3OaZTWivokKMB2o8mL8nAcnQGgbe4UGneu5UtpY7rAhHyPXwuo0i57DwTo/uB2y5EX CHmis68TDEu0tH6MT4P/wNUKspsoMsKLZDy1C9IW/otC600FDrC+k/4KQT8uNk+IzH7B t9yg== X-Gm-Message-State: AKwxyteM8QyfrS1hiOs2tqS6umHo9t62gfc6TXCLSfSkprXhz/vvS4E7 DYHaWzhul9aC5uxANhxdDJSO13HRd9s= X-Google-Smtp-Source: ACJfBot45A5uV66axzQV9JJbuVc4xr2uPKFuXU/GXdN7mSrRDa+WFUT/jmIkLH4Y/EI0gYukrh8TSQ== X-Received: by 10.28.58.208 with SMTP id h199mr4990642wma.79.1516378937604; Fri, 19 Jan 2018 08:22:17 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Fri, 19 Jan 2018 16:22:07 +0000 Message-Id: <20180119162207.13207-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [edk2] [PATCH] BaseTools/tools_def CLANG35: ignore unknown warning options 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: Ard Biesheuvel , liming.gao@intel.com, leif.lindholm@linaro.org 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" Ironically, disabling warnings in the OpensslLib library build is causing breakage when using the CLANG35 toolchain to build for ARM: error: unknown warning option '-Werror=3Dmaybe-uninitialized'; did you mean= '-Werror=3Duninitialized'? [-Werror,-Wunknown-warning-option] So let's add -Wno-unknown-warning-option to the list of warning to ignore when using Clang 3.5 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Reviewed-by: Liming Gao --- BaseTools/Conf/tools_def.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.t= emplate index d8fde02ea351..6afe5ebe9fe3 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -5595,7 +5595,7 @@ RELEASE_GCC5_AARCH64_DLINK_FLAGS =3D DEF(GCC5_AARCH64= _DLINK_FLAGS) -flto -Os -L$(W DEFINE CLANG35_ARM_TARGET =3D -target arm-linux-gnueabihf DEFINE CLANG35_AARCH64_TARGET =3D -target aarch64-linux-gnu =20 -DEFINE CLANG35_WARNING_OVERRIDES =3D -Wno-parentheses-equality -Wno-tautol= ogical-compare -Wno-tautological-constant-out-of-range-compare -Wno-empty-b= ody +DEFINE CLANG35_WARNING_OVERRIDES =3D -Wno-parentheses-equality -Wno-tautol= ogical-compare -Wno-tautological-constant-out-of-range-compare -Wno-empty-b= ody -Wno-unknown-warning-option DEFINE CLANG35_ARM_CC_FLAGS =3D DEF(GCC_ARM_CC_FLAGS) DEF(CLANG35_ARM= _TARGET) DEF(CLANG35_WARNING_OVERRIDES) DEFINE CLANG35_AARCH64_CC_FLAGS =3D DEF(GCC_AARCH64_CC_FLAGS) DEF(CLANG35= _AARCH64_TARGET) -mcmodel=3Dsmall DEF(CLANG35_WARNING_OVERRIDES) =20 --=20 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel