From: "Jan Beulich" Subject: Re: [PATCH v1 1/5] xsplice: Design document. Date: Mon, 26 Oct 2015 06:10:51 -0600 Message-ID: <562E265B02000078000AE92F@prv-mh.provo.novell.com> References: <1442437276-2620-1-git-send-email-konrad.wilk@oracle.com> <1442437276-2620-2-git-send-email-konrad.wilk@oracle.com> <562E1620.30301@amazon.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 1Zqgc7-0003v9-Kf for xen-devel@lists.xenproject.org; Mon, 26 Oct 2015 12:10:59 +0000 In-Reply-To: <562E1620.30301@amazon.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Martin Pohlack Cc: elena.ufimtseva@oracle.com, hanweidong@huawei.com, john.liuqiming@huawei.com, paul.voccio@rackspace.com, daniel.kiper@oracle.com, major.hayden@rackspace.com, liuyingdong@huawei.com, aliguori@amazon.com, xiantao.zxt@alibaba-inc.com, lars.kurth@citrix.com, steven.wilson@rackspace.com, ian.campbell@citrix.com, peter.huangpeng@huawei.com, msw@amazon.com, xen-devel@lists.xenproject.org, rick.harris@rackspace.com, boris.ostrovsky@oracle.com, josh.kearney@rackspace.com, jinsong.liu@alibaba-inc.com, amesserl@rackspace.com, fanhenglong@huawei.com, andrew.cooper3@citrix.com List-Id: xen-devel@lists.xenproject.org >>> On 26.10.15 at 13:01, wrote: > On 16.09.2015 23:01, Konrad Rzeszutek Wilk wrote: >> +The convention for file-type symbols (that would allow to map many >> +symbols to their compilation unit) says that only the basename (i.e., >> +without directories) is embedded. This creates another layer of >> +confusion for duplicate file names in the build tree. >> + >> +That would have to be resolved. > > Another approach here would be to qualify symbol names by the > object-file name which contains them + a unique path component, for example: > > drivers/pci/pci.o > arch/x86/pci.o > arch/x86/x86_64/pci.o I wouldn't want to do this uniformly. A patch series doing this where needed has been proposed already: http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02702.html Jan