From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Kiper Subject: Re: [PATCH 08/18] efi: build xen.gz with EFI code Date: Fri, 27 Mar 2015 12:14:57 +0100 Message-ID: <20150327111457.GG8294__35727.4378803142$1427454989$gmane$org@olila.local.net-space.pl> References: <1422640462-28103-1-git-send-email-daniel.kiper@oracle.com> <1422640462-28103-9-git-send-email-daniel.kiper@oracle.com> <54F49A6E02000078000653CF@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YbSES-0008SS-GE for xen-devel@lists.xenproject.org; Fri, 27 Mar 2015 11:15:20 +0000 Content-Disposition: inline In-Reply-To: <54F49A6E02000078000653CF@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Juergen Gross , grub-devel@gnu.org, keir@xen.org, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com, roy.franz@linaro.org, ning.sun@intel.com, david.vrabel@citrix.com, phcoder@gmail.com, xen-devel@lists.xenproject.org, qiaowei.ren@intel.com, richard.l.maliszewski@intel.com, gang.wei@intel.com, fu.wei@linaro.org List-Id: xen-devel@lists.xenproject.org On Mon, Mar 02, 2015 at 04:14:22PM +0000, Jan Beulich wrote: > >>> On 30.01.15 at 18:54, wrote: > > --- a/xen/arch/x86/efi/Makefile > > +++ b/xen/arch/x86/efi/Makefile > > @@ -1,14 +1,14 @@ > > CFLAGS += -fshort-wchar > > > > -obj-y += stub.o > > +obj-y += boot.o > > +obj-y += compat.o > > +obj-y += runtime.o > > So how is this going to work with a compiler not new enough to > support the MS ABI (via function attribute)? README says: First, there are a number of prerequisites for building a Xen source release. Make sure you have all the following installed, either by visiting the project webpage or installing a pre-built package provided by your OS distributor: * GCC v4.1 or later IIRC, MS ABI is supported starting from GCC v4.0. Should we care about people using compilers older than we require? Though another question arises. Is it possible to build GCC v4.0 and newer with MS ABI disabled? If yes then we should take into account that thing. Daniel