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

Romain Naour romain.naour at gmail.com
Wed May 23 20:19:10 UTC 2018


Arnout, All,

Le 23/05/2018 à 00:08, Arnout Vandecappelle a écrit :
> 
> 
> On 21-05-18 23:52, Peter Korsgaard wrote:
>>>>>>> "Romain" == Romain Naour <romain.naour at gmail.com> writes:
>>
>> Hi,
>>
>>  > 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?
>>
>> I believe that mainline support for this board is fairly far, so if that
>> is the only thing keeping 4.9 around I think we can drop it.
> 
>  I voted for keeping 4.9 because quite a few chips are stuck with ancient vendor
> kernels and U-Boot. For the kernel I'd accept it, but for U-Boot it's generally
> more difficult to go to an upstream version, there is not much of a security
> reason to bump U-Boot, and backporting the compiler.h changes is not entirely
> trivial. I think keeping the 4.9 option makes the out-of-the-box experience for
> people who are stuck in this situation easier.
> 
>  Also, "maintaining" the 4.9 version really doesn't pose much of an overhead. At
> least as long as we support multiple gcc versions, and there are no issues
> building gcc 4.9 on recent distros.

gcc 4.9 still build with gcc 8 as host compiler but with a lot of warning.

Note that we don't keep any specific version of Binutils for gcc 4.9.x.
It's not sure that recent Binutils version will be compatible with gcc 4.9.x.

> 
>  So I'm still voting for keeping 4.9, at least until it starts breaking on
> recent distros. If we remove something, remove 5.

Ok

Best regards,
Romain

> 
>  Regards,
>  Arnout
> 




More information about the buildroot mailing list