RTEMS | score: Define Per_CPU_Stats only for profiling (!1560)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Thu Nov 5 06:42:20 UTC 2026
Sebastian Huber commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1560#note_161903
Thanks. I reproduced this with the #5812 configuration on top of !1391. I added a commit before the Per_CPU_Stats change. It makes the envelope a union of the control and a char array of PER_CPU_CONTROL_SIZE. An exact fit no longer gives a zero-size array. A control which is too big still fails the static assertion in percpuasm.c. With both commits, spstdc17 and the C++ samples build for riscv/rv64imac with your configuration.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1560#note_161903
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-5ei2lx3vxifv2mfv6tias4e7j-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20261105/4b3315b7/attachment-0001.htm>
More information about the bugs
mailing list