RTEMS | build: add tool build key validation (!1125)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Wed Mar 18 00:30:34 UTC 2026
Sebastian Huber commented on a discussion on wscript: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1125#note_145904
> return top_group
>
>
> +import subprocess
> +import re
> +
> +
> +def get_gcc_build_key(compiler):
I updated the MR with a proposal for the `GCC_BUILD_KEY_POLICY` option. In the overall commits, there are no changes in the `wscript`.
I changed the regular expression to `r"Build (\d{4}\.\d{2}.\d{2})"` since my tools report something like this:
```
/opt/rtems/7/bin/powerpc-rtems7-gcc --version
powerpc-rtems7-gcc (GCC) 15.2.0 20250808 (RTEMS 7, Build 2026.03.04, RSB 751299446e8f7d41023ef7b5236cc378a52291c6, Newlib a7c61498)
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
```
I guess we need the `Build` key reported by RSB and not the date of the compiler?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1125#note_145904
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/20260318/1a2d9c8d/attachment-0001.htm>
More information about the bugs
mailing list