SHIVAM DEOLANKAR commented on a discussion on wscript: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1093#note_144961 > def cc(self, bld, bic, source, target=None, deps=[], cppflags=[]): > if target is None: > target = os.path.splitext(source)[0] + ".o" > + > + cpuopts = > bld.bldnode.make_node("cpukit/include/rtems/score/cpuopts.h") Thank you for the clarification. The `cpuopts.h` dependency was added to confirm that the linker errors were caused by stale objects when `cpuopts.h` changes after toggling `RTEMS_SMP`. I agree that hard-coding this dependency in the generic `cc()` rule is not appropriate. Since header dependencies should normally be detected automatically via `gccdeps.py`, I will investigate why `cpuopts.h` is not being tracked and whether the custom rule definition interferes with dependency scanning. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1093#note_144961 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
