Re: [Xen-devel] [PATCH 2/2] x86/EFI: use less crude way of generating the build ID

2016-08-22 Thread Jan Beulich
>>> On 19.08.16 at 18:14, wrote: > On Mon, Aug 15, 2016 at 10:15:47AM -0400, Konrad Rzeszutek Wilk wrote: >> On Mon, Aug 15, 2016 at 01:58:47AM -0600, Jan Beulich wrote: >> > >>> On 15.08.16 at 01:42, wrote: >> > >> --- a/xen/arch/x86/efi/Makefile >> > >> +++ b/xen/arch/x86/efi/Makefile >> > >> @

Re: [Xen-devel] [PATCH 2/2] x86/EFI: use less crude way of generating the build ID

2016-08-19 Thread Konrad Rzeszutek Wilk
On Mon, Aug 15, 2016 at 10:15:47AM -0400, Konrad Rzeszutek Wilk wrote: > On Mon, Aug 15, 2016 at 01:58:47AM -0600, Jan Beulich wrote: > > >>> On 15.08.16 at 01:42, wrote: > > >> --- a/xen/arch/x86/efi/Makefile > > >> +++ b/xen/arch/x86/efi/Makefile > > >> @@ -9,6 +9,9 @@ efi := $(if $(efi),$(shell

Re: [Xen-devel] [PATCH 2/2] x86/EFI: use less crude way of generating the build ID

2016-08-15 Thread Konrad Rzeszutek Wilk
On Mon, Aug 15, 2016 at 01:58:47AM -0600, Jan Beulich wrote: > >>> On 15.08.16 at 01:42, wrote: > >> --- a/xen/arch/x86/efi/Makefile > >> +++ b/xen/arch/x86/efi/Makefile > >> @@ -9,6 +9,9 @@ efi := $(if $(efi),$(shell $(CC) $(filte > >> efi := $(if $(efi),$(shell $(LD) -mi386pep --subsystem=10 -o

Re: [Xen-devel] [PATCH 2/2] x86/EFI: use less crude way of generating the build ID

2016-08-15 Thread Jan Beulich
>>> On 15.08.16 at 01:42, wrote: >> --- a/xen/arch/x86/efi/Makefile >> +++ b/xen/arch/x86/efi/Makefile >> @@ -9,6 +9,9 @@ efi := $(if $(efi),$(shell $(CC) $(filte >> efi := $(if $(efi),$(shell $(LD) -mi386pep --subsystem=10 -o check.efi >> check.o 2>disabled && echo y)) >> efi := $(if $(efi),$(

Re: [Xen-devel] [PATCH 2/2] x86/EFI: use less crude way of generating the build ID

2016-08-14 Thread Konrad Rzeszutek Wilk
> --- a/xen/arch/x86/Makefile > +++ b/xen/arch/x86/Makefile > @@ -158,24 +158,30 @@ $(TARGET).efi: VIRT_BASE = 0x$(shell $(N > $(TARGET).efi: ALT_BASE = 0x$(shell $(NM) efi/relocs-dummy.o | sed -n 's, A > ALT_START$$,,p') > # Don't use $(wildcard ...) here - at least make 3.80 expands this too e

[Xen-devel] [PATCH 2/2] x86/EFI: use less crude way of generating the build ID

2016-08-12 Thread Jan Beulich
Recent enough binutils support --build-id also for COFF/PE output, and hence we should use that in favor of the original hack when possible. This gets complicated by the linker requiring at least one COFF object file to attach the .buildid section to. Hence the patch introduces a buildid.ihex (in