From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web11.48374.1669911498907458653 for ; Thu, 01 Dec 2022 08:18:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=HCr1PzL8; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0334453ac1=brian.johnson@hpe.com) Received: from pps.filterd (m0134424.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2B1F2w7W032581; Thu, 1 Dec 2022 16:18:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pps0720; bh=ul8LKNhgx+w9NP8TSDiuWx/50JOf+D+BXqw6o0WcUjc=; b=HCr1PzL8XfQNsBUz+gOmn3Kuhgx99SqSRA8OA8uKFWb7EtPSmJCfz2nEmqoXJ96wD6N3 im7KuXiwILVYVFCdFU/n9VH2iWKbk3hb8hqverZCyy7gxvcEaAOMJmxCRW46ePpPFoCz Ug+LtI6R35ab36hG3kC0G1AYItZ7GiW5am1W1YQrBcH4wkfTt4Ug479pMk9OqMyP/Qwo xubJcxqmu6wbPdqjEYiRZaHbPxeOexgSb7birQRvCa0KOPnvbSzrhMjgFMWUqFmGQoYg yl0PrjjPDr1Atx0i3Frmrz8MRXbkbtl9jWvNrlCxeRCjj7hI/+phiju8y87kO3b4UUAY EA== Received: from p1lg14881.it.hpe.com (p1lg14881.it.hpe.com [16.230.97.202]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3m6xjhgq7x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Dec 2022 16:18:01 +0000 Received: from p1wg14923.americas.hpqcorp.net (unknown [10.119.18.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by p1lg14881.it.hpe.com (Postfix) with ESMTPS id B97E1801AD0; Thu, 1 Dec 2022 16:17:58 +0000 (UTC) Received: from p1wg14926.americas.hpqcorp.net (10.119.18.115) by p1wg14923.americas.hpqcorp.net (10.119.18.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Thu, 1 Dec 2022 04:17:58 -1200 Received: from p1wg14920.americas.hpqcorp.net (16.230.19.123) by p1wg14926.americas.hpqcorp.net (10.119.18.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15 via Frontend Transport; Thu, 1 Dec 2022 04:17:58 -1200 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (192.58.206.38) by edge.it.hpe.com (16.230.19.123) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Thu, 1 Dec 2022 04:17:58 -1200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SWSp4Lrt9Qotrj6PcfdUZd5XHp8y548V6WYXV2C9J8I5nOyCw3bZX3wODcFzMtFkTt9bQytRUBJ2lS7mLsHXUMLUaTBL35PE7Ko11l60aypjuVayvAsP8VCwY8MqsrX9tw3ieOBCTDqEGSiGcIfSsSRVxBYH+FntwdBaFXbYI9U/b/br0Dyssb8xC0fcanmLCbF3YYGBcLqSWEQtPxqg2fRooZWaC8Nrn2KoBClPWjmvRynEs6y3ZojhgMDwPF7Zx0go94/ssElNy+Am+kR7rsfZwQS960JwmDpzbydmX+P8DFKElPKCntmO76Js2NrVy79Bq46OMu8Jmwv9x80cbg== 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=ydydJllnawsO6RXl014jCSsRgVXqLno2hCbr3hMrNDI=; b=DqysKD9y2d5JmjfKhy+S1x5+/Vw5/1gJFS2Ie0+8I54HrbIkSrow9M6kVINjb4E5ciwOlzzfkrK9wt0LlhLCSZsceqYXWB0IMXlF9BnXfoGWUZ9ggoPKhuS2thtkX2SM/OB17LM0gZBc6z1Jkzakuay3I4FssImugc+zkglDdAFnrgCBTOKkOD7oh+J49d/mrbpbMqPaDSPadwRiSJLb9DmUR+wyLwJSs2n4hAGFn4PWLBld9Zew86hgMSg6ARkwO74w4XornTLZ6koZguae1ovwp/o3uZ+NSgjERp2+Uj9celXoj4pWcUeZKbuu9UIzDyQ3qHDdrVzTe7JIaBWx8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from MW5PR84MB1354.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:303:1c0::21) by PH7PR84MB1678.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:510:151::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.23; Thu, 1 Dec 2022 16:17:56 +0000 Received: from MW5PR84MB1354.NAMPRD84.PROD.OUTLOOK.COM ([fe80::4e56:9d21:919:8ef8]) by MW5PR84MB1354.NAMPRD84.PROD.OUTLOOK.COM ([fe80::4e56:9d21:919:8ef8%8]) with mapi id 15.20.5857.023; Thu, 1 Dec 2022 16:17:56 +0000 Message-ID: <50495e6e-a8cf-44de-6ffe-42b6c7c8972d@hpe.com> Date: Thu, 1 Dec 2022 10:17:51 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [edk2-devel] [PATCH v7 2/2] tools_def: add -fno-omit-frame-pointer to GCC48_{IA32,X64}_CC_FLAGS To: , CC: Alexey Kardashevskiy , Liming Gao , Erdem Aktas , "Pawel Polawski" , Jordan Justen , Ard Biesheuvel , Yuwei Chen , Tom Lendacky , "James Bottomley" , Oliver Steffen , "Jiewen Yao" , Min Xu , Brijesh Singh , Bob Feng References: <20221130094414.1983787-1-kraxel@redhat.com> <20221130094414.1983787-3-kraxel@redhat.com> <88bbd6a4-1e6c-7916-91be-76cae167aa74@hpe.com> <20221201083843.x76y3hu4p67o2g7t@sirius.home.kraxel.org> From: "Brian J. Johnson" Organization: HPE In-Reply-To: <20221201083843.x76y3hu4p67o2g7t@sirius.home.kraxel.org> X-ClientProxiedBy: DM6PR03CA0014.namprd03.prod.outlook.com (2603:10b6:5:40::27) To MW5PR84MB1354.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:303:1c0::21) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW5PR84MB1354:EE_|PH7PR84MB1678:EE_ X-MS-Office365-Filtering-Correlation-Id: e22182d6-ae27-42fa-ef91-08dad3b79b1f X-LD-Processed: 105b2061-b669-4b31-92ac-24d304d195dc,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Da/0Yv9b8crOJVqzVPjCGRlOEA7YgC8PwyAlQ17Fz9voC0GxKfzfUukC37nTpv5iRoGNcbnPCIocZWC6M9ij5MemFu2Rikvc23IqJqFJGP91K4CtMYFyxgin/KP8uimaz2cMYm73ba8a/HVAh4JfM2XJue71Y5L9jGFq/9mJmiruPzqTfY/pllKzdvX78kzTdJOcmOmyswJxgi+Oq76JwmIyXJCN7iKFrlsAMkd6LGW0Y2vvBizzenJbuSiHxs8pxqwl7oOAxJFFYaCYbdNlKgkwNk0XvsTqUBjcG8sE5gCI6c9I6mUKABn9tljC85tjzrkf1JC/azO6qd1yLAoeOJsa3ls0e6QbSj/YnibE8f5tyUw+4xchRrhMjqPys+yN7YS0hlFLJEKL9V9qzxGzsZCqL2w0KnjDVdbSnIT3zMRq/WzazTK2gKOM6qkidypPrY4HGZ+MqD6ykeyLqJykM97NVq3gRcKLTU9dPpWdYdP0dKI/oxXSCRz4cyINehNFUQIVzkBc75fM6gl48iUqRbxVlHzIFbBxG17ddegqEuF9X6R4/HiCu/DrU+3yLLZRNi4kMImFvQ3EzY4BIMC+HGNfdQVwpGckguRMdi8gBFKc+Txl3h0nRT1fFY6BIuQioYQkDv1K5RrY267O763dHAcAUgCBxejD4vIvqwekqhLqoZDQjglNExciqFCKlLK0zjgv7Jfl6zs1YuoFAvllZSZeXc9ipHNTa6S3q/Nj0rhH6zD7zt93FtQaGkCxJ9IN X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW5PR84MB1354.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230022)(366004)(39860400002)(346002)(136003)(376002)(396003)(451199015)(2906002)(7416002)(4326008)(41300700001)(31686004)(8936002)(82960400001)(54906003)(19627235002)(5660300002)(66556008)(66946007)(8676002)(66476007)(36916002)(6486002)(966005)(6512007)(6506007)(26005)(478600001)(6666004)(186003)(53546011)(2616005)(31696002)(86362001)(83380400001)(316002)(36756003)(66899015)(38100700002)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Q09IMm9RaTFrQ1QwU3V4VFBhblhkMDF3SFNrSFlhd1BUQkVMTjd6OFBTM1hE?= =?utf-8?B?YWMybkQrQ084QURTZXgwOE5TbWZKL094YTA4K202dXlHY1NoSGlSWXFYMDR0?= =?utf-8?B?bHNOYkpv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ZVLzdXL0JUVWdMcG8wK09vbHht?= =?utf-8?B?SW1GVldQMzdqeWVKU1BIQTlnaEo3MlRrWE5KcmRYZ2JrNi9PaXpYcWlKcXNj?= =?utf-8?B?M1hzMm9Cdzl2Q01mdjF0cjc2WDFPRWsyd1RsdktXQTJTVUk5WStkN3oxN200?= =?utf-8?B?VVFjTm9QazRDSzg1SEd3dTJjU0FJM09FU0Fsb2RXbjgyYmd5d1AwaWNaelly?= =?utf-8?Q?k3WMwV+9qMe1yT3X8DzANfPCG?= X-MS-Exchange-CrossTenant-Network-Message-Id: e22182d6-ae27-42fa-ef91-08dad3b79b1f X-MS-Exchange-CrossTenant-AuthSource: MW5PR84MB1354.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2022 16:17:56.2946 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Ez6sRc8UQCE0NrCdvz1+pUgsmS1jBGouI4ELHmr5cPcMPP4z8uBxr3ESdgZEs6B9Gu9dy0oQFYX7lnlJF4Zu+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR84MB1678 X-OriginatorOrg: hpe.com X-Proofpoint-GUID: FpdATnbq8diWpABhl7igUMBNgPIOc-Pu X-Proofpoint-ORIG-GUID: FpdATnbq8diWpABhl7igUMBNgPIOc-Pu X-Proofpoint-UnRewURL: 3 URL's were un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-01_11,2022-12-01_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 mlxlogscore=956 malwarescore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 adultscore=0 mlxscore=0 clxscore=1015 bulkscore=0 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212010120 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit OK. Doesn't look like a big impact. Thanks, Brian J. Johnson -------- Original Message -------- From: Gerd Hoffmann [mailto:kraxel@redhat.com] Sent: Thursday, December 1, 2022 at 2:38 AM To: Brian J. Johnson Cc: devel@edk2.groups.io, Alexey Kardashevskiy , Liming Gao , Erdem Aktas , Pawel Polawski , Jordan Justen , Ard Biesheuvel , Yuwei Chen , Tom Lendacky , James Bottomley , Oliver Steffen , Jiewen Yao , Min Xu , Brijesh Singh , Bob Feng Subject: [edk2-devel] [PATCH v7 2/2] tools_def: add -fno-omit-frame-pointer to GCC48_{IA32,X64}_CC_FLAGS On Wed, Nov 30, 2022 at 01:28:42PM -0600, Brian J. Johnson wrote: > Gerd, > > Sorry, gotta ask: does this make much difference in the size of the > compiled code? That's a constraint on many real-hardware X64 platforms, > especially for 32-bit code. Quick test with OvmfPkg/OvmfPkgIa32X64.dsc (sec/pei ia32, dxe x64): master branch: FV Space Information SECFV [11%Full] 212992 (0x34000) total, 23728 (0x5cb0) used, 189264 (0x2e350) free PEIFV [34%Full] 917504 (0xe0000) total, 319416 (0x4dfb8) used, 598088 (0x92048) free DXEFV [49%Full] 12582912 (0xc00000) total, 6268032 (0x5fa480) used, 6314880 (0x605b80) free FVMAIN_COMPACT [98%Full] 1753088 (0x1ac000) total, 1725328 (0x1a5390) used, 27760 (0x6c70) free with patch applied: FV Space Information SECFV [11%Full] 212992 (0x34000) total, 23728 (0x5cb0) used, 189264 (0x2e350) free PEIFV [34%Full] 917504 (0xe0000) total, 319416 (0x4dfb8) used, 598088 (0x92048) free DXEFV [50%Full] 12582912 (0xc00000) total, 6335936 (0x60adc0) used, 6246976 (0x5f5240) free FVMAIN_COMPACT [99%Full] 1753088 (0x1ac000) total, 1738176 (0x1a85c0) used, 14912 (0x3a40) free So slightly more for 64-bit code. take care, Gerd