From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.37985.1669883930343179389 for ; Thu, 01 Dec 2022 00:38:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XFRuifH/; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669883929; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nMv26stX3eeCfuYQqPlRoRHT4sZzeJgysHZyYTmY+XI=; b=XFRuifH/fuFKobACmrKHV/z7Fzq3wmUIu8XXDpKZXAt+OS7TJXz+pZvWYXgwcjdwySMv0b V8eF1uOxoSLQXv0uGrb4LP7D+LD+GscOw9fwH2DHps07QgPHvhrQD+HePP+BKTZoI9YS0Q RYORKvw2BIr400VTVnV/vV6wOb2QpRY= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-614-iKSNe2uRNA6pIdp_RL09Lg-1; Thu, 01 Dec 2022 03:38:46 -0500 X-MC-Unique: iKSNe2uRNA6pIdp_RL09Lg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AD62D101A52A; Thu, 1 Dec 2022 08:38:45 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.79]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9CBC7140EBF5; Thu, 1 Dec 2022 08:38:44 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 589C31800080; Thu, 1 Dec 2022 09:38:43 +0100 (CET) Date: Thu, 1 Dec 2022 09:38:43 +0100 From: "Gerd Hoffmann" 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: Re: [edk2-devel] [PATCH v7 2/2] tools_def: add -fno-omit-frame-pointer to GCC48_{IA32,X64}_CC_FLAGS Message-ID: <20221201083843.x76y3hu4p67o2g7t@sirius.home.kraxel.org> References: <20221130094414.1983787-1-kraxel@redhat.com> <20221130094414.1983787-3-kraxel@redhat.com> <88bbd6a4-1e6c-7916-91be-76cae167aa74@hpe.com> MIME-Version: 1.0 In-Reply-To: <88bbd6a4-1e6c-7916-91be-76cae167aa74@hpe.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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