From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=66.187.233.73; helo=mx1.redhat.com; envelope-from=lersek@redhat.com; receiver=edk2-devel@lists.01.org Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1B44C21CF1D10 for ; Tue, 13 Feb 2018 10:31:33 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B4275EB6FA; Tue, 13 Feb 2018 18:37:23 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-120-17.rdu2.redhat.com [10.10.120.17]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2D3B8202660C; Tue, 13 Feb 2018 18:37:23 +0000 (UTC) To: Hristo Mihaylov References: <3773dc75-6d95-d1f3-ee52-b9e440682fd3@prodrive-technologies.com> From: Laszlo Ersek Cc: edk2-devel@lists.01.org Message-ID: Date: Tue, 13 Feb 2018 19:37:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <3773dc75-6d95-d1f3-ee52-b9e440682fd3@prodrive-technologies.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 13 Feb 2018 18:37:23 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 13 Feb 2018 18:37:23 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'lersek@redhat.com' RCPT:'' Subject: Re: error C0DE: Unknown fatal error when processing X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2018 18:31:34 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Hi Hristo, On 02/13/18 16:44, Hristo Mihaylov wrote: > Hello, > > I just hit this and it told me to send you the stack trace. I think it's > due to the fact that I created an empty FDF file. > > ``` > hrimih@lnxclnt2002:~/work/edk2.git$ build clean && build && cp > Build/Hvmf/DEBUG_GCC5/X64/HelloWorld.efi ~/work/ovmf/hda-contents [...] > Active Platform          = /home/hrimih/work/edk2.git/HvmfPkg/HvmfPkg.dsc > Flash Image Definition   = /home/hrimih/work/edk2.git/HvmfPkg/HvmfPkg.fdf If you only want to build EFI binaries in your platform DSC file, then you don't need an FDF file. Simply remove the FLASH_DEFINITION entry from the [Defines] section of the DSC file. edk2 contains several DSC files that only build EFI binaries, and no flash images; for example: - AppPkg/AppPkg.dsc - ShellPkg/ShellPkg.dsc If you want to build only one EFI file (regardless of whether you have a FLASH_DEFINITION setting in your DSC file, or not), then you can pass the --module=Relative/Path/To/Module.inf option to the "build" utility. Then "build" will only build "Module.inf". Thanks Laszlo