RTEMS | BSS Size Incorrectly Reported (#5191)
Joel Sherrill (@joel)
gitlab at rtems.org
Fri Jan 24 00:20:37 UTC 2025
Joel Sherrill created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5191
## Summary
The bss size reported by the _size_ command is wrong on at least some RISC-V and ARM BSPs. It is more than the size of the actual bss. It appears to be the "end of RAM - start of BSS". The solution should be to add the end of bss symbol to the appropriate linker scripts.
There really should be a pass to ensure that all BSPs report reasonable sizes for hello and ticker.
## Steps to reproduce
1. Build BSP
2. CPU-rtems7-size *.exe
Verify that the bss reported is small and not near the entirety of RAM.
### Pre-set options
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5191
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/20250124/d1cb717a/attachment.htm>
More information about the bugs
mailing list