From mboxrd@z Thu Jan 1 00:00:00 1970 X-Received: by 2002:adf:e4ca:: with SMTP id v10-v6mr1562668wrm.10.1529422888384; Tue, 19 Jun 2018 08:41:28 -0700 (PDT) X-BeenThere: voidlinux@googlegroups.com Received: by 2002:a1c:9ecf:: with SMTP id h198-v6ls143449wme.6.gmail; Tue, 19 Jun 2018 08:41:27 -0700 (PDT) X-Received: by 2002:a1c:7401:: with SMTP id p1-v6mr1377641wmc.17.1529422887741; Tue, 19 Jun 2018 08:41:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529422887; cv=none; d=google.com; s=arc-20160816; b=usRoXjV+ptp/QCJi1aydteGTdFlnh5ZUq5PGVVi5M545JdE6aumHCGIlpUYFfhkvM2 C/hIzNpXjhY6RTYh14M8KHcZ5HXHOiASSIJ9Ar56xHRiSxcfvmPjObAAbWA8MiCCeoRt 5tDuwp2KCyqUG56z4Xs2gaFNPeJUA/855s2opxvvJ0xk1o+by7M2HNFhLADWaqVZT4xK Y9ExHRTb6B6SESdJMISntAHYsZGETiBL69EvbFGZUBmYO9+AT89NcZc8QOyrhJCqCh3P gRC/9Aj2+Z28tIMygy6wzoqupn0wg9Pw6mlUueurI+z9xJQmRTgkBd3QzXPff2u/W6Th P/EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from :arc-authentication-results; bh=5o/9pi4XCPgdpCJ0PAUg1dyWQBIGdZDt52maWV8vxRk=; b=tcrjx0l0QNZfsCglwRGBgStQlQDu4A3vDaDDg/eLuwoOdIqTYBqnfL3gSziaVM6bHM HgzQaSjj2CsXcAmuib7ThEHWsJtpTG5ECESYcRiRjptywbH2hQkv7wWsiBqkI73vLtbN Xc+hN9FRbaNd/8nCM5NgRCc3/e+VZzzuQ3jJzUg+gOqYE80lrO5/r52Ue6YxrZVJrf4S j/d7SApdyY3Fe0UcvZ16hjs7VNmSbPlzfBy7sv2rC6Ix701sSWchIHKOfv7yrRc4p2Qy BIwHA/HBIg9/hbPnj2om8Xd/py4AzjYVMJekEblepRS0fEdpBz88apeMv1EPNH49pcaj 3kvg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of qu...@fifth.space designates 45.32.148.28 as permitted sender) smtp.mail...@fifth.space Return-Path: Received: from mx0.fifth.space (fifth.space. [45.32.148.28]) by gmr-mx.google.com with ESMTPS id c23-v6si16362wmb.0.2018.06.19.08.41.27 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jun 2018 08:41:27 -0700 (PDT) Received-SPF: pass (google.com: domain of qu...@fifth.space designates 45.32.148.28 as permitted sender) client-ip=45.32.148.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of qu...@fifth.space designates 45.32.148.28 as permitted sender) smtp.mail...@fifth.space Received: from localhost (fifth.space [local]) by fifth.space (OpenSMTPD) with ESMTPA id c42ee1f4 for ; Tue, 19 Jun 2018 17:41:23 +0200 (CEST) From: Quentin Rameau To: Void Linux Subject: [PATCH 1/4] webkit2gtk: add stack-size patch Date: Tue, 19 Jun 2018 17:41:18 +0200 Message-Id: <20180619154121.40330-2-quinq@fifth.space> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180619154121.40330-1-quinq@fifth.space> References: <20180619154121.40330-1-quinq@fifth.space> Taken from Gentoo musl overlay. This is just plaster and a better fix would be to set stacksize according to the JavaScriptCore needs on request. --- srcpkgs/webkit2gtk/patches/fix-stacksize.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/webkit2gtk/patches/fix-stacksize.patch diff --git a/srcpkgs/webkit2gtk/patches/fix-stacksize.patch b/srcpkgs/webkit2gtk/patches/fix-stacksize.patch new file mode 100644 index 0000000000..987d7f3c83 --- /dev/null +++ b/srcpkgs/webkit2gtk/patches/fix-stacksize.patch @@ -0,0 +1,15 @@ +--- Source/JavaScriptCore/runtime/Options.h.orig 2018-04-13 13:23:28.147699729 +0200 ++++ Source/JavaScriptCore/runtime/Options.h 2018-04-13 13:24:24.256969737 +0200 +@@ -126,9 +126,9 @@ constexpr bool enableAsyncIteration = fa + \ + v(bool, reportMustSucceedExecutableAllocations, false, Normal, nullptr) \ + \ +- v(unsigned, maxPerThreadStackUsage, 4 * MB, Normal, "Max allowed stack usage by the VM") \ +- v(unsigned, softReservedZoneSize, 128 * KB, Normal, "A buffer greater than reservedZoneSize that reserves space for stringifying exceptions.") \ +- v(unsigned, reservedZoneSize, 64 * KB, Normal, "The amount of stack space we guarantee to our clients (and to interal VM code that does not call out to clients).") \ ++ v(unsigned, maxPerThreadStackUsage, 80 * KB, Normal, "Max allowed stack usage by the VM") \ ++ v(unsigned, softReservedZoneSize, 32 * KB, Normal, "A buffer greater than reservedZoneSize that reserves space for stringifying exceptions.") \ ++ v(unsigned, reservedZoneSize, 16 * KB, Normal, "The amount of stack space we guarantee to our clients (and to interal VM code that does not call out to clients).") \ + \ + v(bool, crashIfCantAllocateJITMemory, false, Normal, nullptr) \ + v(unsigned, jitMemoryReservationSize, 0, Normal, "Set this number to change the executable allocation size in ExecutableAllocatorFixedVMPool. (In bytes.)") \ -- 2.17.1