From patchwork Fri Jan 19 16:22:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 125193 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp363878ljf; Fri, 19 Jan 2018 08:22:23 -0800 (PST) X-Google-Smtp-Source: ACJfBot3Ox6KtBJZSftEAcPGsE9fRTdbE8Vayp+j6xjy4Yytj+intOuN6eZ2EK2FQb9Ai3DKKNT7 X-Received: by 10.101.64.196 with SMTP id u4mr7638037pgp.336.1516378943287; Fri, 19 Jan 2018 08:22:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516378943; cv=none; d=google.com; s=arc-20160816; b=sslQglxkoQA2cfQRAEjQb63YHHavBvT7hBhhqi1LpzMpEGSFeLrjLGgv6qI5FEu+Uq 4thoFLDYHrm62ZkOTUjIzA4Z65dqpCr8hFSsLXAKAtL3ZhFFEZBS5k1g8yM7ljBM8YD9 axsq1VCQmsmAFNm4PRJPMbbqzxHcofIoBkZ3PDvuXLAupnBSUadDGrZk45OQ2fYwCDMF CjDHSoYOQGi9PaSAZh+UvMTqYXlUVSqz4uKmNSjKwg9QZj/bQEmCfzYI1bymrHue0Xr/ FbmAz1v3lOAlPwHWmLMANJjKwEJkuPo5aFVisM+LljA5YhmviTdZZdps5QGkjw86JySd oFEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=e424QQUjme7c7/ZsVNDueGnTGeiL0KgudZxQnM41quQ=; b=Fl9IrdTUK+RQHo85W+wNIZ5G2y6aFTsohx+8gnatWtxHs1KSToqytREl3n4iCXY8dg 75gUqsG2wrBC6v0XOF26NFkFtunO4fJsYtph2tEdp/nekIIFZI9+84UAUnosar8gSq0Q CZGaY9Q79p6TduuXhFly+lDD5J2VnW7nffq9AO5rWMWYj0nJ5uKH+rUPav7V1//dhqtY K6scz39jj6d6ngsoNorhhV/ESYayfGzBj/V1l2stC4AByAxkD5CZA5UIdtX5KlcyFh/8 RDMNkRfdJ1+Yuq0gpuZ+exHyCLlb9jxbiAfke9+xnATLhYOilsREExMQx/r7pUGC6mjh OFvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QDfBY1F2; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id a19si9319385pfi.52.2018.01.19.08.22.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jan 2018 08:22:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QDfBY1F2; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.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 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) 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-Received: by 10.28.58.208 with SMTP id h199mr4990642wma.79.1516378937604; Fri, 19 Jan 2018 08:22:17 -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) 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 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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=maybe-uninitialized'; did you mean '-Werror=uninitialized'? [-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 --- BaseTools/Conf/tools_def.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Liming Gao diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template 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 = DEF(GCC5_AARCH64_DLINK_FLAGS) -flto -Os -L$(W DEFINE CLANG35_ARM_TARGET = -target arm-linux-gnueabihf DEFINE CLANG35_AARCH64_TARGET = -target aarch64-linux-gnu -DEFINE CLANG35_WARNING_OVERRIDES = -Wno-parentheses-equality -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare -Wno-empty-body +DEFINE CLANG35_WARNING_OVERRIDES = -Wno-parentheses-equality -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare -Wno-empty-body -Wno-unknown-warning-option DEFINE CLANG35_ARM_CC_FLAGS = DEF(GCC_ARM_CC_FLAGS) DEF(CLANG35_ARM_TARGET) DEF(CLANG35_WARNING_OVERRIDES) DEFINE CLANG35_AARCH64_CC_FLAGS = DEF(GCC_AARCH64_CC_FLAGS) DEF(CLANG35_AARCH64_TARGET) -mcmodel=small DEF(CLANG35_WARNING_OVERRIDES)