[yocto] [OE-core] [PATCH 0/2] linux-yocto: fix gcc 4.6.0 compilation failures

Saul Wold sgw at linux.intel.com
Thu May 19 18:05:03 PDT 2011


On 05/18/2011 09:32 AM, Bruce Ashfield wrote:
> Repeating the patch contents here, since that's the
> whole story:
>
> Fixes bug: [YOCTO #1035]
> Fixes bug: [YOCTO #1036]
>
> Fixes gcc 4.6.0 compliation issues by importing the upstream change:
>
> Author: Michal Marek<mmarek at suse.cz>
> Date:   Mon May 2 12:13:01 2011 +0000
>
>      kbuild: Fix passing -Wno-* options to gcc 4.4+
>
>      Starting with 4.4, gcc will happily accept -Wno-<anything>  in the
>      cc-option test and complain later when compiling a file that has some
>      other warning. This rather unexpected behavior is intentional as per
>      http://gcc.gnu.org/PR28322, so work around it by testing for support of
>      the opposite option (without the no-). Introduce a new Makefile function
>      cc-disable-warning that does this and update two uses of cc-option in
>      the toplevel Makefile.
>
>      Reported-by: Stephen Rothwell<sfr at canb.auug.org.au>
>      Signed-off-by: Michal Marek<mmarek at suse.cz>
>      Tested-by: Stephen Rothwell<sfr at canb.auug.org.au>
>      Integrated-by: Bruce Ashfield<bruce.ashfield at windriver.com>
>
> :100644 100644 0ef00bd... 1d8e7e9... M  Documentation/kbuild/makefiles.txt
> :100644 100644 7bd863e0.. 74bac80... M  Makefile
> :100644 100644 ed2773e... ba25c44... M  scripts/Kbuild.include
>
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>    Branch: zedd/460
>    Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/460
>
> Thanks,
>      Bruce Ashfield<bruce.ashfield at windriver.com>
> ---
>
>
> Bruce Ashfield (2):
>    linux-yocto: fix gcc 4.6.0 compilation failures
>    linux-yocto/meta-yocto: fix gcc 4.6.0 compilation failures
>
>   .../recipes-kernel/linux/linux-yocto_git.bbappend  |   10 +++++-----
>   meta/recipes-kernel/linux/linux-yocto_git.bb       |   12 ++++++------
>   2 files changed, 11 insertions(+), 11 deletions(-)
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
Merged into oe-core and poky as appropriate!

In the future, can you split these into 2 pull requests one for oe-core 
and the other for poky, it will make tracking these changes easier and 
one won't get lost.

Thanks
	Sau!




More information about the yocto mailing list