From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Goldstein Subject: Re: Two linkers - EFI one (mingw64) and normal GNU one [Fedora] Date: Mon, 15 Feb 2016 09:01:03 -0600 Message-ID: <56C1E82F.6000001@cardoe.com> References: <20160212171908.GA10110@char.us.oracle.com> <56C1A94D02000078000D1F96@prv-mh.provo.novell.com> <20160215142616.GE3698@char.us.oracle.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4510931406796490438==" Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aVKeM-0003XG-8a for xen-devel@lists.xenproject.org; Mon, 15 Feb 2016 15:01:18 +0000 Received: by mail-yk0-f178.google.com with SMTP id z7so60927037yka.3 for ; Mon, 15 Feb 2016 07:01:16 -0800 (PST) In-Reply-To: <20160215142616.GE3698@char.us.oracle.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: Konrad Rzeszutek Wilk , Jan Beulich Cc: wei.liu2@citrix.com, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, m.a.young@durham.ac.uk, xen-devel , ian.jackson@citrix.com List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============4510931406796490438== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tpbqgicTHGiBTtuRGCKQl6T1V1qbHgURO" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tpbqgicTHGiBTtuRGCKQl6T1V1qbHgURO Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2/15/16 8:26 AM, Konrad Rzeszutek Wilk wrote: > On Mon, Feb 15, 2016 at 02:32:45AM -0700, Jan Beulich wrote: >>>>> On 12.02.16 at 18:19, wrote: >>> Fedora for the longest time seems to have two linkers - one normal fo= r GNU >>> applications and then another - mingw64 - for building EFI applicatio= ns. >>> >>> Which means that to compile ELF binaries on Fedora requires this patc= h >>> (taken from Fedora build): >> >> This seems completely backwards: Just like we (SUSE) did, they >> should really configure their binutils package with >> --enable-targets=3D-pep. I absolutely cannot see why a >> MingW64 linker should be used to generate EFI binaries. Yes, >> both use the same binary container format, but beyond that >> there's nothing common here: EFI binaries are of no use in a >> MingW64 environment (afaict at least), but are nowadays an >> integral part of an OS installation (i.e. a Linux distro in this case)= =2E >> >>> +LD_EFI ?=3D $(LD) >> >> Why couldn't you just probe the binary location(s) you know about >> here? But in any case this would perhaps need better integration >> with the checking done in xen/arch/x86/efi/Makefile. >=20 > > I can certainly do that. >=20 > Doug, does Gentoo have it in some other locations? >> >> Jan >> Gentoo does --enable-targets=3D-pep so our default ld can generate EFI binaries. --=20 Doug Goldstein --tpbqgicTHGiBTtuRGCKQl6T1V1qbHgURO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0 iQJ8BAEBCgBmBQJWweg3XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNTM5MEQ2RTNFMTkyNzlCNzVDMzIwOTVB MkJDMDNEQzg3RUQxQkQ0AAoJEKK8A9yH7RvUb7UP/0YBGdZuYwAe4EaQxVWvekZV 8DEDxWdIh4xThjXamelgWjt8foM1BJJHmevD5wIy5Ik2D+gEudZvpc1wyQ/lelh2 VGzARVrnbYns1DeNPHzEFd8nQ9ZVQ7Pvu5LXzB9VbnR+UQDoytA8Q80lYsJI/c3G XAmSP8fW2AISRRP0+RsZZE6T66ZX/l6+nncwx9qaZ2dtbQfv0gQrdlylVc60MzLX Bnr4rKIl8dj+HN0Iqh70Kb4aP9m2LC7c4gWXVnQGQu0P1UUxf67+qOvZ/EkyRXCm /pqQoPtzIcZI4NiTdg28Ao7kc4Qik21ogsVfzhYL3+yeKels0DrI4zujrLWVhbTu dptUI3ctmku4NbYuAJnfQljiP51sp9frfjiVyNfqZvIy54Y1gqiyDd2ZjKRYvK0c 4f6nBWyQeuTIaRta4XvSG7/sx10NORdS4rIoqCM8X9nXPHFE8oXeHv5tQSEr0CNN Mkrb5L2xtc9mtwy2Bpk/6es9CaSk9JZg3APxY5qvWc09J9lYGWiYTtahsA1c8366 MtX4tSwPoH7DGzkKpeRGDu9T6/ahhjRoiIpx8TDPSc+kfe1Gq81l4jIa2OY7JdZ5 0LdEoO4F7JxKg5LyKcWfnXN9wl6tbsvp0Cl5OyRjmGOpVH7StmYoCMWWY75B8VDG Jm1AVzGCWBFc93BkN6PI =5u84 -----END PGP SIGNATURE----- --tpbqgicTHGiBTtuRGCKQl6T1V1qbHgURO-- --===============4510931406796490438== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============4510931406796490438==--