GCC version for RTEMS 6?

Chris Johns chrisj at rtems.org
Thu Apr 28 07:52:54 UTC 2022


On 27/4/2022 4:57 pm, Sebastian Huber wrote:
> Hello,
> 
> we have to select a GCC version for the RTEMS 6 release. Currently, GCC 10 is
> used, however, with the release of GCC 10.4 this year it will reach its end of
> life. Other options are GCC 11 and 12. GCC 12 will be released in the next
> weeks. It has some nice features:
> 
> * Initialization of stack variables:
> 
> https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-ftrivial-auto-var-init
> 
> 
> * Improved static analysis with -fanalyzer
> 
> * Improved gcov support, with the ability to back port changes from GCC 13:
> 
> https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593536.html
> 
> * Upstream maintenance for the next three years
> 
> The draw back is that it is brand new.
> 

What about rtems 6 shipping with 10 and then we move to 12 and test and if it
looks good we release 7?

The rational is my testing with rtems 6 + gcc 10 is good so we have a stable
base to move from. Without this step we have no means for users to move back if
there are issues.

Chris


More information about the devel mailing list