From: "Jan Beulich" Subject: Re: Need some help about the build xen.efi Date: Wed, 02 Nov 2011 10:34:14 +0000 Message-ID: <4EB12AB6020000780005E679@nat28.tlf.novell.com> References: <4EAEAC4B.4000004@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4EAEAC4B.4000004@oracle.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: liang tang Cc: "xen-devel@lists.xensource.com" , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org >>> On 31.10.11 at 15:10, liang tang wrote: > Hi,Jan > I have download xen unstable tree which include your efi patch,and = try=20 > to build xen.efi ,but there only have xen.gz ,don't have xen.efi .I = find=20 > the file xen\arch\x86\efi\disable have report some error : ld don't =20 > support -m i386pep. my gcc version is 4.6.1. Apart from an up-to-date compiler you also need an up-to-date (and properly configured) static linker (binutils 2.22 will be the first = upstream version to have the necessary support). > if modify the i386pep to elf_x86_64 ,the build can continue ,and = report=20 > other error --subsystem=3D10 and --image-base=3D0xffff82c480000000 = unrecognized. > do you have any suggestion about that? thank you very much! >=20 > the detail is follow. > ld: unrecognized option '--image-base=3D0xffff82c480000000' Quite obviously, as it's wrong.. You want an EFI binary, not an ELF one. > In the xen/arch/x86/efi/disabled > ld: unrecognized emulation mode: i386pep > Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 i386linux = elf_l1om That just points out what I said above about the ld to use. Jan