RTEMS Source Builder | RISC-V/GCC 15: Newlib is built allowing unaligned accesses (#144)

Joel Sherrill (@joel) gitlab at rtems.org
Fri Nov 7 18:15:11 UTC 2025




Joel Sherrill commented: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/144#note_135806


@amar You likely could some up with some code that is easy to check the generated assembly code. But that would not let us know that the target CPU needs strict alignment.

But we do not have to maintain binary compatibility with anything since everything is built from source. gcc/config/riscv/t-rtems could be adjusted to make sure all the language libraries are built with strict alignment. But it wouldn't ensure that RTEMS itself or applications are also.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/144#note_135806
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/20251107/480ac720/attachment-0001.htm>


More information about the bugs mailing list