From patchwork Thu Nov 1 15:36:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 149976 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp938114ljp; Thu, 1 Nov 2018 08:37:21 -0700 (PDT) X-Google-Smtp-Source: AJdET5cZP3lH/QHFhDoF6D0GFrlsyw84FRgDCVaBvbz2ocNI24ufp8upgn8CICSiy9kfNbkOisQh X-Received: by 2002:a17:902:6a:: with SMTP id 97-v6mr7647652pla.276.1541086640975; Thu, 01 Nov 2018 08:37:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541086640; cv=none; d=google.com; s=arc-20160816; b=t4WR5Ing55MMIHZ+3JWN/CVfxoqg/4RSgv925BAD+PB8OW9Onvv3A9GGL0GtDnO6/Y lJNBaRDkHwWhKsvQPjmq1QlgxxM43ZazeLmcYSB78Qb4GVEE+Dl9mIRLvelIRi+5RFN5 TgW9z2TU8I31u7eP+jNvWWuFtgtj6OFBTcyOV0EqTxMVxOyWlMcjNOEP9ajvUYqsIN38 3FpfVovXUbbVHz3FOpwU6aXBFjfrtkNx+MdFRcClmUKsHgXgHqFnAjMf5S940zIXRF4d Q9Pe1IImEXc+cStWOYe1uFZrgjmGBGNWxGiTJnZyftEkOgR3Tn/yJ+Y+1fONoJtcj2m1 u1Ag== 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:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=JvB/oOZSaea74+gWqFU9iFAxU0C3L8vr9hoLNjXUnSk=; b=GpQX57m23k2PFd4ofEITzPjwUn/k+o6Hzxp9JekMiTi3bVL0VaL86yWHbvngfky1NL Y4UkeJGLFO7kCnX12NNd/C/4iBQ2GYjAYs7H8wOzQ/wzRtOk6WcQR+F/CKsAXwZsT9zV t10e9KMTMTcfu5mp+i8KMWIspVh/8LhDFLISzAgcfzD3/PoDJ8SjNY/ZAHIGCYBKxMl4 LKPy09DKTVA7sjEu2nsmnxOgOU+1LU3lauZBLLrD0dNJQv2LME48jkQDbQDAOD4M3GaZ YTQWU371uhcYRoup/1lqvNgsBjcZqJPvExgIiQ15haBiS33VboV/FTW1aHzN3DWw5/Na hnRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=k2aTB3Kk; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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. [198.145.21.10]) by mx.google.com with ESMTPS id 6-v6si29680660plb.230.2018.11.01.08.37.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 08:37:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=k2aTB3Kk; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 3080021189FBB; Thu, 1 Nov 2018 08:36:57 -0700 (PDT) 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:4864:20::444; helo=mail-wr1-x444.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (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 9803C21189FAC for ; Thu, 1 Nov 2018 08:36:55 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id j26-v6so6315336wre.1 for ; Thu, 01 Nov 2018 08:36:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nmpkeszesHqgvnUEDVEp8tplI2GnUuUL7uuPazRpm2o=; b=k2aTB3KkgV9UlaC9pm6hOcR2BPO/ce8MVaHxDkmSdX6KECeyixEQC7jhFV+RhzeiD3 p3dA9QHAK0y68ZSQHMI9hkdvaYCePSNlxY2WJMC1/izBWheZAkjitHnJIOrLPH1j/T67 qOyR/cTQ3f5AsHSPkn3nqaMtJmONrnCJWusLI= 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:in-reply-to :references; bh=nmpkeszesHqgvnUEDVEp8tplI2GnUuUL7uuPazRpm2o=; b=ctdWwZnlJS6c1Jm8hQDbU6Oo6OcA8k7fN5YCpVg4KrwQqrbfIeAwzNfn6b1HxDs7pD zKYJRC7btJsxksHGVaoCZntcusuGuDHDd2DQCFrEvPBLI+zHT/VjtGTRBqQSnGMjygDT SWISrXBE1cLZUmNsB0BGtlgDhZYI2UKMuv1G5ZfV3b0vToxgXihV84CNIs/RY8Rdxpf+ /ISL34s/wTcUSul/of7PIIDMV8gbbTJm51jQF7G7+PffFKtS7lfizeCCjqOJuYaEdPvz oy0CclCpKZQH1C+joJaLpsFyT1aAZnjMrGXZAomzs05N4jkJ6jp+ndYCOCeJxHlJiAyh YHFA== X-Gm-Message-State: AGRZ1gLwgyNXVSEov4e2gT4V7HZbDTNjT6CNp4k6Jxb+jOqeloAqgwD3 tgSBOv0WndHPWNOXk987TlOAUcWR3fM= X-Received: by 2002:adf:e808:: with SMTP id o8-v6mr7054199wrm.112.1541086613783; Thu, 01 Nov 2018 08:36:53 -0700 (PDT) Received: from vanye.hemma.eciton.net (cpc92302-cmbg19-2-0-cust304.5-4.cable.virginm.net. [82.1.209.49]) by smtp.gmail.com with ESMTPSA id 195-v6sm29669157wmx.21.2018.11.01.08.36.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 08:36:52 -0700 (PDT) From: Leif Lindholm To: edk2-devel@lists.01.org Date: Thu, 1 Nov 2018 15:36:41 +0000 Message-Id: <20181101153642.11315-6-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181101153642.11315-1-leif.lindholm@linaro.org> References: <20181101153642.11315-1-leif.lindholm@linaro.org> Subject: [edk2] [PATCH 5/6] SecurityPkg: fix package build on ARM X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jiewen Yao , Chao Zhang MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" The CompilerIntrinsicsLib and BaseStackCheckLib need to be included in order for an ARM build of the package .dsc to succeed - so add them. Cc: Chao Zhang Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm --- SecurityPkg/SecurityPkg.dsc | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: jiewen.yao@intel.com diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc index 68a2953162..eaccbd9354 100644 --- a/SecurityPkg/SecurityPkg.dsc +++ b/SecurityPkg/SecurityPkg.dsc @@ -73,6 +73,17 @@ [LibraryClasses] TcgStorageOpalLib|SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf +[LibraryClasses.ARM] + # + # It is not possible to prevent the ARM compiler for generic intrinsic functions. + # This library provides the instrinsic functions generate by a given compiler. + # And NULL mean link this library into all ARM images. + # + NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + + # Add support for GCC stack protector + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf + [LibraryClasses.common.PEIM] PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf