[Webkit-unassigned] [Bug 187485] JavaScriptCore doesn't work with musl-libc

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 26 13:40:10 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=187485

Adrian Perez <aperez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aperez at igalia.com
         Depends on|                            |208223

--- Comment #6 from Adrian Perez <aperez at igalia.com> ---
(In reply to Haelwenn (lanodan) Monnier from comment #5)
> One way which seems less hacky/faulty than the alpine patch there would be
> to use pthread_attr_setstacksize like musl suggests (and no #ifdef should be
> required as it is POSIX) and/or "increasing the default stack size via the
> PT_GNU_STACK program header, which can be set at link time via
> -Wl,-z,stack-size=N".
> 
> I don't have much compiling power on my musl machine now (~2012 laptop with
> intel vulns, will replace it) but I'll try the latter.

The patch in bug #208223 adds configuring stack sizes, so once that
lands maybe the only leftover thing to do in this regard is to detect
if Musl is being used (tricky, maybe it's better to check for “not
glibc”) and set some sane value for DEFAULT_THREAD_STACK_SIZE_IN_KB.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=208223
[Bug 208223] Allow setting of stack sizes for threads
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200226/a891fe87/attachment-0001.htm>


More information about the webkit-unassigned mailing list