From nobody Mon Dec 23 14:22:22 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 151608971740292.46567925734826; Tue, 16 Jan 2018 00:01:57 -0800 (PST) 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) 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) 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) 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:400e:c00::243; helo=mail-pf0-x243.google.com; envelope-from=heyi.guo@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=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-Google-Smtp-Source: ACJfBovADRXzR5HMcw4HMA8sbNtPO4TVO+9L1ESwJXSTcV7hd0XZVYf53atCgpb9iUef5/IpoTcWZg== X-Received: by 10.98.224.3 with SMTP id f3mr25326595pfh.205.1516089713437; Tue, 16 Jan 2018 00:01:53 -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 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" We also got maybe-uninitialized warning when building OpensslLib.inf with GCC48 for ARM and AARCH64, so add -Wno-error=3Dmaybe-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 Reviewed-by: Long Qin --- CryptoPkg/Library/OpensslLib/OpensslLib.inf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf b/CryptoPkg/Librar= y/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 =3D -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -Wno-err= or=3Dmaybe-uninitialized GCC:*_*_X64_CC_FLAGS =3D -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -Wno-err= or=3Dmaybe-uninitialized -Wno-error=3Dformat -Wno-format -DNO_MSABI_VA_FUNCS GCC:*_*_IPF_CC_FLAGS =3D -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -Wno-err= or=3Dmaybe-uninitialized -Wno-format - GCC:*_*_ARM_CC_FLAGS =3D $(OPENSSL_FLAGS) - GCC:*_*_AARCH64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-format + GCC:*_*_ARM_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uniniti= alized + GCC:*_*_AARCH64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uniniti= alized -Wno-format =20 # suppress the following warnings in openssl so we don't break the build= with warnings-as-errors: # 1295: Deprecated declaration - give arg types --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel