README.wasm | 24 ++++++++++++++++++++++-- RepositoryModule_host.mk | 6 ------ solenv/gbuild/LinkTarget.mk | 2 +- 3 files changed, 23 insertions(+), 9 deletions(-)
New commits: commit a99c59a4c7ac9ec1f7bf172c13ea4168d1c55a61 Author: Jan-Marek Glogowski <glo...@fbihome.de> AuthorDate: Fri Feb 12 14:01:45 2021 +0100 Commit: Jan-Marek Glogowski <glo...@fbihome.de> CommitDate: Fri Feb 12 14:01:45 2021 +0100 Strip some stuff from build Change-Id: I8c2351a03ad65f4b82ee3fd2b4d64d6cf42d4592 diff --git a/README.wasm b/README.wasm index 2dbe16010c8d..b27c863b99f3 100644 --- a/README.wasm +++ b/README.wasm @@ -135,6 +135,8 @@ conventions in WASM_EmscriptenInvoke. I didn't get a reply to that question for hours. Maybe I'll open an Emscripten issue, if we really have to implement this. +WASM dynamic dispatch: https://fitzgeraldnick.com/2018/04/26/how-does-dynamic-dispatch-work-in-wasm.html + = Workaround for eventual clang WASM compiler bug = @@ -160,6 +162,26 @@ from "Jul 23 2018" which pre-dates the emscripten tag 1.39.8 from 02/14/2020 by If you get linking errors that archive has no index. += Emscripten filesystem access with threads = + +This is closed, but not really fixed IMHO: https://github.com/emscripten-core/emscripten/issues/3922 + + += Dynamic libraries / modules in emscripten = + +There is a good summary in https://bugreports.qt.io/browse/QTBUG-63925 + +Summary: you can't use modules and threads. + +This is mentioned at the end of: https://github.com/emscripten-core/emscripten/wiki/Linking +The usage of MAIN_MODULE and SIDE_MODULE has other problems, a major one IMHO is symbol resolution at runtime only. +So this works really more like plugins in the sense of symbol resolution without dependencies / rpath. + +There is some clang-level dynamic-linking in progress (WASM dlload). The follwing link is already a bit old, +but I found it a god summary of problems to expect: +https://iandouglasscott.com/2019/07/18/experimenting-with-webassembly-dynamic-linking-with-clang/ + + = Mixed information, links, problems, TODO = More info on Qt WASM emscripten pthreads: https://wiki.qt.io/Qt_for_WebAssembly#Multithreading_Support @@ -210,8 +232,6 @@ This will be interesting: https://emscripten.org/docs/getting_started/FAQ.html#h This didn't help much yet: https://github.com/emscripten-ports Emscripten supports standalone WASI binaries: https://github.com/emscripten-core/emscripten/wiki/WebAssembly-Standalone -WASM dynamic dispatch: https://fitzgeraldnick.com/2018/04/26/how-does-dynamic-dispatch-work-in-wasm.html -WASM dlload: https://iandouglasscott.com/2019/07/18/experimenting-with-webassembly-dynamic-linking-with-clang/ https://www.qt.io/qt-examples-for-webassembly http://qtandeverything.blogspot.com/2017/06/qt-for-web-assembly.html diff --git a/RepositoryModule_host.mk b/RepositoryModule_host.mk index 20fdf05bc117..25a314e9785a 100644 --- a/RepositoryModule_host.mk +++ b/RepositoryModule_host.mk @@ -26,7 +26,6 @@ $(eval $(call gb_Module_add_moduledirs,libreoffice,\ animations \ apple_remote \ $(call gb_Helper_optional,AVMEDIA,avmedia) \ - basctl \ basegfx \ basic \ bean \ @@ -103,13 +102,8 @@ $(eval $(call gb_Module_add_moduledirs,libreoffice,\ sal \ salhelper \ sax \ - sc \ - scaddins \ - sccomp \ $(call gb_Helper_optional,DESKTOP,scp2) \ scripting \ - sd \ - sdext \ $(call gb_Helper_optional,DESKTOP,setup_native) \ sfx2 \ shell \ diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk index eab38bd528a4..404b394d4e0c 100644 --- a/solenv/gbuild/LinkTarget.mk +++ b/solenv/gbuild/LinkTarget.mk @@ -1609,7 +1609,7 @@ $(2) : $(call gb_LinkTarget_get_target,$(1)) touch -r $$< $$@; \ else \ rm -f $$<; \ - echo "ERROR: aux-target missing, library deleted, please try running make again"; \ + echo "ERROR: aux-target $$@ missing, library deleted, please try running make again"; \ false; \ fi _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits