[OE-core] [PATCH] gcc-4.9: fix build with gcc 6

Richard Purdie richard.purdie at linuxfoundation.org
Thu May 12 15:14:47 UTC 2016


On Thu, 2016-05-12 at 17:45 +0300, Ioan-Adrian Ratiu wrote:
> On Thu, 12 May 2016 07:38:00 -0700
> Khem Raj <raj.khem at gmail.com> wrote:
> 
> > On Thu, May 12, 2016 at 6:12 AM, Ioan-Adrian Ratiu <
> > adrian.ratiu at ni.com> wrote:
> > > Building gcc-cross 4.9.3 with gcc 6 fails with the following
> > > error:
> > > 
> > > error: 'const char* libc_name_p(const char*, unsigned int)'
> > > redeclared inline with 'gnu_inline' attribute
> > > 
> > > This is a backport of the upstream fix.  
> > 
> > I have seen couple of such patches being proposed. I was of the
> > opinion to drop 4.9 from master however if we still want to
> > refresh it the I would propose that we change the SRC_URI to point
> > to
> > latest on gcc-4_9-branch and remove any backports
> > we have done since 4.9.3 release. It can also be merged into
> > krogoth.
> > Then we can latest decide if we want to keep 4.9 in
> > 2.2 release or not. Would you be able to test such a patch
> 
> Actually I'm all for dropping gcc 4 from master. It's about time IMO.
> 
> I need this patch to fix the build in krogoth and was just waiting
> for
> feedback on master before I sent this patch there.
> 
> I'll resend for krogoth directly then :)

Since several people are hitting this and we have the patch, lets merge
it, then drop 4.9 as a followup.

Cheers,

Richard



More information about the Openembedded-core mailing list