mailing list of musl libc
 help / color / mirror / code / Atom feed
From: "A. Wilcox" <awilfox@adelielinux.org>
To: musl@lists.openwall.com
Subject: Re: Removing glibc from the musl .2 ABI
Date: Wed, 17 Jul 2019 13:10:19 -0500	[thread overview]
Message-ID: <dcc781ba-d817-162c-d877-954938605c6d@adelielinux.org> (raw)
In-Reply-To: <20190717151107.GL1506@brightrain.aerifal.cx>


[-- Attachment #1.1: Type: text/plain, Size: 2631 bytes --]

On 07/17/19 10:11, Rich Felker wrote:
> On Wed, Jul 17, 2019 at 08:13:44AM -0500, A. Wilcox wrote:
>> 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.
>>>
>>> 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.
>>>
>>> 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.
>>
>> 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?
> 
> It would just be a failed DT_NEEDED.


Okay, sounds reasonable.


>> What about
>> things like libm and libdl, which I've seen some apps force DT_NEEDED
>> anyway when built against musl?
> 
> These could still be ignored (mapped to internal libc) since any
> program using them would also necessarily be using libc.so.6.


Likewise.


>> Just trying to make sure the community has a clear view of what this
>> looks like before we jump in.
> 
> Yes. This isn't a request to jump in, just looking at feasability and
> whether there'd be interest from your side. Being that ABI-compat
> doesn't actually work very well without gcompat right now, though, I
> think it might make sense. I'll continue to look at whether there are
> other options, possibly just transitional, that might be good too.


I meant: I want a clear view of the boundaries between musl and gcompat,
before we (Adélie / the gcompat team) jump in and start designing how we
want to handle all the new symbols we may end up with :)

We also were considering setting up a dedicated gcompat site so that the
community could share apps that are known to work / fail, symbol
presence, LSB missing symbols, etc.  Would that be of interest from your
side as well?

Best,
--arw

-- 
A. Wilcox (awilfox)
Project Lead, Adélie Linux
https://www.adelielinux.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2019-07-17 18:10 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-11 23:58 A. Wilcox
2019-07-12  0:51 ` Khem Raj
2019-07-12  1:45 ` Rich Felker
2019-07-12  1:47   ` Rich Felker
2019-07-17  3:37 ` Rich Felker
2019-07-17 13:13   ` A. Wilcox
2019-07-17 15:11     ` Rich Felker
2019-07-17 18:10       ` A. Wilcox [this message]
2019-07-17 18:16         ` Rich Felker
2019-07-22 15:52           ` Rich Felker
2019-07-24 15:17             ` Szabolcs Nagy
2019-07-24 16:02               ` Rich Felker
2019-07-24 16:33             ` James Y Knight
2019-07-24 17:36               ` Szabolcs Nagy
2019-07-24 21:31                 ` Rich Felker
2019-07-24 21:29               ` Rich Felker
2019-07-25 16:42                 ` James Y Knight
2019-07-25 20:03                   ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dcc781ba-d817-162c-d877-954938605c6d@adelielinux.org \
    --to=awilfox@adelielinux.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).