office-gobmx/solenv
Stephan Bergmann 4f41c19a03 Emscripten: Increase the main thread stack size
At least when LO tries to download a document and
UUIInteractionHelper::handleErrorHandlerRequest wants to show a MessageDialog
via Qt, the stack grows relatively large, and gray_convert_glyph
(workdir/UnpackedTarball/freetype/src/smooth/ftgrays.c) alone allocates on the
stack a buffer of size FT_MAX_GRAY_POOL * sizeof(TCell) = 1024 * 16 = 16K, which
causes (silent, due to no -sSTACK_OVERFLOW_CHECK=2) stack overflow.

So (somewhat randomly) double the size of the main thread stack to 128K; but, at
least for now, keep the default value of 64K for other threads (which would
otherwise inherit the explicitly set -sSTACK_SIZE value via the
-sDEFUALT_PTHREAD_STACK_SIZE=0 default).

Change-Id: I96583f4af93c84b15c67f310068c5631fb129d40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172011
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-08-18 17:43:39 +02:00
..
bin solenv/bin/uiex: more helpful error message for context issues 2024-08-14 07:51:07 +02:00
buck
clang-cl
clang-format merge CntUnencodedStringItem into SfxStringItem 2024-08-15 16:07:05 +02:00
doc/gbuild use portable "command -v" to detect installed programs, part 5 2024-01-22 14:13:37 +01:00
gbuild Emscripten: Increase the main thread stack size 2024-08-18 17:43:39 +02:00
gbuildtojson
gcc-wrappers
gdb sfx2, solenv, sw: fix issues found by Ruff linter 2024-07-28 15:23:39 +02:00
inc use gb_StaticLibrary_WORKDIR and gb_Library_DLLDIR more consistently 2024-06-19 20:00:39 +02:00
lldb/libreoffice sfx2, solenv, sw: fix issues found by Ruff linter 2024-07-28 15:23:39 +02:00
lockfile
maven
qa/python Fix PythonTest_solenv_python for Linux --enable-mergelibs=more 2024-03-20 08:07:29 +01:00
sanitizers tdf#161811 Changes in TC manager dialog should be in order of 2024-07-14 05:31:46 +02:00
vs merge CntUnencodedStringItem into SfxStringItem 2024-08-15 16:07:05 +02:00
wsl
CompilerTest_compilerplugins_clang-c++03.mk
CompilerTest_compilerplugins_clang.mk new loplugin:fieldcast 2023-11-08 06:50:24 +01:00
CustomTarget_gbuildtesttools.mk use portable "command -v" to detect installed programs, part 2 2024-01-22 14:01:17 +01:00
Executable_concat-deps.mk
Executable_g++-wrapper.mk
Executable_gbuildtojson.mk
Executable_gcc-wrapper.mk
Executable_lockfile.mk
flatpak-manifest.in Adapt flatpak build to upstream changes 2024-07-09 11:08:43 +02:00
Makefile
Module_solenv.mk
PythonTest_solenv_python.mk
README.md
StaticLibrary_wrapper.mk

Tools and Makefile Fragments Necessary for Compilation

This module contains many tools and makefile configuration pieces, critical for building LibreOffice:

  • bin/

    • contains lots of tools used during the build:

      • concat-deps* these aggregate, and remove duplicates from module dependencies, to accelerate build times.

      • make_installer.pl this script executes the compiled instructions from the scp2/ module to create an installer, and/or to do a local install for the smoketest.

  • gbuild/

    implementation of the LibreOffice build system See gbuild/README for more info.

  • gdb/

    lots of nice python helpers to make debugging -much- easier that (eg.) print UCS2 strings as UTF-8 on the console to help with debugging.

  • inc/

    old / increasingly obsolete dmake setup and includes, we are trying to entirely rid ourselves of this

  • src/

    useful standard / re-usable component map files for components which shouldn't export anything more than a few registration symbols.

  • flatpak-manifest.in

    This file is copied manually to https://github.com/flathub/org.libreoffice.LibreOffice/blob/master/org.libreoffice.LibreOffice.json The flatpak/build.sh in the LO dev-tools repository is obsolete.