Error during libevl build and runtime settings failed

"Xie, Nick" <[email protected]> Thu, 19 Jun 2025 16:06:52 +0000
Newsgroups dev.linux.lists.bugs
Message-ID <AM5PR03MB2882F5ED2ADBA37FAA9562608B7DA@AM5PR03MB2882.eurprd03.prod.outlook.com>
Dear developers,

I am building EVL for my application. I came across some errors. Please see=
 below.

1.	The EVL building was completed, but meson compile failed
nick@nicklinux:~/libevl_build$ meson compile
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja
[11/222] Compiling C object lib/libevl.so.5.0.0.p/net.c.o
FAILED: lib/libevl.so.5.0.0.p/net.c.o=20
cc -Ilib/libevl.so.5.0.0.p -Ilib -I../libevl/lib -Iinclude -I../libevl/incl=
ude -I../libevl/lib/arch/x86/include -fdiagnostics-color=3Dalways -D_FILE_O=
FFSET_BITS=3D64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=3Dgnu11=
 -O2 -g -pipe -Wstrict-aliasing -Wno-unused-parameter -Wno-pedantic -D_GNU_=
SOURCE -U_FORTIFY_SOURCE -Wshadow=3Dlocal -Wstrict-prototypes -Wmissing-pro=
totypes -fPIC -pthread '-DLIBVERSION=3D"0.51"' -MD -MQ lib/libevl.so.5.0.0.=
p/net.c.o -MF lib/libevl.so.5.0.0.p/net.c.o.d -o lib/libevl.so.5.0.0.p/net.=
c.o -c ../libevl/lib/net.c
../libevl/lib/net.c: In function 'evl_net_solicit':
../libevl/lib/net.c:48:24: error: incompatible types when assigning to type=
 'struct __kernel_sockaddr_storage' from type 'struct sockaddr'
   48 |         solicit.addr =3D *peer;
      |                        ^
[16/222] Compiling C object lib/libevl.so.5.0.0.p/heap.c.o
ninja: build stopped: subcommand failed.

I changed "solicit.addr" =3D *peer" to "memcpy(&solicit.addr, peer, sizeof(=
*peer))". The EVL and libevl build completed. Am I doing the right thing th=
ere?=20
2.	Runtime settings failed
nick@nicklinux:~$ sudo latmus -t
=3D=3D latmus is now tuning the core timer, period=3D1000 microseconds (may=
 take a while) irq gravity...latmus: tuning setup failed (irq): Invalid arg=
ument
nick@nicklinux:~$ sudo /usr/local/libexec/evl/evl-start
no EVL core in kernel
               but evl test passed. Please see below.=20
nick@nicklinux:~$ sudo evl test
basic-xbuf: OK
clock-timer-periodic: OK
clone-fork-exec: OK
detach-self: OK
duplicate-element: OK
element-visibility: OK
fault: OK
fpu-preload: OK
fpu-stress: OK
heap-torture: OK
hectic: OK
mapfd: OK
monitor-deadlock: OK
monitor-deboost-stress: OK
monitor-event: OK
monitor-event-targeted: OK
monitor-event-untrack: OK
monitor-flags: OK
monitor-flags-broadcast: OK
monitor-flags-inband: OK
monitor-pi: OK
monitor-pi-deadlock: OK
monitor-pi-deboost: OK
monitor-pi-stress: OK
monitor-pp-dynamic: OK
monitor-pp-lazy: OK
monitor-pp-lower: OK
monitor-pp-nested: OK
monitor-pp-pi: OK
monitor-pp-raise: OK
monitor-pp-tryenter: OK
monitor-pp-weak: OK
monitor-recursive: OK
monitor-steal: OK
monitor-trylock: OK
monitor-wait-multiple: OK
monitor-wait-requeue: OK
observable-hm: OK
observable-inband: OK
observable-onchange: OK
observable-oob: OK
observable-race: OK
observable-thread: OK
observable-unicast: OK
poll-close: OK
poll-flags: OK
poll-many: OK
poll-multiple: OK
poll-nested: OK
poll-observable-inband: OK
poll-observable-oob: OK
poll-sem: OK
poll-xbuf: OK
proxy-echo: OK
proxy-eventfd: OK
proxy-pipe: OK
proxy-poll: OK
ring-spray: OK
rwlock-read: OK
rwlock-write: OK
../libevl/tests/sched-quota-accuracy.c:213: FAILED: evl_control_sched(44, &=
p, &q, test_cpu) (=3DOperation not supported)
sched-quota-accuracy: no kernel support
../libevl/tests/sched-tp-accuracy.c:222: FAILED: evl_control_sched(45, p, (=
(void *)0), test_cpu) (=3DOperation not supported)
sched-tp-accuracy: no kernel support
../libevl/tests/sched-tp-overrun.c:220: FAILED: evl_control_sched(45, p, ((=
void *)0), test_cpu) (=3DOperation not supported)
sched-tp-overrun: no kernel support
sem-close-unblock: OK
sem-flush: OK
sem-timedwait: OK
sem-wait: OK
simple-clone: OK
stax-lock: OK
stax-warn: OK
thread-mode-bits: OK
I am not sure how the installation goes. Please advise. Thank you in advanc=
e.
Best Regards,
Nick Xie