From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: AJdET5fRC3rwKx10amdPBgYL2wcpn7vRuIfJM5IKoTzIMMMYiPZn2Yi0TAjfrAUznpM7gJYQQgINiQ== 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 Cc: Chao Zhang , Jiewen Yao 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: [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: , X-List-Received-Date: Thu, 01 Nov 2018 15:36:56 -0000 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(+) 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 -- 2.11.0