From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27637 invoked by alias); 24 Mar 2015 19:46:46 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 27621 invoked by uid 89); 24 Mar 2015 19:46:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 24 Mar 2015 19:46:44 +0000 Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 3450334093F; Tue, 24 Mar 2015 19:46:42 +0000 (UTC) Date: Tue, 24 Mar 2015 19:46:00 -0000 From: Mike Frysinger To: Mark Kettenis Cc: hector.oron@gmail.com, gdb-patches@sourceware.org Subject: Re: [patch] libcc1: dynamic load versioned library Message-ID: <20150324194642.GG10761@vapier> Mail-Followup-To: Mark Kettenis , hector.oron@gmail.com, gdb-patches@sourceware.org References: <201503241633.t2OGX6aO002810@glazunov.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ahP6B03r4gLOj5uD" Content-Disposition: inline In-Reply-To: <201503241633.t2OGX6aO002810@glazunov.sibelius.xs4all.nl> X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00811.txt.bz2 --ahP6B03r4gLOj5uD Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 652 On 24 Mar 2015 17:33, Mark Kettenis wrote: > From: Hector Oron > > I believe libcc1 is versioned library therefore, it should dlopen on > > libcc1.so.0 instead libcc1.so. > > The patch should be applied to master and 7.9 branch. >=20 > And what happens if the major version of the library is bumped? then we need to handle it ? there's no guarantee the ABI is compatible ... if it was, then it probably wouldn't have changed SONAMEs. usually the libxxx.so symlink isn't generated on runtime systems. you need to install extra dev packages to get it. so loading the SONAME directly is almost always the right thing. -mike --ahP6B03r4gLOj5uD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVEb8iAAoJEEFjO5/oN/WBSjgP/23BAObeebML78nyjWj78x7q USxzraYFDiyGdJJDjMlGAhUAglAVGI+99tPj4kdWPqDJVUnMAmLSV4V2R0ATgSGn pLh2GjBZNIiV+KJH3/Xc1/BuSjYAICn1Rz17khj5t0kRWvdECI88Zl2sti/ySIVK 1DAGhdVLVl9dQSp/t34/3uUoyylJjia/5aMVj24p7Y/RBiigGCKobP3H2L4zlEoJ Z3nmq/Q/KZwczsfbEQxjr/YfjbUStVv/3D0dqF6UlTtaC9Hp75y/rsvcOpolq8Mc oDcZzlO2BvcIZRjjnxQ9lhaLWQZKNLALQrncghnebfKFyDwRz26E4sjukKySuWC1 0AFh8SR60kruvJ10CpaYXUIVgsuUPhxC5y7RAPPMZrrrYg6Om66KuySCv/0MifOd lYMP1zVbSA/6c+SSpveJD+1YJhxZOwm6qv2CjiHDCU+hnG7ibzwOz8uyqcX/Jmjx ux95ieTGhHRxlV7SixYUvLOfPdwJB3ZruAkBTx+haVu0rnW0V6RhhdZtj4eAjQdT bbWKYN7pyEC2CP4M67E4Vw9sQzUqSygQ5KH2MGNMFBEjN8+odPx1apaJuRQqfhGo vG/12N2Q4C3xbEtIpkpVD+RMDruqCB5WEfrJsksrshZu9fr4mEVk4DDvu0VPSt0m tArKOb6yjf69+zOzWH9V =/jAD -----END PGP SIGNATURE----- --ahP6B03r4gLOj5uD--