I followed the documentation step by step to build LibreOffice in headless mode. I cloned the EMSDK, correctly activated the environment variables, and created the autogen.input
file according to the headless documentation (reference):
–disable-debug
–enable-sal-log
–disable-crashdump
–host=wasm32-local-emscripten
–disable-gui
–with-wasm-module=writer
–with-package-format=emscripten
After running autogen.sh
, the configuration was completed successfully. The next step was to build the project. However, after running the make
command, the process eventually returned the following error:
Segmentation fault (core dumped)
lo-wasm/core/workdir_for_build/UnoApiTarget/offapi.rdb] Error 139
[Makefile:315: cross-toolset] Error 2
Has anyone encountered this issue before or knows what might be causing it? Any guidance would be greatly appreciated.