From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14408 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "A. Wilcox" Newsgroups: gmane.linux.lib.musl.general Subject: Re: Removing glibc from the musl .2 ABI Date: Wed, 17 Jul 2019 08:13:44 -0500 Organization: =?UTF-8?Q?Ad=c3=a9lie_Linux?= Message-ID: <2d36174f-ae85-bcd2-1c71-10f50513b1a6@adelielinux.org> References: <20190717033735.GJ1506@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CuOU622isiug7IGXGSUSpA3bOnXFbSSDd" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="33657"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux ppc64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 To: musl@lists.openwall.com Original-X-From: musl-return-14424-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 17 15:14:08 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1hnjl1-0008cR-Td for gllmg-musl@m.gmane.org; Wed, 17 Jul 2019 15:14:07 +0200 Original-Received: (qmail 18026 invoked by uid 550); 17 Jul 2019 13:14:04 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 17969 invoked from network); 17 Jul 2019 13:14:03 -0000 Openpgp: preference=signencrypt In-Reply-To: <20190717033735.GJ1506@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:14408 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --CuOU622isiug7IGXGSUSpA3bOnXFbSSDd Content-Type: multipart/mixed; boundary="mx3ht9EIsNSRDXKRL8UcmuV6YNwBbaSoK"; protected-headers="v1" From: "A. Wilcox" To: musl@lists.openwall.com Message-ID: <2d36174f-ae85-bcd2-1c71-10f50513b1a6@adelielinux.org> Subject: Re: [musl] Removing glibc from the musl .2 ABI References: <20190717033735.GJ1506@brightrain.aerifal.cx> In-Reply-To: <20190717033735.GJ1506@brightrain.aerifal.cx> --mx3ht9EIsNSRDXKRL8UcmuV6YNwBbaSoK Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 07/16/19 22:37, Rich Felker wrote: > On Thu, Jul 11, 2019 at 06:58:38PM -0500, A. Wilcox wrote: >> (Full disclosure: I am the principal author of gcompat.) >> >> Hi, >> >> Now that gcompat has matured, I was wondering if perhaps musl should >> consider dropping the glibc ABI guarantees when the "2 ABI" lands. >> >> This would make the LFS64 symbol mess completely moot. >=20 > This is separate from the .2 ABI topic, but what would you think about > removing glibc ABI-compat from the current .1 ABI and replacing it > with enhanced gcompat? I was thinking ldso could load libgcompat > instead of returning a reference to itself for DT_NEEDED referencing > libc.so.6, and we could move all ABI-compat symbols into gcompat. >=20 > The reason I bring it up is that ripping out the LFS64 > unwantedly-linkable stuff while keeping it as ABI-only is looking like > more of a pain than I expected. >=20 > Rich We would be more than happy to work with you on that. Would gcompat then become a runtime requirement for glibc apps on musl? What would musl do if gcompat isn't installed on a system? What about things like libm and libdl, which I've seen some apps force DT_NEEDED anyway when built against musl? Just trying to make sure the community has a clear view of what this looks like before we jump in. Best, --arw --=20 A. Wilcox (awilfox) Project Lead, Ad=C3=A9lie Linux https://www.adelielinux.org --mx3ht9EIsNSRDXKRL8UcmuV6YNwBbaSoK-- --CuOU622isiug7IGXGSUSpA3bOnXFbSSDd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjNyWOYPU1SaTSMHHyynLUZIrnRQFAl0vHwsACgkQyynLUZIr nRRSyA//URhWYhaFeaBsIALYMJU/BGM5YoYqv/ZPdslh6SQ8140DItQMR2tu/o0U gYpmcl0WdMRyAyh9GbrT6lLFKpRgveR6hAclOwcX0X7euPc6rWQ99YCtOIwV51/g cAdBffFlepuSH3Fc/kALSTtDUISe8Utu+PE8PtNh+4jDUVDJTRBKh+acHT6In3yc RHVWVcOy1lv54dtlhxy7TCuOi23r4wLr9Qea+SD1kLsiINcOli3I4rtqTIFFFZf9 aOUzScjF5TRLTTPkRupeiVdNM18LfLssfOXEBFDOuETLHvI18DtVpsgNUmvzDtL+ S1bPcqPag//xqnjsNiWaHNraMEVepSiRFtsCt4ziYOPiAXZWNGhb7de4FhQPEeSY ohBw73J7s0DDTtBW5ch1TCx+QtMMfqg4oZJcAhMi6LftPj1oMFflJ/Q9ys5EQ1gL d3UO4p1XcpJcs0m0ckQGLQCelQ7ZIo5mUS2V9xFliISGLyG4CckgmjpBAng+IMvO T5P1qo/KKXsGZ+j5jjz3q4WQsyv7DNFOgP2U/r4l96xnVA+AMS3bC6WTk8AB/GOZ gCfO90cTfMBLzg4YD/xULHLWJFGxA10dxBSZmswAUvnG500bbhhPOUvVI6zl7pO6 Kc35kjLMRNR6zn+sNNr9lPC/P5jLZXXoiQ8i22smXPS/AmdCM18= =LCOd -----END PGP SIGNATURE----- --CuOU622isiug7IGXGSUSpA3bOnXFbSSDd--