From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.65]) by mx.groups.io with SMTP id smtpd.web09.1074.1649350818501099479 for ; Thu, 07 Apr 2022 10:00:18 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nvidia.com header.s=selector2 header.b=FN9dAtXK; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: nvidia.com, ip: 40.107.220.65, mailfrom: jake@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S+HKQJc0rNVIRIMz2S5YlY954CryHZHuwE2bXUVQJa+xegQ/HWQ+vMPRyfzvXSqGmGfJwWPwt9OxGVyvQ6QVxxnqxOv2wlJ4IE/ur/0JDnP+QdwNtuOyRv+OMdzARyuaH5orf4XzSM2+GVHsVwJROCpM2FXphw8BbkrD7Y+Oy2c10813gr2zWLNmSJpTCEM1P5RgMJxJTziJLKYKxlH1xKiXfSJQttT8NQUlHot43KB43AXDmXbCjsCbaaX2dHORx4RUNgThYOM5a2psfpujawyc0Z9R/yKnslthwk/431a/KBFjtYFXyuEvZH3QaYn92Fryad/eV+ma3+L9NtFDhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=O/28pvGFjMsAPg+crCQWiH3yU5We6vEv2tUtqC0X/sY=; b=S5y7dwk1bCtBsr2hqqOzy/55bVhLukrVWIIfFxhI1YNoODyWBlADsDwMsBkIveg4YkYrpZen8xqMkHciH+Iyz4IIbeMLO55zcV2zGfH0HVvsaFaLsCVD0AksM8xIcAK3QY/c87uy8wrhSTcbXM+/lbgckgLirvReW/BjNPc7jNFkzQ0uiPpDC3sEVqF/2jCjLyOyWGdQObi1GLfmKGhU52xMiPi+7cp922QVG8hKMqfzaO0zOuY7rwWDNCDqz7lCmsToxl00DeXJF60TC9+miyBUS9uGdRESY02YC2xG5QaqZdRvYNtOFc6DGT+adTIx+ftd8T82k80J9irYdutRBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.236) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O/28pvGFjMsAPg+crCQWiH3yU5We6vEv2tUtqC0X/sY=; b=FN9dAtXKWurIlmsExe85s0HTn105pcorIrYVTGldJeak/3mZ+uZzPli6qtr5z3mk95WaAv7jqkOwb/qLunzI+8gnnH6Y7S1uXH+eHsx1jFtLctjj7rpneH47A24hdcGq5xOlDyQjV1VSaDoiC5Qhw1d7W8OBHNlCo34+JlPzV+DHHQz/96Jh0/h7QrJhSE8RymHxEW1VlEcLJXvL/FOed3FBYOqNl5ACDoOG/4ME+ts55+DfPxYcXwe1pKiAZJla4CfUB+B0IAraJSkmbNvtlJvadc4nsLE9vHRUqliiIP2uKja004pvNr1fK2hJ8QF8aJZSp/wd6KKwQYd0AI3vYA== Received: from MW2PR16CA0017.namprd16.prod.outlook.com (2603:10b6:907::30) by CO6PR12MB5444.namprd12.prod.outlook.com (2603:10b6:5:35e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.22; Thu, 7 Apr 2022 17:00:16 +0000 Received: from CO1NAM11FT025.eop-nam11.prod.protection.outlook.com (2603:10b6:907:0:cafe::8a) by MW2PR16CA0017.outlook.office365.com (2603:10b6:907::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.22 via Frontend Transport; Thu, 7 Apr 2022 17:00:16 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.236) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.236 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.236; helo=mail.nvidia.com; Received: from mail.nvidia.com (12.22.5.236) by CO1NAM11FT025.mail.protection.outlook.com (10.13.175.232) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5144.20 via Frontend Transport; Thu, 7 Apr 2022 17:00:16 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL109.nvidia.com (10.27.9.19) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Thu, 7 Apr 2022 17:00:11 +0000 Received: from jake-vm-01.nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 7 Apr 2022 10:00:03 -0700 From: "Jake Garver" To: , , CC: Jake Garver Subject: [PATCH] BaseTools: Fix dependency issue in PcdValueInit Date: Thu, 7 Apr 2022 12:59:03 -0400 Message-ID: <3d6274d54175807f29a530b181baaa9405667b76.1649350722.git.jake@nvidia.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Return-Path: jake@nvidia.com X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: df889555-1cfa-4fa5-b1de-08da18b81722 X-MS-TrafficTypeDiagnostic: CO6PR12MB5444:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DAS+iklFjxMLJLoDUfuViOfmIidcsUToNxhTUcYAdv/mrAL3T6d0uBQtHaN2+ZTxB7kKpbfiawLwgjDXqneHcTi7IgYZVNWCO4t7a4HAayNqf6B6Q78fvglGSCwfnU7TL3X2VfpRYC3NwBQGtuPeD3L+SCkuL1cqAa7mYgYnn3e3BFVst2OygQJdrnkpkYdKtXizLxVYIqufJFoyE660F3jjFz3p8LSPres1eTXhyisCObClFuTFiCyOqgxykkvU1hCtmvIcRd8RbeEN9O6NmNzPK5f6e+fBZ/CMsKP7XcGuJcfTG+yxZmtf2LwI8IECstwwylnBYW+bzcA0ETI6g2dz7Nulj722+8RB+WU58FiYzB+2VxYwMJiKXSo9yh0ICO63Pc02aFHmQHiO5uslZCy8CzBOmuLm+URVtGobQADl2A4FRBhCn6ztOQ8PQjE9QqLJVXsFO61+eSityRq0rfDoI7197zg16LNaCy2twQflUI0OTDzYk023RC4P2Fd/S1gjEss6il8KW4uKO9fHacxc7v+Jd7BeRTbSKOFT17FyzOL80Ixsg3Ir7hU2Wxjsuf2ayqClg6Ul37wGzWFPg+zBcNV69qj4lby+4f5IiPhHFktfDbiwkCnQ90fhrdlmtIYV80efrNx8nUIlaGfj5reT6ACcpCKJa0Lo3xk+G+rJ/TVkPGB7AGlg8Erv+bdkqAJsswN8IujHbQMozJ12mA== X-Forefront-Antispam-Report: CIP:12.22.5.236;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:mail.nvidia.com;PTR:InfoNoRecords;CAT:NONE;SFS:(13230001)(4636009)(40470700004)(46966006)(36840700001)(356005)(8936002)(81166007)(82310400005)(107886003)(2906002)(40460700003)(5660300002)(16526019)(2616005)(47076005)(26005)(36860700001)(8676002)(4744005)(508600001)(186003)(7696005)(86362001)(316002)(336012)(110136005)(6636002)(83380400001)(426003)(70206006)(36756003)(4326008)(70586007)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Apr 2022 17:00:16.6295 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: df889555-1cfa-4fa5-b1de-08da18b81722 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[12.22.5.236];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT025.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR12MB5444 Content-Type: text/plain The generated Makefile was missing a dependency. This resulted in a build-time race condition if the recursive make is multi-threaded and shares job control. Signed-off-by: Jake Garver --- BaseTools/Source/Python/Workspace/DscBuildData.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py b/BaseTools/Source/Python/Workspace/DscBuildData.py index fc1e773417..d55ea1bbe2 100644 --- a/BaseTools/Source/Python/Workspace/DscBuildData.py +++ b/BaseTools/Source/Python/Workspace/DscBuildData.py @@ -97,7 +97,8 @@ PcdMakefileEnd = ''' AppTarget = ''' all: $(APPFILE) -$(APPFILE): $(OBJECTS) +$(APPLICATION): $(OBJECTS) +$(APPFILE): $(APPLICATION) %s ''' -- 2.17.1