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(-)
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
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
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([]() { *
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
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