[Buildroot] [PATCH] package/gcc: add support for gcc 8.1
romain.naour at gmail.com
Wed May 23 20:23:49 UTC 2018
Le 23/05/2018 à 10:29, Thomas Petazzoni a écrit :
> 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)
>> (gcc 6)
>> 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.
OK, I'll add this patch in v2.
>>> 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:
>> 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.
Also, what do we do for gcc patches we have since a long time ?
More information about the buildroot