From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: redhat.com, ip: 209.132.183.28, mailfrom: lersek@redhat.com) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by groups.io with SMTP; Tue, 16 Apr 2019 09:39:46 -0700 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2E0193199369; Tue, 16 Apr 2019 16:39:46 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-120-171.rdu2.redhat.com [10.10.120.171]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7896B1001E89; Tue, 16 Apr 2019 16:39:45 +0000 (UTC) Subject: Re: [edk2-devel] Remove debug strings from OVMF.fd To: devel@edk2.groups.io, pedroyossis@gmail.com References: From: "Laszlo Ersek" Message-ID: <7f8cecae-1908-0f4b-e2f3-26d7311c54b8@redhat.com> Date: Tue, 16 Apr 2019 18:39:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Tue, 16 Apr 2019 16:39:46 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 04/16/19 17:46, Pedro Barbosa wrote: > Hi EDK2 developers, > > I'm trying to build OVMF without debug symbols but even building as > RELEASE, I still can see some strings on the PE files, such as: > /Build/OvmfX64/RELEASE_GCC5/X64/MdeModulePkg/Application/UiApp/UiApp/DEBUG/UiApp.dll > and many others in the format */DEBUG/*.dll > > Is there a way to build without these strings? > > Thanks! > Do you see such strings in "UiApp.efi" too? (When built for RELEASE.) "UiApp.dll" is an intermediate build product. Thanks, Laszlo