On Thu, Apr 28, 2011 at 7:19 AM, Andrew Bradford <[email protected]> wrote:
> 2011/4/27 Aleksander Wabik <[email protected]>:
>>>2011/4/23 Aleksander Wabik <[email protected]>:
>>>> 3) Building kernel with gcc 4.6.0 fails in mips-specific code. The problem 
>>>> is caused by new warnings in gcc 4.6.0:
>> I attached the config file. It still fails when I have clean
>> environment - or in fact, the following environment:
>
> I've not had time yet to build this kernel but I will do this and let
> you know my findings.

Yep.  I get the same issue.  That's annoying...
cc1: all warnings being treated as errors

We're not the only ones finding this:
https://lkml.org/lkml/2011/3/9/229

Surprisingly, I built my most recent 2.6.38 ARM kernel with GCC 4.6.0
and didn't hit this.  I'd expect this to get fixed in upcoming kernel
releases, either by getting rid of the Werror=unused-but-set-variable
or by getting rid of those variables.  For now, getting rid of Werror
(what you did) is probably the best way.

-Andrew
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org

Reply via email to