[yocto] is there an actual "compiler-gcc6.h" patch?

Martin Jansa martin.jansa at gmail.com
Wed Jun 15 06:12:51 PDT 2016


On Wed, Jun 15, 2016 at 08:51:11AM -0400, Robert P. J. Day wrote:
> On Wed, 15 Jun 2016, Robert P. J. Day wrote:
> 
> >
> >   following on a post to the list from back on jun 1:
> >
> > https://www.mail-archive.com/yocto@yoctoproject.org/msg29568.html
> >
> > i figured it wouldn't be hard to find the place where that header file
> > was added to the master branch for (in this case) the 4.1 kernel, but
> > i just checked the git repo, master branch, and i don't see that file
> > there, but i see that a patch to add it was submitted back on june 2:
> >
> > https://github.com/Freescale/meta-fsl-arm/blob/master/recipes-kernel/linux/linux-ls1/Fix-the-compile-issue-under-gcc6.patch
> >
> > so what is the status of this? am i just reading this incorrectly? or
> > doing something wrong?
> 
>   i do realize that that patch referred to above was for the
> meta-fsl-arm repo, i just assumed it would work its way into master in
> short order. but i could be totally off-base here.

Backport this change to your kernel:

From cb984d101b30eb7478d32df56a0023e4603cba7f Mon Sep 17 00:00:00 2001
From: Joe Perches <joe at perches.com>
Date: Thu, 25 Jun 2015 15:01:02 -0700
Subject: [PATCH] compiler-gcc: integrate the various compiler-gcc[345].h files

As gcc major version numbers are going to advance rather rapidly in the
future, there's no real value in separate files for each compiler
version.

Deduplicate some of the macros #defined in each file too.

Neaten comments using normal kernel commenting style.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160615/9b5dab95/attachment.pgp>


More information about the yocto mailing list