From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.55]) by mx.groups.io with SMTP id smtpd.web09.138.1643836624300221618 for ; Wed, 02 Feb 2022 13:17:04 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=07qzPfqd; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.243.55, mailfrom: thomas.lendacky@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eeVtJGdtsmvnM6wHA9UXpjvk04LWcbB8NA0TEzyx4ycNmV85RXQF0dtFdG1ipmBrTkKF89+EHVwEots7K29JDOK9uo9G3TxA78KUzTPRhPcXvPNjQ/9klfxfAY1ZlzcK+CAFOnJcZU3GBkCv9Dp6SpsnksvKgIKrrYll9mbo4PMQNrkUODY03ax6Vy74+otOJX9XjVShj/s7q/ucterZSfYVzQOQrcFgsxlqd2XS5EtlNv4jhYPcltJgouQtf6h4v9AEatrHMuevtOgHXnL2uC3fg0WyudnzHk02y2NnlZR7ys3Gd9mtKYBsYs7ta0j3Rni7uLiPnr0xw9L2HKXYjg== 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=UnzS6NIXwfccqRDO6lSV6ewFHwgGt6Sg87kbC9t5gpU=; b=hVq7HL24uGNep1MkUXDbjZVo78pYQeuxVZobHwhMX0RT820L2yQEGEkXZAC/Cj9Jg6djW0e+7enUTwhATH0HF2XHYN686HdptkDvHU3rW45eMczubdB0Ao7m32ide88c45fhVor6EtETU/li7gD7C89rWHCRYIXIZEFCCkmgKg/iVQ2D90/g+Ozx2uZmWfH7yfVs829f+oGfLA9iMNv9XfYi2kTydNyzVPXALsK2rxerkV+jxWFz/sT+JUNCzO4Alqo+H93ITxtAU6908jTv3nJNdskjoA7CIJDfqU1jXPjKw6g7hXXes9Z+2EuxSKwjOZFNOnPG3wgmU2UmhB7Oyw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UnzS6NIXwfccqRDO6lSV6ewFHwgGt6Sg87kbC9t5gpU=; b=07qzPfqdcj+iKcePW3uZOHtHHvsHkbJx648WdhqLydpi5POG1I7LzDLoP3TeV2cDjTDfRwUt53dCNBeTJ3rZMFiDvhXOW/0L3aKSbkQhSa4aM0d1ctaPjjUe6AHkN7Ay1DfbOPyJiWAICMjUgD/ooaXhAsu3UfmYljjC0lA1Mnc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DM4PR12MB5229.namprd12.prod.outlook.com (2603:10b6:5:398::12) by MN2PR12MB4303.namprd12.prod.outlook.com (2603:10b6:208:198::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.17; Wed, 2 Feb 2022 21:17:00 +0000 Received: from DM4PR12MB5229.namprd12.prod.outlook.com ([fe80::ccd7:e520:c726:d0b]) by DM4PR12MB5229.namprd12.prod.outlook.com ([fe80::ccd7:e520:c726:d0b%8]) with mapi id 15.20.4930.022; Wed, 2 Feb 2022 21:17:00 +0000 Message-ID: <3f4127be-35b1-ec66-25f9-12bdbd5fd0d7@amd.com> Date: Wed, 2 Feb 2022 15:16:57 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 To: Rebecca Cran , Brijesh Singh , Erdem Aktas , James Bottomley , Jiewen Yao , Min Xu , edk2-devel-groups-io References: From: "Lendacky, Thomas" Subject: Re: OvmfPkg VmgExitLib fails to build with CLANG38 (clang 13.0.0) In-Reply-To: X-ClientProxiedBy: SN4PR0501CA0145.namprd05.prod.outlook.com (2603:10b6:803:2c::23) To DM4PR12MB5229.namprd12.prod.outlook.com (2603:10b6:5:398::12) Return-Path: Thomas.Lendacky@amd.com MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c4f45d3d-a782-45ba-8e1b-08d9e69159ab X-MS-TrafficTypeDiagnostic: MN2PR12MB4303:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5YHbu9uPjWNzvyYO0kZ5f/X87M6l54Ij7u5FCU9n2a+gCIwA+b9FyVO5R26v5Xhg3g6Rlnqdslof9qA3OpfcUizv1DI6nnC+UC2T9Uu9AfrntsKk8rF7r0xuX0PeVyXv3mQuT55z8uvVXvK+VBdtd0WAWkKc3x3RgpAt17yyhvQnvAn+SSR7ucKSql4wsLEJaNlZeJO2iX6HLb4ZxmhMLSxr94ob1YoQ5EnclmJUjN5hflWP/Ob6V0Y4LiOKiK4E2LwboMi5serknhaY0Q13A5u8Ck09YWyeL9ggPSKU4LW+EyECap5cwPKx40FwS5deFTcNUzzSaY0OeKgyX+xlMa8+t1zocpYWERUh2zdsYjwjO7YfZyh1VPt5cXIpdA5TLjeysn4+BaRKUeehyenyVIVJV9mLtK8GxKjuXqnXbqeMJAYx4DAa96FoKdydsStpVGQCDHWvLy8zZ+GaS8vm+LiqzN2Oxj+X6z7oDKkkvUOOoyrfvPLD4mDDaYxXRqSPcSXrat1mAmUlNja7L2jsp3KXJ66/gjG17I5ezBHbab/Jm3nB5SGTUiewROOnr0qmgESpnBqEHfL0BpUQ33dsqq8W4eWl+4TnhlNkqKqeempgHG6NfODNYOFbylwzq/m+S0LXgzkmOzURnumN+Mmu10waqNW63rfNBT41HKo6jE3vvJNqC1IwZkz8If6dhWAdLfsgTN6Dx1jwVs3cwYTQsy/NPZXNm6CVLuk6MtvgNz7h/itUKc7rMl1GbDIOm88E X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM4PR12MB5229.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(66476007)(508600001)(186003)(36756003)(38100700002)(66556008)(26005)(66946007)(31696002)(8936002)(8676002)(86362001)(6512007)(53546011)(83380400001)(6506007)(316002)(2616005)(31686004)(5660300002)(110136005)(2906002)(6486002)(6666004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?r9yxjSkkMvHePTcExUvoEjfvhIbOYwqQwi5TF8zUM0G73M1nzAhmhXy4DYSX?= =?us-ascii?Q?AQdFxkO0D/mmiIoyJ7bMIaNySsHwjHvgufpWlauiHrLHsHTv8xGgq0//Osjz?= =?us-ascii?Q?wXna6Q1mH9eukn2Sdj+fW8h6jDG5s31xUENamoIEtna9LkOCYGqdJLRhjP+4?= =?us-ascii?Q?0P1RZBKub16DWfugqPFG+KZJ6yMBQa8acfo337yPIQ2n0PBsJHEyBDKFy0X/?= =?us-ascii?Q?C7lg0jOBN+ZhXlK34TXhUJSMTHBL/AGFKkPOdAU/mXyBT44xl2b+LRbyZW/Z?= =?us-ascii?Q?9+4xZkY3VCj81LOJkX0+HqvnFAPRS9cgnGeCObOwYtuS6+qE4f5PWq18hbej?= =?us-ascii?Q?1lDTrD8TwQ9QLzbfNGfBl1FRCYEDdUZrd9pDHX/k5YAYDsxd2MZbFyjA4L4n?= =?us-ascii?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VBD+kwHBnNxOnUpxjAHCA?= =?us-ascii?Q?rpN6Lvru/oBWzlhtP+YOPoFIiP4iS8MIFxUV0XgR98s2vz6A8+JsNW6lbVNr?= =?us-ascii?Q?vI1hLvzRgQFbNv9gvKAcG5dzqpM2biJ7k5UM3ZCLlpf3ghcAIs29ZKY2EAHe?= =?us-ascii?Q?QW2CluyWr7fSUqbxh3MnbVepCueyrLaYE3xd9ZolSFN3W//bYjUxPZ6HSvTf?= =?us-ascii?Q?jl/ReSWz0B479zEmfk2JO9jvOBoeWBXjPxmSsyuelS1ERh+RnDyS32nPw+34?= =?us-ascii?Q?7avxGuKLCaJPodRM+TMjLrZjvb+ZAJZ2pQ4gPd8sKtFfpdmO9J0DF7n/w4Ai?= =?us-ascii?Q?O9xIXuG0lb6o/iVPMUcBds8=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: c4f45d3d-a782-45ba-8e1b-08d9e69159ab X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5229.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2022 21:17:00.4177 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: sRf3hjNOx7MA2leNROoZdWL+c0mHSW/3hkwUsn9teKkNbJtiBst1eog43Z+L3Xavnv7wtdKKLH6RgyQ9IzMqsQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4303 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On 2/2/22 14:54, Rebecca Cran wrote: > VmgExitLib fails to build with the CLANG38 toolset (clang 13.0.0): >=20 >=20 > edk2/OvmfPkg/Library/VmgExitLib/VmgExitVcHandler.c:1875:9: error: variabl= e=20 > 'Compacted' is used uninitialized whenever 'if' condition is false [-Werr= or,-W > sometimes-uninitialized] > =C2=A0=C2=A0=C2=A0if (EcxIn =3D=3D 1) { > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^~~~~~~~~~ > edk2/OvmfPkg/Library/VmgExitLib/VmgExitVcHandler.c:1895:12: note:=20 > uninitialized use occurs here > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Compacted > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^~~~~~~~~ > edk2/OvmfPkg/Library/VmgExitLib/VmgExitVcHandler.c:1875:5: note: remove=20 > the 'if' if its condition is always true > =C2=A0=C2=A0=C2=A0if (EcxIn =3D=3D 1) { > =C2=A0=C2=A0=C2=A0^~~~~~~~~~~~~~~~ > edk2/OvmfPkg/Library/VmgExitLib/VmgExitVcHandler.c:1871:37: note:=20 > initialize the variable 'Compacted' to silence this warning > =C2=A0=C2=A0=C2=A0BOOLEAN =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Compacted; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D '\= 0' This looks like the same error that XCODE5 was complaining about. The=20 patch was submitted by Brijesh, but some CI failure occurred. I'm not sure= =20 how that is possible from a one line patch like that, maybe it has=20 something to do with the file in general, excluding the patch? Thanks, Tom >=20 > --=20 > Rebecca Cran >=20