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

Re: [XEN PATCH for-4.17 v5 10/17] libs: Fix auto-generation of version-script for unstable libs


  • To: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
  • From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Date: Mon, 17 Oct 2022 15:19:30 +0100
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "George Dunlap" <George.Dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, "Julien Grall" <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>
  • Delivery-date: Mon, 17 Oct 2022 14:19:57 +0000
  • Ironport-data: A9a23:imnpTaKd9OGnQKFrFE//H55yshmJRhNe4xJyi0ilI8yiH7QXhM5G7Omlw1jQegf0YDIFSlbiPPRe58jS4n/sN0mM7nHaNIReUAWC40vRmYVWU1rgR/z3pRu094SsKwfz7B26pzBF2z3/8PF8dlVkg7KM+SjUpvQYLENoWeqJqksg5uzA3myk53ny+xH4gqZZQ0OtwXAcEZBSC16ACAlHHP+mSUl7BPAhqtSeIdRW40kJ2lp5jr0VvvHypvPlSbc1iS3hhxpqr/Px9R0WgHjxd2vkj8G6kWc6xl9B8LfMnXQPh4iXDp3w+nndLwWF9K068xbfvjRBvUjiGcg3pVU+EQ3RUf3TTqSa4xUQoA4+5LCG3eCakJsHJe+qV9U2oLABRsz6SsgpjurzdsslqyGDF2Ha36jTB8HyLTxF+phTgQZLNQbZO4AO10KSmpcBIeUrxsLGFVOwQMUVc8/hCXiFLw8zmrKKlhkZ+M9IVbvC6MlyIxfJ8Tvd85SgfU70rdyU4gVEYz5u8SBDK6rfKbDWtYp6Az+J1BDcY7AIllOFU1aXZH1rzRlVbaD6lQS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ZpG+NG9sHNQtQj4xpw0JP4sujjyNCnHioCSfOtEYvMS6Px7bCojAPd5aK7e5SmhTBDDro10TFZtLW2ZQ6CKoZ0GxR4wuE+LjT8J2nU7E9NVas9k+wP/S7PwiTK/Tl10L+WZvKqsHtq3XQux0iru0=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Fri, Oct 14, 2022 at 06:16:27PM +0000, Andrew Cooper wrote:
> On 13/10/2022 14:05, Anthony Perard wrote:
> > Alternatively, we could remove the need for to generate a
> > version-script, but that would mean the exported symbols won't have a
> > version anymore (like before, a few versions of Xen ago). Or, we could
> > use --default-symver, but the symboled would be versionned with the
> > soname (e.g. "libxenctrl.so.4.16.0") instead of "VERS_4.16.0".
> 
> It turns out that the use of VERS_* everywhere is buggy.  We should have
> had 'XEN$FOO' in the soname for libraries.  But it's too late for the
> stable ones.
> 
> As far as the unstable libraries go, it really doesn't matter.  The only
> thing we care about (rightly or wrongly) is that you can't mistake the
> libraries from different versions of Xen.
> 
> --default-symver sounds like it would be ideal, and avoid writing out
> temporary version scripts.

Sounds good to me, I'll rewrite the patch to use --default-symver.
Hopefully, that's an old enough option.

Thanks,

-- 
Anthony PERARD



 


Rackspace

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