SHIVAM DEOLANKAR commented: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5482#note_143755


Switching SMP between builds does not invalidate previously  compiled objects 
leading to stale objects being built and linker errors.

The config state i.e RTEMS_SMP is not part of Waf signature. Thus object files 
are not rebuilt when configuration changes even though our generated headers in 
cpuopts.h differ.

What is the intended direction for the fix here?

1) Should config changes trigger full rebuild as in by introducing a config 
fingerprint or hash into compile flags ? 

2) Improve dependency tracking for generated config headers like cpuopts.h

3) Else just use seperate build directories per configuration.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5482#note_143755
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

Reply via email to