[Buildroot] [PATCH] package/gcc: add support for gcc 8.1

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed May 23 08:29:07 UTC 2018


Hello,

On Mon, 21 May 2018 17:45:02 +0200, Romain Naour wrote:

> > Could you split up this patch in several patches:
> > 
> >  - One adding the toolchain/Config.in contents for gcc 8.x
> > 
> >  - One adding support for gcc 8.x in package/gcc
> > 
> >  - One adding support for gcc 8.x in toolchain/toolchain-external  
> 
> Previous gcc bump was done in one patch:
> 
> (gcc 7)
> https://git.buildroot.net/buildroot/commit/?id=4314161159ce1556e8c14d1d2e22aaf2a8618b82
> (gcc 6)
> https://git.buildroot.net/buildroot/commit/?id=519d83bfa0442439026db4e71e605a5c1347e566
> 
> I wanted to use the same method but ok I'll split this patch if you want.

I think it makes sense to split it up.

> > It would be good if you could also add a patch to update our default
> > gcc version to 7.x.  
> 
> Ok, this can be done in a followup patch.

Yes it _should_ be done in a separate patch.

> > Maybe it's also time to remove gcc 4.9 and gcc 5.x ? I know when gcc
> > 7.x was added and we changed to gcc 6.x as the default, we should have
> > removed gcc 4.9, but there was some opposition to this. Hopefully we
> > can do this removal now ?  
> 
> See the reply from Arnout and Dagg for gcc 4.9:
> http://patchwork.ozlabs.org/patch/767087
> 
> I'm not sure that the odroidc2 defconfig is able to build with gcc >= 4.9 since
> it's stuck at kernel odroidc2-3.14.y and uboot odroidc2-v2015.01.
> Dagg, what do we do for this board?

So the conclusion from Arnout is to keep 4.9, but to remove gcc 5.
I'm fine with this, so let's do this.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list