From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH v2 2/3] XENVER_build_id: Provide ld-embedded build-ids Date: Wed, 6 Jan 2016 12:27:22 -0500 Message-ID: <20160106172722.GA8633@char.us.oracle.com> References: <1446838577-7563-1-git-send-email-konrad.wilk@oracle.com> <1446838577-7563-3-git-send-email-konrad.wilk@oracle.com> <56422E0C02000078000B37E2@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aGrru-00084D-Ux for xen-devel@lists.xenproject.org; Wed, 06 Jan 2016 17:27:31 +0000 Content-Disposition: inline In-Reply-To: <56422E0C02000078000B37E2@prv-mh.provo.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: wei.liu2@citrix.com, ian.campbell@citrix.com, andrew.cooper3@citrix.com, ian.jackson@eu.citrix.com, mpohlack@amazon.de, xen-devel@lists.xenproject.org, dgdegra@tycho.nsa.gov List-Id: xen-devel@lists.xenproject.org On Tue, Nov 10, 2015 at 09:49:00AM -0700, Jan Beulich wrote: > >>> On 06.11.15 at 20:36, 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. Or are you thinking of a different LD altogether and checking for that? > > Jan >