Alex Kalmuk
Alex Kalmuk
When Embox creates static module from a static library ``` static module libopencv_core { source "^BUILD/extbld/third_party/lib/opencv/build/install/lib/libopencv_core.a" } ``` it extracts all sources first. But there is a possible case when...
Some external libraries like OpenCV may rely on wchar support (currently, the corresponding source files are patched to disable this code). To enable whar support from C++, we need to...
There is a CMake's test `TestBigEndian`. It performs testing for endianness at compile time. To do not depend on any environment it does it a bit tricky. It creates .c...
There are several places where ```cpp #pragma GCC diagnostic push ``` is used to suppress GCC warnings. It looks like many of them can be fixed accordingly instead.
`arm/qemu` and `x86/qemu` fail to run when built with `-O3`.
``` In file included from /home/chameleos/Downloads/embox-master/embox-master/src/drivers/gpio/gpio.c:11:0: /home/chameleos/Downloads/embox-master/embox-master/build/base/include/kernel/lthread/lthread.h:138:9: error: initializer element is not constant struct lthread _lth = { \ ^ /home/chameleos/Downloads/embox-master/embox-master/src/drivers/gpio/gpio.c:41:8: note: in expansion of macro 'LTHREAD_DEF' static LTHREAD_DEF(gpio_lthread, gpio_lthread_irq_hnd,...
From `.github/workflows/ci.yml`: ```yaml ci: runs-on: ubuntu-16.04 # Embox NFS write test fails with ubuntu 18.04: "RPC: Can't decode result" ```
Run standard tests like pjlib-test, pjsip-test, etc. We can start with qemu/x86 and then go to stm32. It was figured out from pjproject repo CI (e.g., https://github.com/pjsip/pjproject/runs/1968646542), there are te...
There is a method of importing third-party ELF files by copying them to object files first. See, for example, `nano`: ``` cp $(PKG_SOURCE_DIR)/src/nano $(PKG_INSTALL_DIR)/nano.o ``` Many other places use the...
Example that fails now: ```cpp int ret; char str[32]; char *hname = "Subject"; char *hcontent = "\xC0\x81"; ret = snprintf(str, sizeof str, "%s: %s", hname, hcontent); test_assert(ret == 11); ```