From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YbSqa-0001fm-E6 for mharc-grub-devel@gnu.org; Fri, 27 Mar 2015 07:54:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbSqX-0001fF-MF for grub-devel@gnu.org; Fri, 27 Mar 2015 07:54:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YbSqU-000445-Gi for grub-devel@gnu.org; Fri, 27 Mar 2015 07:54:41 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:47822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbSqU-00042p-CC for grub-devel@gnu.org; Fri, 27 Mar 2015 07:54:38 -0400 X-IronPort-AV: E=Sophos;i="5.11,478,1422921600"; d="scan'208";a="248929864" Message-ID: <551544DB.3010601@citrix.com> Date: Fri, 27 Mar 2015 11:54:03 +0000 From: Andrew Cooper User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 MIME-Version: 1.0 To: Jan Beulich , Daniel Kiper Subject: Re: [PATCH 08/18] efi: build xen.gz with EFI code 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> <20150327111457.GG8294@olila.local.net-space.pl> <5515511E020000780006E7AF@mail.emea.novell.com> In-Reply-To: <5515511E020000780006E7AF@mail.emea.novell.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-DLP: MIA1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.165.176.63 Cc: Juergen Gross , grub-devel@gnu.org, keir@xen.org, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, phcoder@gmail.com, roy.franz@linaro.org, ning.sun@intel.com, david.vrabel@citrix.com, xen-devel@lists.xenproject.org, qiaowei.ren@intel.com, richard.l.maliszewski@intel.com, gang.wei@intel.com, fu.wei@linaro.org X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 11:54:42 -0000 On 27/03/15 11:46, Jan Beulich wrote: >>>> On 27.03.15 at 12:14, wrote: >> IIRC, MS ABI is supported starting from GCC v4.0. > Where did you find that? From all I know __attribute__((__ms_abi__)) > is being supported only by 4.5 and newer. The mere support of the > MS ABI via command line option doesn't help us, as we need to be > able to mix ABIs within a single source file. > > Jan > As I have indicated elsewhere (but can't seem to locate - it was a while ago), I think it is perfectly reasonable to have a CONFIG_EFI which is only enabled if the makefile detects GCC >= 4.5 That way, older build environments don't get EFI support, while newer ones do, and newer systems can safely use __attribute__((__ms_abi__)) to make a mixed abi binary. ~Andrew