On 14/02/2020 15:14, Rich Felker wrote: > On Fri, Feb 14, 2020 at 12:51:25PM -0800, Michael Forney wrote: >> 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! > 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 > As far as I'm aware, all musl distributions disable the profiler because it doesn't work properly on musl. Michael's work would enable us to build it at all. For clarification, it does handle the signal mask, but only on PowerPC where the Linux kernel has a syscall specifically for ucontext. Best, --arw -- A. Wilcox (awilfox) Project Lead, Adélie Linux https://www.adelielinux.org