[M] Change in libosmocore[master]: Add Emscripten build support and JS callback logging backend
Attention is currently required from: Timur Davydov, laforge, neels, pespin. fixeria has posted comments on this change by Timur Davydov. ( https://gerrit.osmocom.org/c/libosmocore/+/41813?usp=email ) Change subject: Add Emscripten build support and JS callback logging backend ...................................................................... Patch Set 21: (11 comments) Patchset: PS21: Marking threads resolved. File configure.ac: https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/669d030a_b5f629fe?u... : PS16, Line 259: AM_CONDITIONAL(ENABLE_TUN, test "x$embedded" != "xyes" && test "x$emscripten" != "xyes")
Done. I’ve sent a separate patch addressing this, preceding this one. Done
File include/osmocom/core/logging.h: https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/2966d55e_79008bdd?u... : PS5, Line 285: LOG_TGT_TYPE_WEB, /*!< Web logging */
Thanks for the clarification. […] Done
File src/core/Makefile.am: https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/36f0c2da_7d2790fa?u... : PS7, Line 49: logging_emscripten.c \
Thanks for the suggestion, agreed. […] Done
File src/core/Makefile.am: https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/2bb05309_d8223045?u... : PS16, Line 87: if ENABLE_TUN
Agreed, this likely needs an additional fix. This should follow the same […] Done
File src/core/logging_emscripten.c: https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/18a02eda_de553728?u... : PS7, Line 24: /*! \addtogroup logging
Please make sure you rebase your work on top of current master, I did some changes to configure. […] Done
File src/vty/logging_vty.c: https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/abb3421d_20be3562?u... : PS5, Line 907: #if !defined(__EMSCRIPTEN__)
The conditional compilation here was added by mistake — it's not needed in this place. […] Done
https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/8bbfaf60_4f86e3e6?u... : PS5, Line 1038: DEFUN(cfg_log_web, cfg_log_web_cmd,
Thanks — added conditional compilation `#if defined(__EMSCRIPTEN__)` Done
https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/6815e7b1_7a87010b?u... : PS5, Line 1047: vty_out(vty, "%% Unable to create WEB log for %s", VTY_NEWLINE);
Thanks, fixed Done
https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/fa49905b_396c476c?u... : PS5, Line 1067: vty_out(vty, "%% Unable to find WEB log target for %s", VTY_NEWLINE);
Thanks, fixed Done
File src/vty/logging_vty.c: https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/582ca768_8110edad?u... : PS16, Line 937: #if !defined(__EMSCRIPTEN__)
Agreed. I disabled it only to avoid creating files on the Web side, but since […] Done
-- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/41813?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Ia8d5f4bb6570b5e055826f3a051e5e5896866e31 Gerrit-Change-Number: 41813 Gerrit-PatchSet: 21 Gerrit-Owner: Timur Davydov <dtv.comp@gmail.com> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-CC: laforge <laforge@osmocom.org> Gerrit-Attention: neels <nhofmeyr@sysmocom.de> Gerrit-Attention: laforge <laforge@osmocom.org> Gerrit-Attention: pespin <pespin@sysmocom.de> Gerrit-Attention: Timur Davydov <dtv.comp@gmail.com> Gerrit-Comment-Date: Mon, 26 Jan 2026 09:00:55 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: pespin <pespin@sysmocom.de> Comment-In-Reply-To: Timur Davydov <dtv.comp@gmail.com>
participants (1)
-
fixeria