From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mx.groups.io with SMTP id smtpd.web11.379.1596212371982982241 for ; Fri, 31 Jul 2020 09:19:32 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=Jy+tPuJ7; spf=pass (domain: nuviainc.com, ip: 209.85.128.43, mailfrom: tomas@nuviainc.com) Received: by mail-wm1-f43.google.com with SMTP id q76so8532685wme.4 for ; Fri, 31 Jul 2020 09:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/acY1tjhCFlAbY4mVqzn8PCGImkVHSJDjNsuhyYvFfI=; b=Jy+tPuJ7prldVbliOLD/re3RqSBAAnT76FKRO2NwLvI2j1BrIwMzN2z+jGjr2HfR8m ZHxRRDqrGrWpI2m9fecjJQ7yDtbp03CUSnIdpH0Ae6KxDGcmkw6bCgNC0dvy2xECmWph HdDMZmJSk92zZlg2sWeFiQVoAl24oBtrdMNFyHmTEDN/JSduugO4k9Zx5ySTyIv61Wqg OujC22HuxzWgAjGG3mrXK7vMX/kpDGWquakoBPpAWexfB8O5sAsQ3EtR2Pc7b7ey7HZ1 binjgRrBvmobFVzkE4MbX395YCcGoASUiFUvsdAVd7BKkVCc7JZM76k6al7gu7AUKF0N 9NMQ== 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:mime-version:content-transfer-encoding; bh=/acY1tjhCFlAbY4mVqzn8PCGImkVHSJDjNsuhyYvFfI=; b=caNKOVpfALRODdYYnGTfo2rCVnpyoDkpVkCqlWr5wqY477csQ6AAB3jrg5XjZh0XYo LoWYHTkF2/CZcRVU3S0GNVPnols0dbySSiulATIoA+I+7GG9WplYRM3zVbYYfQ0Ys/K4 TLd3KKs3rpEFC6RwmLh1V25OTsPpPPDFgwW0i9FucTejgyIPAp7w3x/eSasc0Sk/vJx+ N5S336Hb7aVhXekQbNYqoR+yw61ANIolRc0mw8YVTPrCD3tFBfLV7AtTtVrc1ltHNM1n 4NrRcx4ezAZ4ALiy7u7HZJ900X9zPSRTxkKPeEZN7HK0wqySgmK7z+H2vVw0xa/nkpbr t9bQ== X-Gm-Message-State: AOAM530g/9h0J1Q0+mgEGHXnBNkbhmRFyjmBxwJ72zTCTjH93F3Sc12t Z0S6M9bIxzb/qMZnKyKKKtgwM/2j2HhsvSwQ3jD5X9S84sJurEXV6Lk7a2sEJM/ZJiuT1GEIHk2 +Smrxezw4HAa2CF8BREpAtVbqLoF/kfMtBbPM1TGlH2QLSAx7ge6STWiJDNn9IaM79MI= X-Google-Smtp-Source: ABdhPJwBRZaU5FGYuG4zaBm9KcDx/7IhXtnXQqFJjTJ3qYlAe9wS88ggEi9Sk2yF/s53XIILJqW62w== X-Received: by 2002:a1c:5f41:: with SMTP id t62mr4391813wmb.53.1596212368908; Fri, 31 Jul 2020 09:19:28 -0700 (PDT) Return-Path: Received: from localhost.localdomain (cpc159317-cmbg20-2-0-cust162.5-4.cable.virginm.net. [81.111.29.163]) by smtp.gmail.com with ESMTPSA id v11sm14149739wrr.10.2020.07.31.09.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 09:19:28 -0700 (PDT) From: "Tomas Pilar (tpilar)" To: devel@edk2.groups.io Cc: Sami Mujawar , Alexei Fedorov Subject: [PATCH 1/8] DynamicTablesPkg: Include BaseStackCheckLib Date: Fri, 31 Jul 2020 17:19:19 +0100 Message-Id: <20200731161926.341330-2-tomas@nuviainc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200731161926.341330-1-tomas@nuviainc.com> References: <20200731161926.341330-1-tomas@nuviainc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In GCC10 the __stack_chk_guard global variable no longer exists, the stack checking is done a different way. This patch includes the BaseStackCheckLib as a NULL library which provides the global variable explicitly. This fixes compilation with GCC10. Cc: Sami Mujawar Cc: Alexei Fedorov Signed-off-by: Tomas Pilar --- DynamicTablesPkg/DynamicTablesPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/DynamicTablesPkg/DynamicTablesPkg.dsc b/DynamicTablesPkg/DynamicTablesPkg.dsc index 02f04447ff..346fa8ccdd 100644 --- a/DynamicTablesPkg/DynamicTablesPkg.dsc +++ b/DynamicTablesPkg/DynamicTablesPkg.dsc @@ -33,6 +33,7 @@ [LibraryClasses.ARM, LibraryClasses.AARCH64] NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf [Components.common] -- 2.25.1