From owner-freebsd-x11@freebsd.org Fri Aug 14 21:49:09 2015 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9621D9B98AE for ; Fri, 14 Aug 2015 21:49:09 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 720C717C5 for ; Fri, 14 Aug 2015 21:49:09 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6F11A9B98AD; Fri, 14 Aug 2015 21:49:09 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55C1D9B98AC for ; Fri, 14 Aug 2015 21:49:09 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DF0E17C2 for ; Fri, 14 Aug 2015 21:49:09 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: by igbjg10 with SMTP id jg10so21072565igb.0 for ; Fri, 14 Aug 2015 14:49:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UbWM/6+cwnI1XVmaPJQUzOtiZU04v9Qon3OitS0Oiic=; b=v2Fdi2JhDwXbdNjep1UqLQmCnXbEzGyk2M/tGLgGN+FNi089bnLlFeh/mrnAJzAOxg 82A3Yjn+a1yvU6nIdjPcS4SrDSe9ze3jCvAwnv7phpevNQoKocHr4aJWENIiGpxpOPFO E8NWy5GWlFZh8yl7fdQ/LeTR7KVsiTUFjzDbRHdvKHqr9rogiCP83iOaq9A9BPM339m5 s4LSZA+UthkCtnalX8yNDlyo4jkEnpDHAhQBfsbeeOGrF6GGEBuYNTk3S2g2lwGY+EMz G+U6lMg3aM2Ify0bdHh4iIASRLQ/zLGkUOU1FZ8bUxsVCd1w8aC7XjM3oSmGmC7nkan4 0T7g== MIME-Version: 1.0 X-Received: by 10.50.29.101 with SMTP id j5mr4754413igh.50.1439588948580; Fri, 14 Aug 2015 14:49:08 -0700 (PDT) Received: by 10.79.89.197 with HTTP; Fri, 14 Aug 2015 14:49:08 -0700 (PDT) In-Reply-To: <20150814194753.GC19762@mail.corp.redhat.com> References: <20150814194753.GC19762@mail.corp.redhat.com> Date: Fri, 14 Aug 2015 22:49:08 +0100 Message-ID: Subject: Re: [RFC] Embed the mesa version in the library/binary name From: Emil Velikov To: Rob Clark Cc: Igor Gnatenko , riastradh@netbsd.org, Stefan Dirsch , Andreas Radke , Jan de Groot , Jonathan Gray , =?UTF-8?Q?Fran=C3=A7ois_Tigeot?= , Matthew Green , =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= , mesa@packages.debian.org, x11@freebsd.org, mesa-owner , Adam Jackson Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Fri, 14 Aug 2015 22:36:53 +0000 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2015 21:49:09 -0000 On 14 August 2015 at 20:47, Rob Clark wrote: > On Aug 14 2015 or thereabouts, Igor Gnatenko wrote: >> On Aug 14, 2015 6:21 PM, "Emil Velikov" wrote: >> > >> > Hello all, >> Hi, >> > >> > My name is Emil and I'm the person breaking^w fixing mesa's build >> > amongst others. >> Yes, we know :D >> > >> > A while back I had this idea of renaming the libraries provided by >> > mesa to include the actual version number. Prior to doing anything >> > "crazy" I've decided to seek your feedback. >> > >> > >> > * What >> > The idea is to rename (ideally) all of the versioned libraries. >> > Unversioned ones such as radeonsi_dri.so will remain as is. >> > >> > Note: the soname and symlinks will stay to avoid breaking compatibility. >> > >> > >> > * How >> > While I haven't fully decided on the exact approach I'm thinking of >> > something like: >> > libGL.so.1.0.0 -> libGL.so.11.0 or libGL.so.110.1 or libGL.so.11.01 >> I'd like to see 11.0 for 11.0, 11.1 for 11.1 and etc. > > Adam probably knows better, but I thought libGL.so/.1/ These files are symlinks to the actual library and will not be renamed. >.1.2.0 as part of > the linux/unix GL ABI? So not really sure that it is something we can > actually change. > I'm fairly confident it's not part of the ABI. I've been through the documentation five+ times, solely looking for it and did not see any hints, let alone explicit statement. Not to mention that nvidia has been using this approach since dawn of time. Even their oldest legacy driver 71.x (one supporting Geforce 256) uses it. > That said, with the libOpenGL stuff we could probably do something > better. > That does not prevent us from doing minor tweaks :) Cheers, Emil