RTEMS | risc-v start.S .Lstart_on_secondary_processor referenced outside RTEMS_SMP (#5542)

Gedare Bloom (@gedare) gitlab at rtems.org
Wed Apr 1 17:41:19 UTC 2026



Gedare Bloom created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5542

Assignee: Gedare Bloom

## Summary
<!--
Please provide as much information as possible such as error messages or attaching logs
-->

See https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/bsps/riscv/shared/start/start.S?ref_type=heads#L201

```
	bnez	a0, .Lstart_on_secondary_processor
	ret

.Lwfi:
	wfi
	j	.Lwfi

#ifdef RTEMS_SMP
.Lstart_on_secondary_processor:
```

The label Lstart_on_secondary_processor is only defined if `RTEMS_SMP` is defined, but it is referenced in `!RTEMS_SMP`

## Steps to reproduce


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

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5542
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260401/00cdc667/attachment.htm>


More information about the bugs mailing list