[Buildroot] [PATCH] package/gcc: 4.8.x to 5.x: backport a fix for building gcc with gcc-6

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun May 15 20:17:45 UTC 2016


Hello,

On Sun, 15 May 2016 22:01:12 +0200, Samuel Martin wrote:

> >>  package/gcc/4.8.5/130-build_gcc-5_with_gcc-6.patch | 153 +++++++++++++++++++++
> >>  package/gcc/4.9.3/130-build_gcc-5_with_gcc-6.patch | 153 +++++++++++++++++++++  
> >
> > Isn't it a bit odd to have a patch named "build_gcc-5_with_gcc-6" when
> > in fact you're fixing gcc 4.x ?  
> 
> Well, I just imported the patch from crosstool-ng without renaming it,
> but I did run the build test for the 6 versions of gcc Buildroot
> currently supports:
> - 4.7.4 (deprecated): patch not needed
> - 4.8.5: patch needed
> - 4.9.3: patch needed
> - 5.3.0: patch needed
> - 6.1.0: patch needed

gcc 6 cannot be built with gcc 6 without patches? Plus your patch did
not contain any patch against gcc 6.

> - arc-2015.12 (based on gcc-4.8.5): patch needed
> 
> If you prefer, I can rename them, then repost the patch...

Yes, renaming would be nicer. Just 130-fix-build-with-gcc-6.patch is
fine, for example.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list