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

Dan McGregor danismostlikely at gmail.com
Thu May 12 23:30:18 UTC 2016


On 12 May 2016 9:15 a.m., "Richard Purdie" <
richard.purdie at linuxfoundation.org> wrote:
>
> 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.
>

I also sent a patch for gcc 5.3. It has the same issue.

> Cheers,
>
> Richard
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160512/2b8d5b45/attachment-0002.html>


More information about the Openembedded-core mailing list