From: Romain Naour Date: Sun, 20 Jun 2021 19:22:12 +0200 Subject: [Buildroot] [PATCH 6/6] package/gcc: switch to gcc 10.x as the default In-Reply-To: <9a758abf-d749-4f6c-4240-ab66e18daa0e@mind.be> References: <20210612094015.6792-1-romain.naour@gmail.com> <20210612094015.6792-6-romain.naour@gmail.com> <9a758abf-d749-4f6c-4240-ab66e18daa0e@mind.be> Message-ID: <36c635ee-d636-fdc7-89a4-6063021a7362@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Arnout, Le 20/06/2021 ? 19:07, Arnout Vandecappelle a ?crit?: > > > On 12/06/2021 11:40, Romain Naour wrote: >> Even if gcc 9.x is still maintained for some time (gcc 9.5 will be the last), >> switch to gcc 10.x since it has been released since 2020-05-07 and >> gcc 11.x is available since 2021-04-27. >> >> We have been having toolchains in the autobuilders with gcc >> 10.x for a while, so the vast majority of the problems should have >> already been solved. > > In fact, another patch to solve a GCC 10 issue was submitted just last Monday > (but that was an NDEBUG issue really so OK). I had a look but I need to reproduce the issue. It seems we are not impacted since we don't have the --enable-checking option in gcc.mk. Maybe we could add --disable-werror like of other package (binutils, glibc). > > I've added the date that we started building with GCC 10 (mid-January, based on > the update of the bootlin toolchains in support/config-fragments). Ok I'll add this info next time. > > Series applied to master, thanks. Thanks! Best regards, Romain > > Regards, > Arnout > >> >> Signed-off-by: Romain Naour >> --- >> package/gcc/Config.in.host | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host >> index 5d66834301..40559e3253 100644 >> --- a/package/gcc/Config.in.host >> +++ b/package/gcc/Config.in.host >> @@ -4,7 +4,7 @@ choice >> prompt "GCC compiler Version" >> default BR2_GCC_VERSION_ARC if BR2_arc >> default BR2_GCC_VERSION_CSKY if BR2_csky >> - default BR2_GCC_VERSION_9_X >> + default BR2_GCC_VERSION_10_X >> help >> Select the version of gcc you wish to use. >> >>