Hi. Could the generate-bindings-all.pl script be modified to not require a threaded perl? "The use of interpreter-based threads in perl is officially discouraged" by upstream and not all Linux distributions compile perl with threads support; that's also the case of the BSDs. Trying to build on OpenBSD fails with: This Perl not built to support threads Compilation failed in require at ./webkitgtk4-2.16.0/webkitgtk-2.16.0/Source/WebCore/bindings/scripts/generate-bindings-all.pl line 35. BEGIN failed--compilation aborted at ./webkitgtk4-2.16.0/webkitgtk-2.16.0/Source/WebCore/bindings/scripts/generate-bindings-all.pl line 35. ninja: build stopped: subcommand failed. Thanks.
http://search.cpan.org/~rybskej/forks/lib/forks.pm This seems useful. I'll try it.
Thanks for looking into it. If you need me to test anything, feel free to ask :-)
(In reply to Fujii Hironori from comment #1) > http://search.cpan.org/~rybskej/forks/lib/forks.pm > This seems useful. I'll try it. This doesn't work for me. I need to give up using threads in Perl.
Created attachment 305459 [details] WIP Patch I created a WIP patch of using fork&exec&wait. I feel slower in case of using Windows Perl.
Ah that seems to work fine so far :-) Still building but I am way passed the original failure. I'll keep you posted once the build is done. Thanks.
(In reply to Fujii Hironori from comment #4) > I feel slower in case of using Windows Perl. This my feeling was wrong. I did benchmark: with threads: 00:04:01.83 without threads: 00:04:01.32
Created attachment 305559 [details] Patch
I can confirm that with this patch I am able to build WebKit fine :-) Thank you!
Could anyone review this? Gentoo Linux also gets the trouble. https://paste.pound-python.org/show/cC5FbmhCBLSg1qrwoLuv/
Comment on attachment 305559 [details] Patch r=me
Comment on attachment 305559 [details] Patch Clearing flags on attachment: 305559 Committed r215166: <http://trac.webkit.org/changeset/215166>
All reviewed patches have been landed. Closing bug.