From patchwork Tue Jan 16 08:01:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 124614 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp930563lje; Tue, 16 Jan 2018 00:01:56 -0800 (PST) X-Google-Smtp-Source: ACJfBovnOz59XWQrXOMSzcTSfZovYjobRvyYrL9ACvGlooFPXeNQCAM5cTHwDrUfnS5sNI2raGdp X-Received: by 10.101.101.68 with SMTP id a4mr5032635pgw.368.1516089716651; Tue, 16 Jan 2018 00:01:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516089716; cv=none; d=google.com; s=arc-20160816; b=jaNRYspFAN1yI1vRMvIlnNYDL2zHs48l7lGiJW7mw0CGTU0dpzPL0KQXFe427OGxrD +Dq4LmEjIL0j0Kcy4vgtq1gsvFI51GVuYuquk1GiU9HRbkVuD8Fbef4VRqxEwNuleQF+ C5luad8wiJnSjQZCAqrmzRbwPjKxjm7LpXwdH4DLXM0fGj++4KSp0D6lAiZONCCr7b4L uIq04ntYQH8jrNVsP5W+INYQi5x+nDi8qGelgJyK7xm2vNIh85VnVJXbJehbarWOlN8s MRj7ehOKapE6VF9wnIyQIQMjs16MNr2yLEO0AwzbPDHrf5G2eOtXP1kNTKyBDg8+tcLz EJgg== 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=9eUh9YtvSV9z0qXJzNu+4/By2K1LXMSgyv+EqriiPNo=; b=coUNHAZz1Oh7E3IlZljOPixkwmt+iq39XNoVMkFtXZJzaHnwnn9YzS8+hQiMlNQ7Cp E3aDEimrM+9FAsYiLZvnUAVEAqTMTEDHOPTMh3ytCoXeGE8NC+mZypvvGDPN3OorLkBV gXitt0Lf4mR88ocW6BEVFX5ENcC5v88z/sFwh9Kn9GqIZH1JAUJnpIDFz9RKAHsVMBkQ Ih7bc+N9Df+/wLKM+beVySKPhef77mt03zYXLO76US28pIsSTKIwtobg1f95scT5Nxjj yR427ouiy5VkzVAuzh6l5JTzm+7dkZnBQILlChAmT8LzFTCwJUYcjP4SZvm090PO45SO 7kZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=NbC3E7nO; 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 e1si1470421pli.207.2018.01.16.00.01.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jan 2018 00:01:56 -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=NbC3E7nO; 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 0D47B221F93D6; Mon, 15 Jan 2018 23:56:37 -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=2607:f8b0:400e:c00::243; helo=mail-pf0-x243.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::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 63CD7221F93C0 for ; Mon, 15 Jan 2018 23:56:34 -0800 (PST) Received: by mail-pf0-x243.google.com with SMTP id y26so1685078pfi.10 for ; Tue, 16 Jan 2018 00:01:54 -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=v4HSxvhvxZATx5KXdG1sWrNTl5jxh30HL2L53mZ/G40=; b=NbC3E7nOOnI3LkPlV7b8fAyvcu90IESPz03iqU+k5cRCCGDWARXje7cPoHthPrWohC ndQSOmdPJiuuFBbKHqnRrP3rs9N2vor/dcN10FWkCATVz1eNv01utZSA0PCLWOUoiuwM q3Y5TRxMDvCSv/RVt+rnr2ROrDm8yq6pfgtos= 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=v4HSxvhvxZATx5KXdG1sWrNTl5jxh30HL2L53mZ/G40=; b=BWFXfxkMsAvZOuWD1YFIftm8NDJrk0AQHK2tb/DurxnofMT2BnSqfxIkfHsuYtIbQc 8qD54+v2yMPuOh8QhDp722dyjeSovAiOVSx/+4Hv5pyqEQrlGmfOGJvOTX6Hd/i9RYcC QFAOG2WnCztr/7kGYeeFcGpzwhokx8lMKKTEB3mQerESaYYl5yXN321Zd/YwgkiMUp/c rGL0clINF0HXUWUW6QtLp+XYL71KBhInRjQXmTzIUBXIRPTasdOSA6rMzHy/YA9Zh1Ve XEuyK2SIDU4c7xCpEM0LSpnTCVQ+TYxlEQbejZltCdmrgt+9oD2sNG9pJJz2tZwSE0oM KcuQ== X-Gm-Message-State: AKGB3mKigBNLpPDKpl7HR10QRZopzQgIo+8/z/goIyXdatCMI5wtoXPn ArAaXYbtwN9nn3RuBBTX02W4Yzug/m4= X-Received: by 10.98.224.3 with SMTP id f3mr25326595pfh.205.1516089713437; Tue, 16 Jan 2018 00:01:53 -0800 (PST) Received: from localhost.localdomain ([104.237.91.79]) by smtp.gmail.com with ESMTPSA id m25sm2612973pfk.37.2018.01.16.00.01.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Jan 2018 00:01:52 -0800 (PST) From: Heyi Guo To: edk2-devel@lists.01.org Date: Tue, 16 Jan 2018 16:01:33 +0800 Message-Id: <1516089693-112214-1-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH] CryptoPkg/OpensslLib: ignore uninitialized warning 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: Ting Ye , Heyi Guo , Ard Biesheuvel , Qin Long MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" We also got maybe-uninitialized warning when building OpensslLib.inf with GCC48 for ARM and AARCH64, so add -Wno-error=maybe-uninitialized build option just as other platforms. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Cc: Qin Long Cc: Ting Ye Cc: Ard Biesheuvel --- CryptoPkg/Library/OpensslLib/OpensslLib.inf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Long Qin Signed-off-by: Heyi Guo diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf b/CryptoPkg/Library/OpensslLib/OpensslLib.inf index 10021f8..55a6fa3 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf @@ -559,8 +559,8 @@ GCC:*_*_IA32_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized GCC:*_*_X64_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-error=format -Wno-format -DNO_MSABI_VA_FUNCS GCC:*_*_IPF_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-format - GCC:*_*_ARM_CC_FLAGS = $(OPENSSL_FLAGS) - GCC:*_*_AARCH64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-format + GCC:*_*_ARM_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized + GCC:*_*_AARCH64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-format # suppress the following warnings in openssl so we don't break the build with warnings-as-errors: # 1295: Deprecated declaration - give arg types