<div dir="ltr"><font face="georgia,serif"><br></font><br><div class="gmail_quote">On Wed, Apr 4, 2012 at 10:03 AM, Jonathan Ben Avraham <span dir="ltr"><<a href="mailto:yba@tkos.co.il">yba@tkos.co.il</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear linux-il colleagues,<br>
GCC 4.6 introduced many new warnings that cause -Werror to stop the compilation for some platforms, such as powerpc, in various files.<br></blockquote><div><br>Oh, I didn't even know they finally introduced -Werror... Good.<br>
<br>If it is in the way maybe KCFLAGS=-Wno-error or similar may serve as a workaround? Or KBUILD_ENABLE_EXTRA_GCC_CHECKS="" ?<br><br>Cf. Documentation/kbuild/kbuild.txt<br><br>You didn't say what kernel version - I just went to LXR for the latest. <br>
<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
My question is in general, is there somewhere where the relationship between kernel version and gcc version (or other compiler version) is made explicit?<br></blockquote><div><br>Not that I know of. The minimal versions of everything needed are in Documentation/Changes. I guess you are not interested in "minimal".<br>
<br>I would be very much surprised if the kernel could not be built with gcc-4.6 - this is stock on Fedora, so lots of people must be using it. Maybe not on PowerPC, though<br><br></div></div><br>-- <br>Oleg Goldshmidt | <a href="mailto:oleg@goldshmidt.org" target="_blank">oleg@goldshmidt.org</a><br>
</div>