[Buildroot] [PATCH] roseapplepi: backport upstream patches to fix build with gcc 6

Peter Korsgaard peter at korsgaard.com
Tue Jun 20 20:04:49 UTC 2017


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

Hi,

 >> ---
 >> Andreas Färber has recently contributed minimal mainline Linux support for
 >> this SoC, so I'll have a look at migrating to that once it ends up in Linus'
 >> tree:

 > I've applied to master. But to be honest, I'm not thrilled with the idea
 > of adding 1100+ lines of patches just to make one single defconfig build
 > again with gcc 6.x. If the kernel doesn't build with gcc 6.x, it means
 > the HW platform is poorly maintained, and it will become worse and
 > worse.

 > Perhaps for such platforms we should change the defconfig to use gcc
 > 5.x (or whatever older version works). And once we remove the support
 > for those older gcc versions, drop the defconfig as well.

 > What do you think?

Yeah, it isn't really nice. I was also hessitating between sticking to
gcc5 or add the patches, but as mainline support seems to be finally
moving forward for this SoC (and we already carried patches for building
with gcc 5.x), I went for the patches.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list