RTEMS | waf: Invalidate build on configuration change (!1093)
SHIVAM DEOLANKAR (@D3athSkulll)
gitlab at rtems.org
Fri Feb 27 21:02:05 UTC 2026
SHIVAM DEOLANKAR created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1093
Project:Branches: D3athSkulll/rtems:smp-repro-test to rtems/rtos/rtems:main
Author: SHIVAM DEOLANKAR
## Summary
Switching RTEMS_SMP did not invalidate previously compiled objects,\
leading to stale object reuse and linker errors.\
\
Add a configuration fingerprint derived from ENABLE, ARCH, and BSP\
to CFLAGS so configuration changes modify the task signature and\
trigger a full rebuild.
## AI Details
I have read and agree with the RTEMS Generative AI statement: https://www.rtems.org/generative-ai/
### Prompt used
When switching from non SMP to SMP back and forth without cleaning causes linker errors in the following bsp. Suggest appropiate solutions for the same.
### AI model used
ChatGPT (GPT-5.2)
### How AI was used for the contribution
- [x] Formatting
- [ ] Test creation.
- [ ] Code comments.
- [ ] The entire contribution was generated using AI
- [ ] AI code completion such as Copilot in VSCode.
If others were used please add below
### Access
I confirm that I have not used any product that claims copyright over generated output and that I have legitimate access to the AI tools used.
<!--Default settings, if it is a dropdown it will set after submission-->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1093
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/20260227/f9a87f9a/attachment-0001.htm>
More information about the bugs
mailing list