Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 14 Feb 2020 16:14:06 -0500
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: Musl gentoo development: browsers

On Fri, Feb 14, 2020 at 12:51:25PM -0800, Michael Forney wrote:
> Recently, I've been spending some time writing upstreamable patches
> for long standing musl incompatibilities in Firefox (and the parts it
> imports from chromium), and pushing to get them fixed finally.
> 
> So far, I've had some good success:
> https://hg.mozilla.org/mozilla-central/rev/1acc873aa118
> https://hg.mozilla.org/mozilla-central/rev/660da1ec99c0
> https://hg.mozilla.org/mozilla-central/rev/3ec8c96f4d53
> https://hg.mozilla.org/mozilla-central/rev/7c6f9f854cfc
> https://hg.mozilla.org/mozilla-central/rev/a3096ca24124
> 
> All but the last one should be available in the next Firefox release (74).
> 
> I believe the last remaining remaining issue is usage of getcontext in
> tools/profiler. I've just filed a bug at
> https://bugzilla.mozilla.org/show_bug.cgi?id=1615713. I have a couple
> ideas for a fix (outlined in that bug), but haven't written a patch
> yet. If anyone has suggestions, please let me know!
> 
> In one of the reviews, the reviewer mentioned about the existence of
> build target support tiers:
> https://developer.mozilla.org/en-US/docs/Mozilla/Supported_build_configurations
> 
> I was thinking that once Firefox can build with musl out of the box,
> it would be really great to see if we can get Mozilla to consider musl
> to be a Tier 3 target (at least x86_64), so we can avoid any musl
> regressions in the future.

There's a third-party libucontext that can be used with musl, but it's
nonconforming in that it doesn't save/restore signal mask. That
probably doesn't matter for their usage so it might make sense to just
build against that. (Have you checked what Alpine and Adélie and Void
are doing?)

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.