[osv-dev] [PATCH 3/3] setup.py: support Fedora 32

2020-05-23 Thread Nadav Har'El
After the previous patches, OSv now correctly builds on Fedora 32. So support Fedora 32 in setup.py. The same packages needed in previous Fedora releases are also needed in Fedora 32. Signed-off-by: Nadav Har'El --- scripts/setup.py | 9 - 1 file changed, 8 insertions(+), 1 deletion(-)

[osv-dev] [PATCH 2/3] lzloader: fix memset() implementation

2020-05-23 Thread Nadav Har'El
Some compilers apparently optimize code in fastlz/ to call memset(), so the uncompressing boot loader, fastlz/lzloader.cc, needs to implement this function. The current implementation called the "builtin" memset, which, if you look at the compilation result, actually calls memset() and results in e

[osv-dev] [PATCH 1/3] memset_base(): avoid warnings in stricter C++ compiler

2020-05-23 Thread Nadav Har'El
If we try to compile memset.c with a C++ compiler, we get warnings on various implied pointer conversions. Let's make them explict, and this way the code can compile as either C or C++ code. I want to be able to compile it as C++ code because in the next patch I want to use it in fastlz/lzloader.c

[osv-dev] Using PERCPU in application or module

2020-05-23 Thread Wonsup Yoon
Hi, I'm trying to use PERCPU macro in application or module. I tried using cpu::notifier, but it seems a_init is not called. class A { public: A() { printf("init: %p\n", this); } void test() { printf("test: %d\n", x); } int x = 123; }; PERCPU(A *, a); static sched::cpu::notifier a_init([]() { *

[osv-dev] [PATCH] libosv.so: fix warnings on truncated symbol names

2020-05-23 Thread Nadav Har'El
The code in Makefile which builds the esoteric libosv.so library used "readelf" to get a list of symbols from the kernel. However, readelf by default truncates the symbol names after some limit (this default is *not* documented, unfortunately), and some very long (mangled) symbol names get truncate

[osv-dev] Survey on Change Management

2020-05-23 Thread Change Management
This email newsletter was sent to you in graphical HTML format. If you're seeing this version, your email program prefers plain text emails. You can read the original version online: https://ymlptr9.net/zxMlt3