RTEMS | build: add tool build key validation (!1125)

Sebastian Huber (@sebhub) gitlab at rtems.org
Tue Mar 17 02:20:03 UTC 2026




Sebastian Huber started a new discussion on wscript: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1125#note_145792

 >      return top_group
 >  
 >  
 > +import subprocess
 > +import re
 > +
 > +
 > +def get_gcc_build_key(compiler):

One of the design principles of the build system is to do the build configuration through a file and not through command line options: https://docs.rtems.org/docs/main/eng/build-system.html

For this work, there should be no changes necessary in the `wscript`.

I would use a build option to customize the GCC build key validation. For example `GCC_BUILD_KEY_VALIDATION_ERROR_POLICY` which can be `ERROR`, `IGNORE`, and `WARNING`.

A warning and error message should give a hint that the `GCC_BUILD_KEY_VALIDATION_ERROR_POLICY` can be used to customize this.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1125#note_145792
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/20260317/e41b0066/attachment-0001.htm>


More information about the bugs mailing list