<div class="gmail_quote">2012/4/2 Maxim Sditanov <span dir="ltr"><<a href="mailto:feniksa@rambler.ru">feniksa@rambler.ru</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote"><div class="im">2012/4/2 Jiri Denemark <span dir="ltr"><<a href="mailto:jdenemar@redhat.com" target="_blank">jdenemar@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>On Sat, Mar 31, 2012 at 21:35:50 -0400, Laine Stump wrote:<br>
> On 03/31/2012 07:56 AM, Daniel Veillard wrote:<br>
> >  I just made the second release candidate<br>
> ><br>
> >   <a href="ftp://libvirt.org/libvirt/libvirt-0.9.11-rc2.tar.gz" target="_blank">ftp://libvirt.org/libvirt/libvirt-0.9.11-rc2.tar.gz</a><br>
> ><br>
> > along with the rpms and tagged the git tree.<br>
> ><br>
> >  It seems to work okay in my limited testing. If all goes well I would<br>
> > probably push on Tuesday,<br>
> ><br>
><br>
> A gentoo user reported in irc (#virt on <a href="http://irc.oftc.net" target="_blank">irc.oftc.net</a>) earlier today that<br>
> builds were failing for him on a fresh checkout from git:<br>
><br>
>    <feniksa> hi, when i compile libvirt on my gentoo i get warning:<br>
><br>
>      cc1: warning: unrecognized command line option<br>
> "-Wno-suggest-attribute=const"<br>
>      cc1: warning: unrecognized command line option<br>
> "-Wno-suggest-attribute=pure"<br>
><br>
>    <feniksa> gcc (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) 4.5.3<br>
>    <feniksa> last part of conf: <a href="http://pastebin.com/gnT4Y2Ba" target="_blank">http://pastebin.com/gnT4Y2Ba</a><br>
>              and compile log <a href="http://pastebin.com/FcSwshzS" target="_blank">http://pastebin.com/FcSwshzS</a><br>
<br>
</div>It's important to note that those warnings never show up on their own. They<br>
are only printed in case there is something else the compiler warns about<br>
(libnl header issue covered by gentoo bug #366561 in this case). </blockquote></div><div><br>Yes, this warning present in gentoo libnl-1.1-r2 and patch doesn't present in gentoo main tree. <br>I will try to contact with gentoo maintainer and ask to make "some activity".<br>

 </div><div class="im"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">And I<br>
remember seeing it since these gcc options were introduced several releases<br>
ago.<br></blockquote></div><div><br>This option present in gcc 4.5.3 (i made test on hello world). No warning about unrecognized params with<br>another files. Also, other files compile without warning. You can see it on this part of log: <a href="http://pastebin.com/wPnLJ1Fx" target="_blank">http://pastebin.com/wPnLJ1Fx</a> (verbose build mode)<br>

I think, this is not problem of libvirt<br></div></div></blockquote></div><br>Good news. gentoo applied patch to upstream for libnl-1.1<br><br><a href="https://bugs.gentoo.org/show_bug.cgi?id=366561">https://bugs.gentoo.org/show_bug.cgi?id=366561</a><br>
<br>This patch will enable ability to build libvirt on gentoo with -Wwarning=error by default, without <span id="result_box" class="short_text" lang="en"><span class="hps">crutches</span></span><br><br>-- <br>With best wishes, Feniks Gordon Freeman<br>