Issue created by Joel Sherrill: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5784



## Summary

This build failure is 
[reported](https://lists.rtems.org/pipermail/build/2026-September/077318.html) 
by the bsp-builder. It is all builds with SMP enabled. 
[config-riscv-griscv-smp.ini](/uploads/5f1f2e72d87fb9e2f420150b95d6b0b7/config-riscv-griscv-smp.ini)
 can be used to reproduce it.
```
../../../bsps/riscv/griscv/start/bspsmp.c: In function 
'bsp_start_on_secondary_processor':
../../../bsps/riscv/griscv/start/bspsmp.c:45:23: error: 'irqamp' has no member 
named 'mask'; did you mean 'pimask'?
   45 |   GRLIB_IrqCtrl_Regs->mask[cpu_index_self] |= 1U << GRLIB_mp_irq;
      |                       ^~~~
      |                       pimask
../../../bsps/riscv/griscv/start/bspsmp.c: In function 
'_CPU_SMP_Send_interrupt':
../../../bsps/riscv/griscv/start/bspsmp.c:94:23: error: 'irqamp' has no member 
named 'force'; did you mean 'iforce0'?
   94 |   GRLIB_IrqCtrl_Regs->force[target_processor_index] = 1 << GRLIB_mp_irq;
      |                       ^~~~~
      |                       iforce0
../../../bsps/riscv/griscv/start/bspsmp.c:91:39: error: parameter 
'target_processor_index' set but not used [-Werror=unused-but-set-parameter]
   91 | void _CPU_SMP_Send_interrupt(uint32_t target_processor_index)
      |                              ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Build failed
 -> task in '/bsps/riscv/griscv/objsmp' failed with exit status 1 (run with -v 
to display more information)
```


## Steps to reproduce

Build with the attached ini file.


<!-- Pre-set options
- milestone
-->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5784
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/5-cna6mf6e7pg92bedmgqx8uuib-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to