RTEMS | griscv BSP variants have compile error (#5655)
Joel Sherrill (@joel)
gitlab at rtems.org
Mon Jul 20 14:47:34 UTC 2026
Issue created by Joel Sherrill: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5655
Assignee: Matteo Concas
## Summary
All griscv BSPs get the following compile error when profiling is enabled.
```
../../../bsps/riscv/griscv/clock/clockdrv.c: In function 'grlib_clock_initialize':
../../../bsps/riscv/griscv/clock/clockdrv.c:195:30: error: passing argument 1 of 'irqmp_has_timestamp' from incompatible pointer type [-Wincompatible-pointer-types]
195 | if (!irqmp_has_timestamp(irqmp_ts)) {
| ^~~~~~~~
| |
| volatile struct irqmp_timestamp_regs *
In file included from ../../../bsps/riscv/griscv/include/amba.h:85,
from ../../../bsps/riscv/griscv/clock/clockdrv.c:43:
../../../bsps/include/grlib/grlib.h:78:68: note: expected 'volatile irqamp_timestamp *' but argument is of type 'volatile struct irqmp_timestamp_regs *'
78 | static inline bool irqmp_has_timestamp( volatile irqamp_timestamp *irqmp_ts )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
```
This is being reported by all runs of _rtems-bsp-builder_ with [this](https://lists.rtems.org/pipermail/build/2026-July/075735.html) being one example.
## Steps to reproduce
Configure RTEMS with this configuration.
```
[riscv/grv32i]
BUILD_SAMPLES=True
BUILD_TESTS=True
RTEMS_DEBUG=False
RTEMS_POSIX_API=True
RTEMS_PROFILING=True
```
<!-- Pre-set options
- milestone
-->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5655
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-8lg17746ei499gl6rgat26y8b-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/20260720/653d3ea4/attachment-0001.htm>
More information about the bugs
mailing list