[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 2/3] XENVER_build_id: Provide ld-embedded build-ids



>>> On 06.01.16 at 18:27, <konrad.wilk@xxxxxxxxxx> wrote:
> On Tue, Nov 10, 2015 at 09:49:00AM -0700, Jan Beulich wrote:
>> >>> On 06.11.15 at 20:36, <konrad.wilk@xxxxxxxxxx> wrote:
>> > --- a/xen/arch/x86/Makefile
>> > +++ b/xen/arch/x86/Makefile
>> > @@ -109,15 +109,19 @@ $(TARGET)-syms: prelink.o xen.lds 
> $(BASEDIR)/common/symbols-dummy.o
>> >    $(NM) -pa --format=sysv $(@D)/.$(@F).0 \
>> >            | $(BASEDIR)/tools/symbols --sysv --sort >$(@D)/.$(@F).0.S
>> >    $(MAKE) -f $(BASEDIR)/Rules.mk $(@D)/.$(@F).0.o
>> > -  $(LD) $(LDFLAGS) -T xen.lds -N prelink.o \
>> > +  $(LD) $(LDFLAGS) -T xen.lds -N prelink.o --build-id=sha1 \
>> 
>> You continue to use option this unconditionally.
> 
> I presume you are suggesting that I should check that the $(LD) can use this 
> right?
> 
> I've been building this using an ancient tool-chain:
> GNU ld version 2.20.51.0.2-20.fc13 20091009
> 
> And even there it is OK.

With us supporting gcc back to 4.1, binutils should be supported
back to what was available at about that time, i.e. at least 2.17,
whereas --build-id only got introduced in 2.18.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.