<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 22, 2016 at 6:43 AM, Aaron Ballman <span dir="ltr"><<a href="mailto:aaron@aaronballman.com" target="_blank">aaron@aaronballman.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On Thu, Sep 22, 2016 at 9:41 AM, Teresa Johnson <<a href="mailto:tejohnson@google.com">tejohnson@google.com</a>> wrote:<br>
><br>
><br>
><br>
> On Thu, Sep 22, 2016 at 6:38 AM, Aaron Ballman <<a href="mailto:aaron@aaronballman.com">aaron@aaronballman.com</a>> wrote:<br>
>><br>
>> On Thu, Sep 22, 2016 at 9:34 AM, Teresa Johnson <<a href="mailto:tejohnson@google.com">tejohnson@google.com</a>> wrote:<br>
>> > Hi Aaron,<br>
>> ><br>
>> > I just went back to the bot, which had first failed with a process error<br>
>> > when I made my commit which is why I didn't see this error. It looks like it<br>
>> > is still failing with the same error:<br>
>> ><br>
>> > <a href="http://lab.llvm.org:8011/builders/clang-sphinx-docs/builds/16313/steps/docs-clang-html/logs/stdio" rel="noreferrer" target="_blank">http://lab.llvm.org:8011/<wbr>builders/clang-sphinx-docs/<wbr>builds/16313/steps/docs-clang-<wbr>html/logs/stdio</a><br>
>> > (that build has your fix).<br>
>> ><br>
>> > Unfortunately, I can't reproduce this locally, which is why I didn't see it<br>
>> > in my testing. I confirmed my build is using the same command line, so I can<br>
>> > only surmise that I must be using a different version of sphinx.<br>
>><br>
>> I run into the same problem -- I cannot reproduce it locally either.<br>
>> I've just hit this problem several times before and was speculatively<br>
>> fixing it. I have no idea how this bot is configured and why<br>
>> configuration is different. :-(<br>
>><br>
>> > AFAICT your change should have fixed this error. Any idea why it is still<br>
>> > giving it?<br>
>><br>
>> The option directives are really persnickety about how things are<br>
>> spelled. It's possible that it just doesn't like the "=blah" part at<br>
>> all. We could remove the :option: usage from the paragraph and leave<br>
>> the .. option:: directive in the title. That's another way I've solved<br>
>> this in the past.<br>
><br>
><br>
> Ok, I'll go ahead and do that. It's odd that it doesn't seem to be complaining about the -flto=thin reference a few lines below.<br>
<br>
</span>Thank you for taking care of it! Also, welcome to the world of Sphinx,<br>
where that's not odd, it's The Way Things Work. :-D Once Sphinx hits<br>
an error, it seems to stop reporting more errors.<br></blockquote><div><br></div><div>I only fixed the -flto=full reference (r282151) - will keep an eye on the bot and if it starts complaining about the -flto=thin reference next I will do the same there!</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="gmail-"><br>
> Do you know if the pages at <a href="http://clang.llvm.org/docs/" rel="noreferrer" target="_blank">http://clang.llvm.org/docs/</a> will automatically be refreshed once this is fixed?<br>
<br>
</span>I believe they should, yes.<br></blockquote><div><br></div><div>Ok, great, thanks</div><div><br></div><div>Teresa</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="gmail-HOEnZb"><font color="#888888"><br>
~Aaron<br>
</font></span><div class="gmail-HOEnZb"><div class="gmail-h5"><br>
><br>
> Teresa<br>
><br>
>><br>
>> ~Aaron<br>
>><br>
>> ><br>
>> > Thanks,<br>
>> > Teresa<br>
>> ><br>
>> ><br>
>> > On Thu, Sep 22, 2016 at 6:10 AM, Teresa Johnson <<a href="mailto:tejohnson@google.com">tejohnson@google.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> Thank you!<br>
>> >> Teresa<br>
>> >><br>
>> >> On Thu, Sep 22, 2016 at 5:15 AM, Aaron Ballman via cfe-commits<br>
>> >> <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br>
>> >>><br>
>> >>> Author: aaronballman<br>
>> >>> Date: Thu Sep 22 07:15:18 2016<br>
>> >>> New Revision: 282148<br>
>> >>><br>
>> >>> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=282148&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project?rev=282148&view=rev</a><br>
>> >>> Log:<br>
>> >>> Fixing sphinx build due to diagnostic:<br>
>> >>><br>
>> >>><br>
>> >>> /opt/llvm/build.attributes.<wbr>src/tools/clang/docs/<wbr>CommandGuide/clang.rst:338:<br>
>> >>> WARNING: unknown option: -flto=full<br>
>> >>><br>
>> >>> Modified:<br>
>> >>>     cfe/trunk/docs/CommandGuide/<wbr>clang.rst<br>
>> >>><br>
>> >>> Modified: cfe/trunk/docs/CommandGuide/<wbr>clang.rst<br>
>> >>> URL:<br>
>> >>> <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/CommandGuide/clang.rst?rev=282148&r1=282147&r2=282148&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/cfe/trunk/docs/<wbr>CommandGuide/clang.rst?rev=<wbr>282148&r1=282147&r2=282148&<wbr>view=diff</a><br>
>> >>><br>
>> >>> ==============================<wbr>==============================<wbr>==================<br>
>> >>> --- cfe/trunk/docs/CommandGuide/<wbr>clang.rst (original)<br>
>> >>> +++ cfe/trunk/docs/CommandGuide/<wbr>clang.rst Thu Sep 22 07:15:18 2016<br>
>> >>> @@ -328,7 +328,7 @@ Code Generation Options<br>
>> >>>    model can be overridden with the tls_model attribute. The compiler<br>
>> >>> will try<br>
>> >>>    to choose a more efficient model if possible.<br>
>> >>><br>
>> >>> -.. option:: -flto[=full,thin], -emit-llvm<br>
>> >>> +.. option:: -flto, -flto=full, -flto=thin, -emit-llvm<br>
>> >>><br>
>> >>>    Generate output files in LLVM formats, suitable for link time<br>
>> >>> optimization.<br>
>> >>>    When used with :option:`-S` this generates LLVM intermediate language<br>
>> >>><br>
>> >>><br>
>> >>> ______________________________<wbr>_________________<br>
>> >>> cfe-commits mailing list<br>
>> >>> <a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a><br>
>> >>> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-commits</a><br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> Teresa Johnson | Software Engineer | <a href="mailto:tejohnson@google.com">tejohnson@google.com</a> | <a href="tel:408-460-2413" value="+14084602413">408-460-2413</a><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Teresa Johnson | Software Engineer | <a href="mailto:tejohnson@google.com">tejohnson@google.com</a> | <a href="tel:408-460-2413" value="+14084602413">408-460-2413</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Teresa Johnson | Software Engineer | <a href="mailto:tejohnson@google.com">tejohnson@google.com</a> | <a href="tel:408-460-2413" value="+14084602413">408-460-2413</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><span style="font-family:times;font-size:medium"><table cellspacing="0" cellpadding="0"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top:2px solid rgb(213,15,37)">Teresa Johnson |</td><td nowrap style="border-top:2px solid rgb(51,105,232)"> Software Engineer |</td><td nowrap style="border-top:2px solid rgb(0,153,57)"> <a href="mailto:tejohnson@google.com" target="_blank">tejohnson@google.com</a> |</td><td nowrap style="border-top:2px solid rgb(238,178,17)"> 408-460-2413</td></tr></tbody></table></span></div>
</div></div>