All of lore.kernel.org
 help / color / mirror / Atom feed
* Error during libevl build and runtime settings failed
@ 2025-06-19 16:06 Xie, Nick
       [not found] ` <AM5PR03MB2882F38E95A99A0760C60D1F8B27A@AM5PR03MB2882.eurprd03.prod.outlook.com>
  0 siblings, 1 reply; 15+ messages in thread
From: Xie, Nick @ 2025-06-19 16:06 UTC (permalink / raw)
  To: bugs@lists.linux.dev

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 
cc -Ilib/libevl.so.5.0.0.p -Ilib -I../libevl/lib -Iinclude -I../libevl/include -I../libevl/lib/arch/x86/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=gnu11 -O2 -g -pipe -Wstrict-aliasing -Wno-unused-parameter -Wno-pedantic -D_GNU_SOURCE -U_FORTIFY_SOURCE -Wshadow=local -Wstrict-prototypes -Wmissing-prototypes -fPIC -pthread '-DLIBVERSION="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 = *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" = *peer" to "memcpy(&solicit.addr, peer, sizeof(*peer))". The EVL and libevl build completed. Am I doing the right thing there? 
2.	Runtime settings failed
nick@nicklinux:~$ sudo latmus -t
== latmus is now tuning the core timer, period=1000 microseconds (may take a while) irq gravity...latmus: tuning setup failed (irq): Invalid argument
nick@nicklinux:~$ sudo /usr/local/libexec/evl/evl-start
no EVL core in kernel
               but evl test passed. Please see below. 
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) (=Operation 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) (=Operation 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) (=Operation 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 advance.
Best Regards,
Nick Xie

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-09-24 21:09 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-19 16:06 Error during libevl build and runtime settings failed Xie, Nick
     [not found] ` <AM5PR03MB2882F38E95A99A0760C60D1F8B27A@AM5PR03MB2882.eurprd03.prod.outlook.com>
2025-07-31 22:10   ` Xie, Nick
2025-08-01  9:05     ` Philippe Gerum
2025-08-01 14:30       ` Xie, Nick
2025-08-01 15:19         ` Philippe Gerum
2025-09-10 19:54       ` Xie, Nick
2025-09-10 20:35         ` Philippe Gerum
2025-09-11 17:14           ` Xie, Nick
2025-09-11 17:37             ` Xie, Nick
2025-09-13 14:56             ` Philippe Gerum
2025-09-18 21:58               ` Xie, Nick
2025-09-19  6:18                 ` Jan Kiszka
2025-09-19 16:36                   ` Xie, Nick
2025-09-21 21:26                     ` Xie, Nick
2025-09-24 21:09                       ` Xie, Nick

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.